Re: [wsdl2php-devel] wsdl help
Status: Alpha
Brought to you by:
cod3gen
|
From: Dusty D. <wsd...@ma...> - 2005-10-28 14:46:59
|
> I was wondering if anyone would be willing to take a look at the wsdl file > and perhaps help me find out what needs to be fixed in that file, or maybe > what I can do with wsdl2php to work around it. If so, great, I'll send over > everything I've got. Found that my wsdl file is located on the public domain, findable easily by google, so I thought I'd post it here. http://www.cisco.com/univercd/cc/td/doc/solution/sesm/sesm_33x/wsg/wsg_saif.htm To get just the wsdl file, without the other text, a copy is located here: http://dusty.name/sesm/sesm.wsdl The function I'm having troube with is the authenticate function, as I can't figure out how to properly form the arrayOfCredentials. Here is what the message should look like. I got this by running a shell client that I don't have the source to and verified it does work. <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www .w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:authenticate soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1=" http://common.wsg.sesm.cisco.com"> <hostkey xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1.1.1.1</hostkey> <credentials xsi:type="soapenc:Array" soapenc:arrayType="ns1:Credential[1]" xmlns:soapenc="htt p://schemas.xmlsoap.org/soap/encoding/"> <item href="#id0"/> </credentials> </ns1:authenticate> <multiRef id="id0" soapenc:root= "0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:Credential" x mlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://common.wsg.sesm.cisco. com"> <identity href="#id1"/> <credential xsi:type="soapenc:string">mypassword</credential> </multiRef> <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/enco ding/" xsi:type="ns3:Identity" xmlns: ns3="http://common.wsg.sesm.cisco.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <type xsi:type="soapenc:string">user</type> <principal xsi:type="soapenc:string">myusername</principal> </multiRef> </soapenv:Body> </soapenv:Envelope> -Dusty |