Does anyone know how to get the XML request or response when using the FedEx WSDL? I have been trying to sort it out for weeks and have no clue on how to pull it off.
Anyone? If more info is needed please let me know.
I wouldn't try it with asp, Visual Studio (all versions) create a proxy class automatically, you just need to type in the address. That's how I would do it.
BTW, a lot of our experts search for questions that have not received replies, so bumping a thread (Anyone?) often usually backfires. It is considered appropriate on this forum to ask an expert to contribute (via private message) if no one answers your question in a timely manner.
I more or less need to check what is being sent to the FedEx server to make sure everything is correct... I am not sure how I would go about that with what you sent.
I more or less need to check what is being sent to the FedEx server to make sure everything is correct... I am not sure how I would go about that with what you sent.
Sorry, I didn't try to be very clear. I guess at the heart I am saying that I wouldn't even attempt it with Classic ASP. If you were dead-set on it, you could go to the web service site and see a sample request. That would show exactly what needs to be sent for any request.
I personally would not try it with Classic ASP since .NET has support for web services built in. In Visual studio (I use Visual C# Express, but every version has this feature) select "add reference" and on the first page of the wizard you select "Web Reference" and VS does everything else for you, and you can simply reference any part of the web service as if it was a function in your program.
Even if I was doing it in classic ASP, I would make a proxy class to handle the actual web service communication. If you don't want Visual studio you can make a web service proxy from the command line (google "web service proxy", the app that makes the proxy should be on most PCs - it's not too hard, but I don't memorize the steps). Then you just need to get your ASP page to interact with the proxy. I'm not sure how that goes but if you decide to go that direction, let me know and I'll see if I can help. It shouldn't be more than a couple lines of code.
I am actually doing this in 2.0. I must have posted to the wrong community area. Everything works as far as the service goes. I did use the wizard when I created the web references, but really just wanted to copy the XML being sent over, not just a listing of the values I am sending. I am using VS 2005 and did not see anything about web references in that. I added a new item, selected Web Service, and added the services from there.
I am actually doing this in 2.0. I must have posted to the wrong community area. Everything works as far as the service goes. I did use the wizard when I created the web references, but really just wanted to copy the XML being sent over, not just a listing of the values I am sending. I am using VS 2005 and did not see anything about web references in that. I added a new item, selected Web Service, and added the services from there.
Let me see if I understand. You are using ASP.NET (I have moved this to the ASP.NET forum. ASP is a very different technology from ASP.NET and any answer in one would definitely not work in the other) and need to access a webservice. You have followed the basic steps but are not getting the response as expected. You believe the request is being sent improperly. You want to view the actual request XML so you can see where it is going wrong. Is that right?
Comment