axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Gaiser (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4686) SOAP 1.1 Binding not WSI Basic Profile 1.1 compliant
Date Wed, 21 Apr 2010 07:38:51 GMT
SOAP 1.1 Binding not WSI Basic Profile 1.1 compliant
----------------------------------------------------

                 Key: AXIS2-4686
                 URL: https://issues.apache.org/jira/browse/AXIS2-4686
             Project: Axis2
          Issue Type: Bug
          Components: codegen, wsdl
    Affects Versions: 1.5, 1.5.1
            Reporter: Matthias Gaiser


I use Java2WSDL to generate a wsdl for my java code. I have a java class with two methods
which do not have any input parameters. Java2wsdl generates empty messages for them, so that
the SOAP body does not include any elements.
I checked the generated wsdl for the SOAP 1.1 binding with the WSI test tool for conformance
with the WSI Basic Profile 1.1 and it did not validate successfully:
Assertion: BP2120
Result failed 
Failure Message A binding has operations that are not unique. 

I then maually corrected the wsdl by adding an empty element with the function name inside
the message. This enabled the wsdl to successfully validate against Basic Profile 1.1.

I will upload a zip with my test java class, build script with the java2wsdl, the original
wsdl and my corrected wsdl.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message