You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Peter Stockinger (JIRA)" <ji...@apache.org> on 2016/04/11 10:15:25 UTC

[jira] [Created] (AXIS2-5755) WebMethods from different classes with same name don't work

Peter Stockinger created AXIS2-5755:
---------------------------------------

             Summary: WebMethods from different classes with same name don't work
                 Key: AXIS2-5755
                 URL: https://issues.apache.org/jira/browse/AXIS2-5755
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.5.4
         Environment: Websphere Application Server 8.5 (fix-version 9)
Windows 7
            Reporter: Peter Stockinger
            Priority: Blocker


There appears to be a problem with the axis2 bundled in IBM Websphere AS 8.5 (I believe the axis2 version used is 1.5.4).

We are using JAX-WS annotated services and observe the following problem:

- Two webservices have both a webmethod with the same name but different parameter- and return-type (those also being from different namespaces).
- Deployment works, endpoints are published.
- If used (eg. with SoapUI) one of the webmethods will work, the other will fail with the fault "axis2ns1:Server - Internal Error".
- The log shows a javax.xml.bind.UnmarshalException, hinting that for whatever reason method A with parameter X expects parameter Y (which belongs to method B)

If the names of the webmethods are unique it works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org