troubleshooting Question

Create Web service based on given Soap Request

Avatar of Edward Joell
Edward JoellFlag for United States of America asked on
Web Languages and StandardsASP.NETWCF
3 Comments1 Solution1254 ViewsLast Modified:
I have a application which sends a soap request to a web service and receives a soap response using the System.Net.HTTPWebRequest object.  I am doing it this way because the way the web service is designed it must receive certain XML document correctly formatted in order to generate a response.  (Instructions on accessing the web service specify enclosing this XML document within the Soap-Env: Body element of a soap request.)  I have the user manual and the Interface Control Document, but I don't as yet have the URL to the web service.   The web service will return a specifically formatted XML document as the body of the soap response, and based on the values of the elements the web developers calling the web service will present the data.  I have created an application to submit the request and read the response.  However I  would like to test it.  But I can't do this at present without the URL.  So it was my thought to create a similar Web service that would be able to receive that soap request and return a response, only to realize I did not know how to build a web service based purely on a given Soap Request.  I looked around the internet and all I've been able to find is ways to access the soap requests and responses at various points in the life cycle of the web service, and how to write out a soap request to a log file.  I've found nothing on building a web service based on the format of a given request.  I've also found information about building proxy objects in the calling app based on a web reference or a WSDL, both of which presume the existence of the Web Service.  I am doing this in Visual Studio 2005.  I am currently using VB.net but the finished product will be in C#.  (I think better in VB). The Web Service is rewritten in JAVA ("not that there's anything wrong with that") and the example code for calling the Web service was in Java as well.  The XML request and response are classified For Official Use Only so I can't show them.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros