[
https://issues.apache.org/jira/browse/AXIS2-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646305#action_12646305
]
Nikhil Thaker commented on AXIS2-4126:
--------------------------------------
Dims,
I am adding number of test cases that will show the usage, below is a example
of how this new constant will be used
@WebServiceProvider(serviceName="SOAPBindingProviderService",
targetNamespace="http://SOAPBindingProvider.provider.jaxws.axis2.apache.org",
portName="SOAPBindingProviderPort")
@ServiceMode(value=Service.Mode.MESSAGE)
@BindingType(Constants.SOAP_HTTP_BINDING)
public class SOAPBindingProvider implements Provider<SOAPMessage> {
private static final String SOAP11_NS_URI =
"http://schemas.xmlsoap.org/soap/envelope/";
private static final String SOAP12_NS_URI =
"http://www.w3.org/2003/05/soap-envelope";
.....
Notice how the new @BindingType is using the new constant. This indicates that
the Provider can now accept both soap11 and soap12 messages.
Thanks,
Nikhil.
> Remove SOAP Version Restriction from JAX-WS Provider Endpoint
> -------------------------------------------------------------
>
> Key: AXIS2-4126
> URL: https://issues.apache.org/jira/browse/AXIS2-4126
> Project: Axis 2.0 (Axis2)
> Issue Type: New Feature
> Components: jaxws
> Reporter: Nikhil Thaker
> Assignee: Nikhil Thaker
> Attachments: apache_svn_patch.txt
>
>
> This JIRA is for removing SOAP Version Restriction from Provider Endpoints.
> Currently a JAX-WS Provider Endpoint can support a SOAP11 or SOAP 12 call
> based on the soap version defined in the binding type annotation. With this
> JIRA I am introducing a new constant that SOAP_HTTP_BINDING can be used in
> @BindingType annotation, when this new constant is used the
> javax.xml.ws.Provider java endpoints will cater to SOAP11 and SOAP12 messages.
> This JIRA will also add proper validation checks to support the new constant,
> for example it will ensure that a SOAP Fault will be thrown when a response
> of soap12 is sent on a soap11 request etc. This JIRA also adds code to update
> various validation checks for new constant during web services deployment.
> This JIRA also adds test cases in JAXWS-Integration module to test various
> scenarios for this new constants and validations.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]