WSDL+SOAP get resulting Xml

R

Rick

Fedex in the US is changing their method of dealing with their servers for
submitting packages, tracking , etc. The old method was a formatted Xml file
submitted via an HTTP Post. You then parsed the returned Xml that contained
the information requested.

Now they are phasing that out in favor of a web service using WSDL SOAP
messages. I took one of their VB.Net samples and have sucessfully tracked
packages and received Proof of Delivery Pdf files. However I have a problem
when I deal with Fedex tech support when I have questions about some of
their other services, for example Address Verification. They need to see
the actual SOAP message that I send and also their server response. I am
dealing with the NET objects that are based on their WSDL. They don't
support the sample programs from their developer web site. They are only
there as a convenience to get started.

I understand basically what is happing with the WSDL and the SOAP message
that is actually created and sent to their server, but I don't know how to
access the actual XML that is sent/received to Fedex.

I have monitored the TCP traffic when I send the Request, however since it
is to an HTTPS site, the information is encrypted.

Can anyone tell me how to get the underlying Xml?

Regards,

Rick
 
S

Scott M.

If they have a published WSDL, all you need to do is make a web reference to
the WSDL's URL in Visual Studio and Visual Stuio will generate a proxy class
for you to call their Web Methods. Getting your hands on the xml result is
as simple as capturing the return value from the Web Method call.

-Scott
 
M

Mr. Arnold

Rick said:
Fedex in the US is changing their method of dealing with their servers for
submitting packages, tracking , etc. The old method was a formatted Xml
file
submitted via an HTTP Post. You then parsed the returned Xml that
contained
the information requested.

Now they are phasing that out in favor of a web service using WSDL SOAP
messages. I took one of their VB.Net samples and have sucessfully tracked
packages and received Proof of Delivery Pdf files. However I have a
problem
when I deal with Fedex tech support when I have questions about some of
their other services, for example Address Verification. They need to see
the actual SOAP message that I send and also their server response. I am
dealing with the NET objects that are based on their WSDL. They don't
support the sample programs from their developer web site. They are only
there as a convenience to get started.

I understand basically what is happing with the WSDL and the SOAP message
that is actually created and sent to their server, but I don't know how to
access the actual XML that is sent/received to Fedex.

I have monitored the TCP traffic when I send the Request, however since it
is to an HTTPS site, the information is encrypted.

Can anyone tell me how to get the underlying Xml?


Look, I have worked with a few service providers that provide XML Web
services for data transmission. You're going to have to contact Fedex.
Someone there at Fedex Corporate on a development team or some such team
will tell you the how, to(s) and why, along with providing documentation,
XML schemas, etc, etc.

You need to contact Fedex, and tell someone that you're not getting the
information needed nor the support required to consume their service.


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4441 (20090919) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
R

Rick

thank you Scott,

That is the key that I needed.

I do have the WSDL and had already generated the proxy. I just needed to
serialize the request object using an XMLSerializer.

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top