axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jongjin Choi (JIRA)" <>
Subject [jira] Created: (AXIS-1735) WS-I BP R2716, R2726 conformance
Date Mon, 20 Dec 2004 14:39:16 GMT
WS-I BP R2716, R2726 conformance

         Key: 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="" />

  <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:output name="testHeaderInOutResponse">
      <wsdlsoap:body use="literal" /> 

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:
If you want more information on JIRA, or have a bug to report see:

View raw message