Search code examples
c#.netwcfsoaphttp-post

Get requests in WCF without method name


Our partner says he is going to send data using the SOAP protocol without using any service name to post data, like HelloWorld(string p1), just a POST.

So I am wondering how is it possible to do with SOAP?

I mean in WCF / web services, we need the name of method anyway, right?

Any clues? Thank you!

UPDATE #1

Using Wireshark I am getting this message

POST HTTP/1.1
Content-Type: text/xml
User-Agent: SOAP Sender v1.2
Host: 191.126.125.5:1212
Authorization: Basic QFNLVXNlcjE4MTghOiBAU0tQYTE5MTkh
Content-Length: 708

<?xml version="1.0" encoding="windows-1251"?>
<soapenv:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope">
<soapenv:Header/>
<soapenv:Body>
    <ws:PutCoord>
        <ObjectID>SG255108374</ObjectID>
    </ws:PutCoord>
</soapenv:Body>
</soapenv:Envelope>

So what sort of .NET application I have to create to get this POSTED data? This correspond to https://www.w3.org/TR/soap12-part0/#L26866


Solution

  • I was misled by my client HelpDesk. :)

    They send data in SOAP format using HTTP to some port and thats it.

    So... Sometimes HelpDesk is gonna confuse you. Hahahaha! Be careful!