minya has asked for the wisdom of the Perl Monks concerning the following question:
This is almost perfect -- the only problem is the reference to SOAPStruct -- the web service doesn't know what it is. Is it possible to get rid of it somehow? I tried doing the following, but it did not help:<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:namesp1="http://xml.apache.org/xml-soap" xmln +s:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="htt +p://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schema +s.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/1999/XMLSc +hema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encodin +g/"> <SOAP-ENV:Header> <AuthHeader xsi:type="namesp1:SOAPStruct"> <UserName xsi:type="xsd:string">username</UserName> <Password xsi:type="xsd:string">password</Password> </AuthHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <AddCUSIP xmlns="www.ABSNet.net:AddCUSIP"> <cusip xsi:type="xsd:string">testId</cusip> </AddCUSIP> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Thanks, Michaeluse SOAP::Lite maptype => {};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using SOAP::Lite, is it possible to get rid of SOAPStruct from request header XML
by gellyfish (Monsignor) on Sep 06, 2005 at 19:02 UTC | |
by minya (Initiate) on Sep 06, 2005 at 20:35 UTC | |
by gellyfish (Monsignor) on Sep 07, 2005 at 12:02 UTC |