Jump to content
Sign in to follow this  
Shipper

SOAP php request

Recommended Posts

I working one paracel SOAP api and im totally crazy already.

I need send that code:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://service.core.epmx.application.eestipost.ee/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <xsd:businessToClientMsgRequest>
         <partner>KLIENDIKOOD</partner>
         <interchange msg_type="elsinfov1">
            <header file_id="201805030022" sender_cd="KLIENDIKOOD"/>
            <item_list>
               <item service="PA">
                  <add_service>
                     <option code="ST"/>
                     <option code="SF"/>
                  </add_service>
                  <measures weight="1.000"/>
                  <comment>testcomment</comment>
                  <partnerId>12345</partnerId>
                  <receiverAddressee>
                     <person_name>TEST1</person_name>
                     <mobile>55555555</mobile>
                     <email>itest@test.ee</email>
                     <address country="EE" offloadPostcode="96000"/>
                  </receiverAddressee>
                  <returnAddressee>
                     <person_name>Sender name</person_name>
                     <phone>55555555</phone>
                     <mobile>55555555</mobile>
                     <email>itest@test.lv</email>
                     <address postcode="13811" deliverypoint="Tallinn" country="EE" street="Mahtra 7"/>
                  </returnAddressee>
               </item>
            </item_list>
         </interchange>
      </xsd:businessToClientMsgRequest>
   </soapenv:Body>
</soapenv:Envelope>

If someone have no idea how create php script using SoapClient for that, then im happy to see result! :)

 

* What i tried is totally shit and didnt worked at all, so i better don't show my code :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

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.