Last post Jan 24, 2019 01:25 AM by Ackerly Xu
Jan 23, 2019 10:36 AM|echoasp|LINK
Hey guys, this is my first time using SOAP. I need to send XML Schema request to my server, but I get Cannot find table 0. The guys who made the software are not telling me how to format my XML Schemas to send orders to my server. I'm making an app btw.
This is what I need to send:
Can you tell me how to format
Jan 24, 2019 01:25 AM|Ackerly Xu|LINK
It's hard to send a soap request without knowing the structure of the request body.
There is a way to know the structure of the request body and then you could send a request according to the structure.
Please refer to https://www.c-sharpcorner.com/article/calling-web-service-using-soap-request/
Another way to send a soap request is to add reference to your webservice (if your service publishes the metadata).
Then the visual studio could generate a client , you could use the client to make request to the service.
For example , if your service has a method named add, the client will also have a method named add, all you need to do is to initialize the client and call its add method and you don't need to know the structure of your soap request.
Please refer to the link below to learn how to add reference to a wcf webservice https://www.dotnetforall.com/adding-wcf-service-reference-client/