SOAP + WSDL + PHP

eXTReMePr0

New Member
I need a litte bit help.I have the following two URLS:WSDL: https://amsel.dpwn.net/abholportal/gw/lp/schema/1.0/var3ws.wsdlEndpoint: https://amsel.dpwn.net/abholportal/gw/lp/SoapConnectorNow I want to send the server something like this:\[code\]<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:var="https://amsel.dpwn.net/abholportal/gw/lp/schema/1.0/var3bl"><soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity- secext-1.0.xsd"> <wsse:UsernameToken> <wsse:Username>ws_online_retoure</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-tokenprofile1.0# PasswordText">Anfang1!</wsse:Password> </wsse:UsernameToken> </wsse:Security></soapenv:Header><soapenv:Body> <var:BookLabelRequest portalId="OnlineRetoure" deliveryName="Spanien_Var3" shipmentReference="ShipRef Nextt" customerReference="1.Feld via Webservice" labelFormat="PDF" senderName1="Willi Webservice" senderName2="via Webservice" senderCareOfName="careOfName" senderContactPhone="0800 123456" senderStreet="Webservice Street" senderStreetNumber="8080" senderBoxNumber="12" senderPostalCode="28010" senderCity="Madrid"/></soapenv:Body></soapenv:Envelope>\[/code\]How can I do this in PHP?Thanks!
 
Back
Top