Jump to content

WebService SOAP

Recommended Posts

in a B2B scenario
I need  to call a soap webservice (the client has already added my ip to the white list) this is the endpoint. 



Allows the validation of a client by card number

It is returned if the card is active (if the order is placed by the method ClientByNumCard - <Activ_Card>Y</ Activ_Card >)

                       It is returned if the client is active ( <Activ_Card >Y</Activ_Card >)

                      In case of success, _ID data is returned

XML order example:


<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://platf.com/ClientUI">









Response Envelope

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">


    <ns: ClientByNumCard _Output xmlns:ns="http://plaf.com/ClientUI">



      <ListIo xmlns="http://www.platf.com/xml/xxx%20yyyy%20%20G%20IO">










            </ ClientMember >







any ideas how to make a simple class in php?

Share this post

Link to post
Share on other sites

Have you already started by understanding how SOAP works in PHP? Seen the extension and examples for how to use it?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.