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 "Jongjin Choi (JIRA)" <ax...@ws.apache.org> on 2004/12/20 15:39:19 UTC

[jira] Updated: (AXIS-1735) WS-I BP R2716, R2726 conformance

     [ http://nagoya.apache.org/jira/browse/AXIS-1735?page=history ]

Jongjin Choi updated AXIS-1735:
-------------------------------

    Attachment: fromJava-Emitter-patch.txt

o.a.axis.wsdl.fromJava.Emitter patch

> WS-I BP R2716, R2726 conformance
> --------------------------------
>
>          Key: AXIS-1735
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1735
>      Project: Axis
>         Type: Improvement
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Win2000 / JDK 1.4.2_05
>     Reporter: Jongjin Choi
>     Priority: Minor
>  Attachments: fromJava-Emitter-patch.txt
>
> Accroding to WS-I BP 1.0 R2716, R2726, 
> the wsdlsoap:header, wsdlsoap:soapfault extensibility element of WSDL 
> should not have the namespace attribute and should have the use attribute value as 'literal'.
> Although WS-I BP 1.0 does not address the rpc-encoded case, I think, this should be applied to rpc-encoded cases.
> Currently, the generated wsdl from Axis looks like (document-literal) :
> <wsdl:binding name="SOAPHeaderTestSoapBinding" type="impl:SOAPHeaderTest">
>   <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>   <wsdl:operation name="testHeaderInOut">
>     <wsdlsoap:operation soapAction="" /> 
>     <wsdl:input name="testHeaderInOutRequest">
>       <wsdlsoap:body parts="parameters" use="literal" /> 
>       <wsdlsoap:header message="impl:testHeaderInOutRequest" 
> 	      namespace="urn:SOAPHeaderTestService" part="in0" use="literal" /> 
>     </wsdl:input>
>     <wsdl:output name="testHeaderInOutResponse">
>       <wsdlsoap:body use="literal" /> 
>     </wsdl:output>
>   </wsdl:operation>
> </wsdl:binding>
> The wsdlsoap:header has namespace attribute :
>       <wsdlsoap:header message="impl:testHeaderInOutRequest" 
> 	      namespace="urn:SOAPHeaderTestService" part="in0" use="literal" /> 
> But I think it should be for encoded and literal use :
>       <wsdlsoap:header message="impl:testHeaderInOutRequest" 
> 	      part="in0" use="literal" /> 
> The patch will be attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira