[jira] Reopened: (COMMONS-30) No infomation about soap headers of a operation in the sig model

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (COMMONS-30) No infomation about soap headers of a operation in the sig model

JIRA jira@wso2.org
     [ http://www.wso2.org/jira/browse/COMMONS-30?page=all ]

Buddhika Semasinghe reopened COMMONS-30:
----------------------------------------

             
I tested with the following WSDL whether the sig model contains information about soap headers but I could not found any information about soap headers in it.There may be an issue when converting the WSDL 1.1 to WSDL 2.O using  wsdl11to20.xsl10.xsl or ???



<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:tns="http//mysite.com/myservice.wsdl"
             xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
             xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
             xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:s="http://www.w3.org/2001/XMLSchema"
             xmlns="http://schemas.xmlsoap.org/wsdl/"
             xmlns:partns="http//mysite.com/myservice.xsd"
             targetNamespace="http//mysite.com/myservice.wsdl">
    <types>
        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    xmlns:tns="http//mysite.com/myservice.xsd"
                    xmlns:tns1="http//mysite.com/myservice1.xsd"
                    targetNamespace="http//mysite.com/myservice.xsd"
                    elementFormDefault="qualified"
                    attributeFormDefault="unqualified" version="1.0">
            <s:complexType name="OperationStatusType">
                <s:sequence>
                    <s:element name="successFlag" type="s:boolean"/>
                    <s:element name="messageLevel" type="s:string"/>
                    <s:element name="messageCode" type="s:string"/>
                    <s:element name="message" type="s:string"/>
                </s:sequence>
            </s:complexType>
            <s:element name="OperationStatusElement" type="tns:OperationStatusType"/>
            <s:element name="UploadRequestElement">
                <s:complexType>
                    <s:sequence>
                        <s:element name="sessiontoken" type="s:string"/>
                        <s:element name="trackingnumber" type="s:string"/>
                        <s:element name="version" type="s:int"/>
                    </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="IsUploadAllowedRequestElement">
                <s:complexType>
                    <s:sequence>
                        <s:element name="SessionToken" type="s:string"></s:element>
                        <s:element name="TrackingNumber" type="s:string"></s:element>
                        <s:element name="Version" type="s:int"></s:element>
                    </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="MetadataMessage">
                <s:complexType>
                    <s:sequence>
                        <s:element name="param1" type="s:string"/>
                    </s:sequence>
                    <s:attribute name="attribute1" type="s:int"/>
                </s:complexType>
            </s:element>
        </xsd:schema>
    </types>
    <message name="UploadRequest">
        <part name="uploadrequest" element="partns:UploadRequestElement"></part>
    </message>
    <message name="UploadResponse">
        <part name="uploadoperationstatus" element="partns:OperationStatusElement"></part>
    </message>
    <message name="IsUploadAllowedRequest">
        <part name="uploadcheckrequest" element="partns:IsUploadAllowedRequestElement"></part>
    </message>
    <message name="IsUploadAllowedResponse">
        <part name="uploadcheckoperationstatus" element="partns:OperationStatusElement"></part>
    </message>
    <message name="MetadataMessage">
        <part name="metadata" element="partns:MetadataMessage"></part>
    </message>
    <portType name="MyServicePortType">
        <operation name="Upload">
            <input message="tns:UploadRequest"></input>
            <output message="tns:UploadResponse"></output>
        </operation>
        <operation name="IsUploadAllowed">
            <input message="tns:IsUploadAllowedRequest"></input>
            <output message="tns:IsUploadAllowedResponse"></output>
        </operation>
    </portType>
    <binding name="MyServiceBinding" type="tns:MyServicePortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="Upload">
            <soap:operation soapAction="" style="document"/>
            <input>
                <soap:body use="literal"/>
                <soap:header message="tns:MetadataMessage" part="metadata" use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="IsUploadAllowed">
            <soap:operation soapAction="" style="document"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>
    <service name="MyService">
        <port name="MyServicePort" binding="tns:MyServiceBinding">
            <soap:address location="http://localhost:8080/MyService">
            </soap:address>
        </port>
    </service>
</definitions>

> No infomation about soap headers of  a operation in the sig model
> -----------------------------------------------------------------
>
>                 Key: COMMONS-30
>                 URL: http://www.wso2.org/jira/browse/COMMONS-30
>             Project: WSO2 Commons
>          Issue Type: New Feature
>          Components: dynamic-codegen
>            Reporter: Buddhika Semasinghe
>         Assigned To: Jonathan Marsh
>
> It is better to have information(type information ) of the soap header of the operation  in sig model since in WSF-PHP to create the soap envelope  we are processing the Sig model

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Commons-dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev