SoapClient creating XML

rocronic

New Member
I need to create this xml:\[code\]<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"> <wsse:UsernameToken> <wsse:Username>user</wsse:Username> <wsse:Password>password</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <vb:getAirportInfo xmlns:vb="http://www.example.com/schema/2005/02/booking.xsd"> <airport>BNE</airport> <airport>PPP</airport> <airport>MEL</airport> </vb:getAirportInfo> </soapenv:Body> </soapenv:Envelope> \[/code\]I am new to using SoapClients and need some help doing this. How would I do it?
 
Back
Top