Hi,
I have the task of creating a web service that would be used by some clients.
We didn't get the xsd's or anything. There are layers and layers of communication between me and the client, and it's just too complicated to get the problem through (and it probably wouldn't resolve anything for about a month, while we do have a schedule to keep)
Instead, I want to create a service that would accept whatever they send as a request and then I can use what I received to change the xml attributes on my data classes to correspond to what they're sending.
What I do know for sure is the method name, service attributes and the number of arguments.
This is the current service signature (TheMessage
is the type I don't know and what I want to discover):
[WebService(Namespace = "http://services.company.org")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
[SoapDocumentService(SoapBindingUse.Literal,
SoapParameterStyle.Wrapped,
RoutingStyle = SoapServiceRoutingStyle.RequestElement)]
public class TheGateway : System.Web.Services.WebService
{
[WebMethod]
public TheMessage ServiceCall(TheMessage message)
{
//...
}
}
Is there a way to do this?