WSDL Redefining a string parameter, is there a way?  
Author Message
KDunipace





PostPosted: ASMX Web Services and XML Serialization, WSDL Redefining a string parameter, is there a way? Top

I am working on a project where I have a general web service call that accepts 2 string parameters for input and 2 string parameters as the returned result. However, I am defining a large number of API's behind the main exposed web service call that interprets and defines the strings differently dependent on the need. In order to make it easier for others to interface to my service, I was trying to find some way to add these definition to the proxy class...my initial attempt was through the WSDL. I have successfully been able to create a close of the actual service WSDL different definitions of the string parameters but my calls using the proxy created from my cloned WSDL fail with an HTTP: 400 error. Is there any way around this or any other ideas on how to accomplish this


.NET Development17  
 
 
Alex DeJarnatt - MSFT





PostPosted: ASMX Web Services and XML Serialization, WSDL Redefining a string parameter, is there a way? Top

Hi thanks for posting, but I have to admit that I don't fully understand the question. Maybe you could post an example of what you're trying to accomplish Also, it might be useful to get the actual error contained in the 400 response -- the 400 means that the client sent something the server didn't like and the server will typically put some details in the body of the response.

thanks

Alex