Help needed in SOAP and PHP5

View: New views
1 Messages — Rating Filter:   Alert me  

Help needed in SOAP and PHP5

by Nirmal Agarwal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi experts

I am facing a problem while retreiving data from soap function.My server needs the following kind of request.

<soapenv:Body>
<savePurchaseOrder
xmlns=”http://www.smartturn.com/services/OccamService/purchase-order”>
<inCredential>
<ns1:UserId
xmlns:ns1=”http://www.smartturn.com/services/occamtypes”>testuser</ns1:Us
erId>
<ns2:Password
xmlns:ns2=”http://www.smartturn.com/services/occamtypes”>testpassword</ns
2:Password>
</inCredential>
<inPurchaseOrders>

</inPurchaseOrders>
</savePurchaseOrder>
</soapenv:Body>

Can somebody please tell me how to specify namespace and credentials  in __soapCall() function .
If you have some pointers where I can get the information, I will be highly obliged.

Thanks in advance.
Nirmal