Ask a Question related to ASP.NET Web Services, Design and Development.
-
RH #1
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
-
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()... -
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... -
(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... -
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 -
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... -
Dino Chiesa [Microsoft] #2
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...and a WSDL file. I don't believe they have accurately specified the WSDL.> A vendor that I must integrate to has provided me with an example message
Can anyone confirm this?xmlns:namesp4="http://xml.apache.org/xml-soap">
> Example Request Message ....
>
> <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelopexmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> SOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-encoding"xsi:type="xsd:string"></IncID><IncRef xsi:type="xsd:string"></IncRef><SeqNum> 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: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>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> Example response message....
>
> <?xml version="1.0"?><SOAP-ENV:EnvelopeSOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-encoding"><SOAP-ENV:B> 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"
>
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>xmlns="http://schemas.xmlsoap.org/wsdl/">
> WSDL....
>
> <?xml version="1.0" encoding="UTF-8"?><definitions
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



Reply With Quote

