[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

Re: Does the message match the WSDL?

Dino Chiesa [Microsoft]

6/1/2004 10:14:00 PM

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-ENV:encodingStyle="http://www.w3.org/2001/06/soap-enco...
xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst...
> xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-enco...
> xmlns:SOAP-ENV="http://www.w3.org/2001/06/soap-enve...
> xmlns:xsd="http://www.w3.org/2001/XMLSc...><SOAP-ENV:Header>...
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-inst...
> xmlns:xsd="http://www.w3.org/2001/XMLSc...
> xmlns:apache="http://xml.apache.org/xml-...
> xmlns:SOAP-ENV="http://www.w3.org/2001/06/soap-enve...
> xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-enco...
>
SOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-enco...><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/w...
xmlns:soap="http://schemas.xmlsoap.org/wsdl/s...
xmlns:xsd="http://www.w3.org/2001/XMLSc... xmlns:FFE="FFE"
targetNamespace="FFE" name="FFE"><types><xsd:schema targetNamespace="FFE"
xmlns="FFE" xmlns:xsd="http://www.w3.org/2001/XMLSc...
xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-enco...
xmlns:wsdl="http://schemas.xmlsoap.org/w...
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:element 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"/><...
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>