Trying to make it work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux