Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

RE: [xml-dev] Need help forming html+xml message.


  • To: bobrien18@...
  • Subject: RE: [xml-dev] Need help forming html+xml message.
  • From: "Suzan Foster" <su@...>
  • Date: Fri, 24 Sep 2004 13:46:50 +0200 (CEST)
  • Cc: xml-dev@...
  • User-agent: SquirrelMail/1.4.2 [CVS]

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)

 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor