You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by "Matthias Gaiser (JIRA)" <ji...@apache.org> on 2010/05/10 17:22:18 UTC

[jira] Commented: (AXIS2-4686) SOAP 1.1 Binding not WSI Basic Profile 1.1 compliant

    [ https://issues.apache.org/jira/browse/AXIS2-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865803#action_12865803 ] 

Matthias Gaiser commented on AXIS2-4686:
----------------------------------------

I agree, one message with zero parts is allowed.

But if you have multiple operations which use request messages with no parts, it can not be distinguished with the body which action to take and therefore violates the Basic Profile 1.1.

Please have a look at:
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#R2710

> 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, 1.5
>            Reporter: Matthias Gaiser
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: testws.zip
>
>
> 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