Trying to make it work
[email protected] (DPRJ Sistemas (OK Cosméticos)) Fri, 13 Jan 2012 13:16:31 -0200
| Newsgroups | php.soap |
|---|---|
| Organization | DPRJ Sistemas |
| Message-ID | <[email protected]> |
------=_NextPart_000_003B_01CCD1F5.914431E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hello!
I am using Web Services for the first time and I need to make it work.
I am accessing a ASP.NET (asmx) website from a big international company
(this means that the server really works fine).
I can access data using SoapClient and get the information from:
POST /BROKER_V2/service.asmx HTTP/1.1
Host: ww3.bdfnivea.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ww3.bdfnivea.com.br/BROKER_v2/AuthenticateUser"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AuthenticateUser xmlns="http://ww3.bdfnivea.com.br/BROKER_v2/">
<remoteLoginCode>string</remoteLoginCode>
<password>string</password>
</AuthenticateUser>
</soap:Body>
</soap:Envelope>
But when I try to get the information from:
POST /BROKER_V2/service.asmx HTTP/1.1
Host: ww3.bdfnivea.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ww3.bdfnivea.com.br/BROKER_v2/getClientData"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getClientData xmlns="http://ww3.bdfnivea.com.br/BROKER_v2/">
<webParam>
<pasta>MPP or JOHN or GIRO or OKCOSMETICOS</pasta>
<sessionID>string</sessionID>
</webParam>
</getClientData>
</soap:Body>
</soap:Envelope>
It does not work.
The only diference I can notice is the tag <WebParam>.
Is there anyone here that had such problem before and could help me?
Thank you all
Deleo
------=_NextPart_000_003B_01CCD1F5.914431E0--