|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: IGD soap question.
The following RFC[1] may help answer your questions. Kind Regards, Joe Chiusano Booz Allen Hamilton Strategy and Technology Consultants to the World [1] http://www.faqs.org/rfcs/rfc2616.html Brian OBrien wrote: > > I hope I may ask soap / xml related questions on this > forum. > If not would you please point me to an appropriate > mailing list? > > I am trying to build up a soap message to send to an > IGD. > This is what I've been able to figure out so far but > with some questions: > > POST /_SwitchPower.0001_control HTTP/1.1 > HOST: 192.168.2.5:64723 > SOAPACTION: > "schemas-upnp-org:device:InternetGatewayDevice:1#GetExternalIPAddress" > CONTENT-TYPE: text/xml ; charset="utf-8" > Content-Length: 282 > <?xml version="1.0" encoding="utf-8"?> > <s:Envelope > s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> > <s:Body> > <u:GetExternalIPAddress > xmlns:u="urn:schemas-upnp-org:device:InternetGatewayDevice:1" > /> > </s:Body> > </s:Envelope> > > So my questions are: > What is after the / on the post line? > _SwitchPower.001_control? ( I know I > have this wrong but don't know what it should be) > Host is who is posting the soap message? > What is the s: in front of Envelope and Body? > What is the u: in front of GetExternalIPAddress? > > I know the content lenght isn't correctly > calculated... > > The method, GetExternalIPAddress is defined within my > UPnP internet Gateway > Device, in x_wanipconnection.xml > > So once the soap message is properly formatted I send > it by tcp on the ip > address of my IGD on port 80 of the NAT. > > I assume that it will 'if all goes well' reply with a > SOAP message with the > address of my IGD. > > ______________________________________________________________________ > Post your free ad now! http://personals.yahoo.ca > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php> -- Kind Regards, Joseph Chiusano Associate Booz Allen Hamilton
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








