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 "John Baker (JIRA)" <ax...@ws.apache.org> on 2005/07/20 17:36:52 UTC

[jira] Commented: (AXIS-2130) Axis does not generate wrapped wsdl properly

    [ http://issues.apache.org/jira/browse/AXIS-2130?page=comments#action_12316245 ] 

John Baker commented on AXIS-2130:
----------------------------------

Anne Manes says:

John,

Per the WSDL, SubmitGeneralServiceRequest is wrapped.

Pertinent bits:

      <xs:element name="SubmitGeneralServiceRequest">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="sr:SubmittedGeneralServiceRequest"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="SubmitGeneralServiceRequestResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="sr:ServiceRequestIdentification"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

  <wsdl:message name="SubmitGeneralServiceRequestInput">
    <wsdl:part name="parameters" element="wstypes:SubmitGeneralServiceRequest"/>
  </wsdl:message>
  <wsdl:message name="SubmitGeneralServiceRequestOutput">
    <wsdl:part name="parameters"
element="wstypes:SubmitGeneralServiceRequestResponse"/>
  </wsdl:message>

    <wsdl:operation name="SubmitGeneralServiceRequest">
      <wsdl:input message="tns:SubmitGeneralServiceRequestInput"/>
      <wsdl:output message="tns:SubmitGeneralServiceRequestOutput"/>
    </wsdl:operation>

    <wsdl:operation name="SubmitGeneralServiceRequest">
      <soap:operation
soapAction="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/actions/SubmitGeneralServiceRequest"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>

(I removed the erroroneous namespace attributes).

Per this description, the request message must submit the
<wstypes:SubmitGeneralServiceRequest> element, and the service must
return the
<wstypes:SubmitGeneralServiceRequestResponse> element.

Anne


> Axis does not generate wrapped wsdl properly
> --------------------------------------------
>
>          Key: AXIS-2130
>          URL: http://issues.apache.org/jira/browse/AXIS-2130
>      Project: Apache Axis
>         Type: Bug
>     Reporter: Davanum Srinivas
>  Attachments: correct.xml, incorrect.xml
>
> Email from John Baker: http://marc.theaimsgroup.com/?l=axis-user&m=112185246121229&w=2
> WSDL file: http://www.javasystemsolutions.com/serviceRequestConnector.wsdl

-- 
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