[ http://issues.apache.org/jira/browse/AXIS-1735?page=comments#action_63677 ] Simon Fell commented on AXIS-1735: ----------------------------------
One thing to be aware of with this is that many tools, most noteably .NET can't handle messages with mixed encodings, the entire message needs to be rpc/enc or doc/lit. So if you have a message with doc/lit headers and an rpc/enc body, .NET won't be able to handle it. > WS-I BP R2716, R2726 conformance > -------------------------------- > > Key: AXIS-1735 > URL: http://issues.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://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira