Does the message match the WSDL?

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Does the message match the WSDL?

    A vendor that I must integrate to has provided me with an example message and a WSDL file. I don't believe they have accurately specified the WSDL. Can anyone confirm this

    Example Request Message ...

    <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:namesp4="http://xml.apache.org/xml-soap"
    SOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-encoding"
    xmlns:SOAP-ENV="http://www.w3.org/2001/06/soap-envelope"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><IncID xsi:type="xsd:string"></IncID><IncRef xsi:type="xsd:string"></IncRef><SeqNum xsi:type="xsd:int"></SeqNum><FFEWorkId xsi:type="xsd:string"></FFEWorkId><MsgCreateTime xsi:type="xsd:string"></MsgCreateTime></SOAP-ENV:Header><SOAP-ENV:Body><FFE:UpdateTCSIncident xmlns:FFE="FFE"><UpdateTCSIncidentStc xsi:type="namesp4:SOAPStruct"><IncidentStc xsi:type="namesp4:SOAPStruct"><IncID xsi:type="xsd:string"></IncID><IncRef xsi:type="xsd:string"></IncRef><SeqNum xsi:type="xsd:int"></SeqNum><FFEWorkId xsi:type="xsd:string"></FFEWorkId><LastUpdTime xsi:type="xsd:string"></LastUpdTime></IncidentStc><ResourceStc xsi:type="namesp4:SOAPStruct"><PayrollNum xsi:type="xsd:string"></PayrollNum><ResID xsi:type="xsd:string"></ResID><FFEStatCode xsi:type="xsd:string"></FFEStatCode><FFEStatName xsi:type="xsd:string"></FFEStatName><ETA xsi:type="xsd:string"></ETA><ETR xsi:type="xsd:string"></ETR><AOS xsi:type="xsd:string"></AOS></ResourceStc><Notes SOAP-ENC:arrayType="namesp4:SOAPStruct[2]" xsi:type="SOAP-ENC:Array"><item xsi:type="namesp4:SOAPStruct"><LogCatID xsi:type="xsd:string"></LogCatID><LogSubCatID xsi:type="xsd:string"></LogSubCatID><LogComment xsi:type="xsd:string"></LogComment></item><item xsi:type="namesp4:SOAPStruct"><LogCatID xsi:type="xsd:string"></LogCatID><LogSubCatID xsi:type="xsd:string"></LogSubCatID><LogComment xsi:type="xsd:string"></LogComment></item></Notes></UpdateTCSIncidentStc></FFE:UpdateTCSIncident></SOAP-ENV:Body></SOAP-ENV:Envelope

    Example response message...

    <?xml version="1.0"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:apache="http://xml.apache.org/xml-soap"
    xmlns:SOAP-ENV="http://www.w3.org/2001/06/soap-envelope"
    xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-encoding"
    SOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-encoding"><SOAP-ENV:Body><FFE:UpdateTCSIncidentResponse xmlns:FFE="FFE"><UpdateTCSIncidentResponseStc SOAP-ENC:arrayType="apache:SOAPStruct[1]" xsi:type="SOAP-ENC:Array"><item xsi:type="apache:SOAPStruct"><status xsi:type="xsd:int">0</status><Error xsi:type="xsd:string"></Error></item></UpdateTCSIncidentResponseStc></FFE:UpdateTCSIncidentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope

    WSDL...

    <?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:FFE="FFE" targetNamespace="FFE" name="FFE"><types><xsd:schema targetNamespace="FFE" xmlns="FFE" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-encoding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="qualified"><xsd:complexType name="IncidentStcType"><xsd:all><xsd:element name="IncID" type="xsd:string"/><xsd:element name="IncRef" type="xsd:string"/><xsd:element name="SeqNum " type="xsd:string"/><xsd:element name="FFEWorkId" type="xsd:string"/><xsd:element name="LastUpdTime " type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType name="ResourceStcType"><xsd:all><xsd:element name="PayrollNum" type="xsd:string"/><xsd:element name="ResID" type="xsd:string"/><xsd:element name="FFEStatCode" type="xsd:string"/><xsd:element name="FFEStatName" type="xsd:string"/><xsd:element name="ETA" type="xsd:string"/><xsd:element name="ETR" type="xsd:string"/><xsd:element name="AOS" type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType name="NoteItemType"><xsd:all><xsd:element name="LogCatID" type="xsd:string"/><xsd:element name="LogSubCatID" type="xsd:string"/><xsd:element name="LogComment" type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType name="NotesType"><xsd:all><xsd:element name="Notes" type="FFE:NoteItemType"/></xsd:all></xsd:complexType><xsd:complexType name="UpdateTCSIncidentStcType"><xsd:all><xsd:elem ent name="IncidentStc" type="FFE:IncidentStcType"/><xsd:element name="ResourceStc" type="FFE:ResourceStcType"/><xsd:element name="Notes" type="FFE:NotesType"/></xsd:all></xsd:complexType><xsd:complexType name="UpdateTCSIncidentType"><xsd:all><xsd:element name="UpdateTCSIncidentStc" type="FFE:UpdateTCSIncidentStcType"/></xsd:all></xsd:complexType><xsd:complexType name="UpdateTCSIncidentResponseStcType"><xsd:all>< xsd:element name="Status" type="xsd:int"/></xsd:all></xsd:complexType><xsd:complexType name="UpdateTCSIncidentResponseType"><xsd:all><xsd :element name="UpdateTCSIncidentResponseStc" type="FFE:UpdateTCSIncidentResponseStcType"/></xsd:all></xsd:complexType></xsd:schema></types><message name="UpdateTCSIncident"><part name="UpdateTCSIncident" type="FFE:UpdateTCSIncidentType"/></message><message name="UpdateTCSIncidentResponse"><part name="UpdateTCSIncidentResponse" type="FFE:UpdateTCSIncidentResponseType"/></message><portType name="FFEPortType"><operation name="UpdateTCSIncident"><input message="FFE:UpdateTCSIncident"/><output message="FFE:UpdateTCSIncidentResponse"/></operation></portType><binding name="FFEBinding" type="FFE:FFEPortType"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="UpdateTCSIncident"><soap:operation soapAction="http://nslivdev1:8080/FFE"/><input><soap:body use="literal"/></input><output><soap:body use="literal"/></output></operation></binding><service name="FFEService"><port name="FFEPort" binding="FFE:FFEBinding"><soap:address location="http://nslivdev1:8080/FFE"/></port></service></definitions>
    RH Guest

  2. Similar Questions and Discussions

    1. Unable to load WSDL. If currently online, please verifythe URI and/or format of the WSDL
      Hello, I'm using Flex 2.0 Beta 3 with Flash Player 9. http://mywsdlurl)"] at">http://mywsdlurl)"</a> mx.rpc.soap::WSDLParser/::dispatchFault()...
    2. WSDL error on Flex app running on JBoss using WSDL to Weblogic
      Hello, Not sure if my last post made it so sorry if this ends up being a duplicate post. I have a Flex 1.5 app running on JBoss 4.0.2 which uses...
    3. (OT) ScanMail Message: To Sender Match eManager setting and take actio n.
      Far be it from me to tell someone else how to configure their email filter, but maybe they should think about putting the subject line of the email...
    4. ScanMail Message: To Sender Match eManager setting and take actio n.
      On Dec 11, 2003, at 4:14 AM, System Attendant wrote: can someone explain this? ciao drieux
    5. Error message from wsdl.exe
      Hello, I have a problem, and thats is a long posting. Thanks in advance for helping !!! I try to generate server classes from two wsdl files...
  3. #2

    Default Re: Does the message match the WSDL?

    Looks to me like the messages are SOAP encoded, while the WSDL specifies
    Literal encoding.
    They don't match.

    -Dino


    "RH" <anonymous@discussions.microsoft.com> wrote in message
    news:31419570-BAC9-420F-8F22-15AFA61F903C@microsoft.com...
    > A vendor that I must integrate to has provided me with an example message
    and a WSDL file. I don't believe they have accurately specified the WSDL.
    Can anyone confirm this?
    >
    > Example Request Message ....
    >
    > <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
    xmlns:namesp4="http://xml.apache.org/xml-soap"
    > SOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-encoding"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    > xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-encoding"
    > xmlns:SOAP-ENV="http://www.w3.org/2001/06/soap-envelope"
    > xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><IncID
    xsi:type="xsd:string"></IncID><IncRef xsi:type="xsd:string"></IncRef><SeqNum
    xsi:type="xsd:int"></SeqNum><FFEWorkId
    xsi:type="xsd:string"></FFEWorkId><MsgCreateTime
    xsi:type="xsd:string"></MsgCreateTime></SOAP-ENV:Header><SOAP-ENV:Body><FFE:
    UpdateTCSIncident xmlns:FFE="FFE"><UpdateTCSIncidentStc
    xsi:type="namesp4:SOAPStruct"><IncidentStc
    xsi:type="namesp4:SOAPStruct"><IncID xsi:type="xsd:string"></IncID><IncRef
    xsi:type="xsd:string"></IncRef><SeqNum
    xsi:type="xsd:int"></SeqNum><FFEWorkId
    xsi:type="xsd:string"></FFEWorkId><LastUpdTime
    xsi:type="xsd:string"></LastUpdTime></IncidentStc><ResourceStc
    xsi:type="namesp4:SOAPStruct"><PayrollNum
    xsi:type="xsd:string"></PayrollNum><ResID
    xsi:type="xsd:string"></ResID><FFEStatCode
    xsi:type="xsd:string"></FFEStatCode><FFEStatName
    xsi:type="xsd:string"></FFEStatName><ETA xsi:type="xsd:string"></ETA><ETR
    xsi:type="xsd:string"></ETR><AOS
    xsi:type="xsd:string"></AOS></ResourceStc><Notes
    SOAP-ENC:arrayType="namesp4:SOAPStruct[2]" xsi:type="SOAP-ENC:Array"><item
    xsi:type="namesp4:SOAPStruct"><LogCatID
    xsi:type="xsd:string"></LogCatID><LogSubCatID
    xsi:type="xsd:string"></LogSubCatID><LogComment
    xsi:type="xsd:string"></LogComment></item><item
    xsi:type="namesp4:SOAPStruct"><LogCatID
    xsi:type="xsd:string"></LogCatID><LogSubCatID
    xsi:type="xsd:string"></LogSubCatID><LogComment
    xsi:type="xsd:string"></LogComment></item></Notes></UpdateTCSIncidentStc></F
    FE:UpdateTCSIncident></SOAP-ENV:Body></SOAP-ENV:Envelope>
    >
    > Example response message....
    >
    > <?xml version="1.0"?><SOAP-ENV:Envelope
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    > xmlns:apache="http://xml.apache.org/xml-soap"
    > xmlns:SOAP-ENV="http://www.w3.org/2001/06/soap-envelope"
    > xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-encoding"
    >
    SOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-encoding"><SOAP-ENV:B
    ody><FFE:UpdateTCSIncidentResponse
    xmlns:FFE="FFE"><UpdateTCSIncidentResponseStc
    SOAP-ENC:arrayType="apache:SOAPStruct[1]" xsi:type="SOAP-ENC:Array"><item
    xsi:type="apache:SOAPStruct"><status xsi:type="xsd:int">0</status><Error
    xsi:type="xsd:string"></Error></item></UpdateTCSIncidentResponseStc></FFE:Up
    dateTCSIncidentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
    >
    > WSDL....
    >
    > <?xml version="1.0" encoding="UTF-8"?><definitions
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:FFE="FFE"
    targetNamespace="FFE" name="FFE"><types><xsd:schema targetNamespace="FFE"
    xmlns="FFE" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-encoding"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    elementFormDefault="qualified"><xsd:complexType
    name="IncidentStcType"><xsd:all><xsd:element name="IncID"
    type="xsd:string"/><xsd:element name="IncRef"
    type="xsd:string"/><xsd:element name="SeqNum "
    type="xsd:string"/><xsd:element name="FFEWorkId"
    type="xsd:string"/><xsd:element name="LastUpdTime "
    type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType
    name="ResourceStcType"><xsd:all><xsd:element name="PayrollNum"
    type="xsd:string"/><xsd:element name="ResID" type="xsd:string"/><xsd:element
    name="FFEStatCode" type="xsd:string"/><xsd:element name="FFEStatName"
    type="xsd:string"/><xsd:element name="ETA" type="xsd:string"/><xsd:element
    name="ETR" type="xsd:string"/><xsd:element name="AOS"
    type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType
    name="NoteItemType"><xsd:all><xsd:element name="LogCatID"
    type="xsd:string"/><xsd:element name="LogSubCatID"
    type="xsd:string"/><xsd:element name="LogComment"
    type="xsd:string"/></xsd:all></xsd:complexType><xsd:complexType
    name="NotesType"><xsd:all><xsd:element name="Notes"
    type="FFE:NoteItemType"/></xsd:all></xsd:complexType><xsd:complexType
    name="UpdateTCSIncidentStcType"><xsd:all><xsd:elem ent name="IncidentStc"
    type="FFE:IncidentStcType"/><xsd:element name="ResourceStc"
    type="FFE:ResourceStcType"/><xsd:element name="Notes"
    type="FFE:NotesType"/></xsd:all></xsd:complexType><xsd:complexType
    name="UpdateTCSIncidentType"><xsd:all><xsd:element
    name="UpdateTCSIncidentStc"
    type="FFE:UpdateTCSIncidentStcType"/></xsd:all></xsd:complexType><xsd:comple
    xType name="UpdateTCSIncidentResponseStcType"><xsd:all>< xsd:element
    name="Status" type="xsd:int"/></xsd:all></xsd:complexType><xsd:complexType
    name="UpdateTCSIncidentResponseType"><xsd:all><xsd :element
    name="UpdateTCSIncidentResponseStc"
    type="FFE:UpdateTCSIncidentResponseStcType"/></xsd:all></xsd:complexType></x
    sd:schema></types><message name="UpdateTCSIncident"><part
    name="UpdateTCSIncident"
    type="FFE:UpdateTCSIncidentType"/></message><message
    name="UpdateTCSIncidentResponse"><part name="UpdateTCSIncidentResponse"
    type="FFE:UpdateTCSIncidentResponseType"/></message><portType
    name="FFEPortType"><operation name="UpdateTCSIncident"><input
    message="FFE:UpdateTCSIncident"/><output
    message="FFE:UpdateTCSIncidentResponse"/></operation></portType><binding
    name="FFEBinding" type="FFE:FFEPortType"><soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/><operation
    name="UpdateTCSIncident"><soap:operation
    soapAction="http://nslivdev1:8080/FFE"/><input><soap:body
    use="literal"/></input><output><soap:body
    use="literal"/></output></operation></binding><service
    name="FFEService"><port name="FFEPort"
    binding="FFE:FFEBinding"><soap:address
    location="http://nslivdev1:8080/FFE"/></port></service></definitions>


    Dino Chiesa [Microsoft] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139