[
Lists Home |
Date Index |
Thread Index
]
On Sep 23, 2004, at 5:56 PM, Brian OBrien wrote:
> This is what I've formed but it doesn't work... Can
> you tell me what I've done wrong?
>
> POST /http://192.168.2.1:80/control?WANIPConnection
> HTTP/1.1
> HOST: 192.168.2.1:80
> SOAPACTION:
> "schemas-upnp-org:device:InternetGatewayDevice:1#GetExternalIPAddress"
This should be
urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress
> CONTENT-TYPE: text/xml ; charset="utf-8"
> Content-Length: 284
>
> <?xml version="1.0"?>
> <soap:Envelope
> xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
> soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
> <soap:Body>
> <m:GetExternalIPAddress
> xmlns:m=http://192.168.2.1:80/control?WANIPConnection">
this too.
> </soap:Body>
> </soap:Envelope>
grtz, su.(hth, hand)
|