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

Join the conversation

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

Guest
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.

Sign in to follow this  

×
×
  • 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.