Search the web
Sign In
New User? Sign Up
soaplite · SOAP::Lite for Perl (soaplite.com)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
how to do multipple methods inside body?   Message List  
Reply | Forward Message #6140 of 6387 |
hello,

i am trying to create structure like this

<soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:CommunityReserveTicket>
<CommunityID xsi:type="xsd:int">5</CommunityID>
<AgentSetupID xsi:type="xsd:int">11</AgentSetupID>
<UseInfo href="#id1"/>
<Code>PRODUCTCODE</Code>
</tns:CommunityReserveTicket>
<tns:AdminAPIUserInfo id="id1" xsi:type="tns:AdminAPIUserInfo">
<strLoginID xsi:type="xsd:string">TestReserve</strLoginID>
<CreditCardInfo href="#id2"/>
</tns:AdminAPIUserInfo>
<tns:AdminAPICreditCard id="id2"
xsi:type="tns:AdminAPICreditCard">
<eCCType xsi:type="tns:CARD_TYPE">CARD_DISCOVER</eCCType>
</tns:AdminAPICreditCard>
</soap:Body>
</soap:Envelope>

if i will try to do this

@ar = ( SOAP::Data->name(blah=>'test1'),
SOAP::Data->name(blah=>'test2'),
SOAP::Data->name(blah=>'test3'),
);

$cl->call(@ar);

that would product something like this:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<test1>
<test2 xsi:type="xsd:string">test2</test2>
<test3 xsi:type="xsd:string">test3</test3>
</test1>
</soap:Body>
</soap:Envelope>

i am not worried about first method, since i can define it via
on_action, so i just need to create structure above, and i am not
getting how i can accomplish that, please help




Tue Apr 22, 2008 6:43 pm

winfinit
Offline Offline
Send Email Send Email

Forward
Message #6140 of 6387 |
Expand Messages Author Sort by Date

hello, i am trying to create structure like this <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <tns:CommunityReserveTicket> ...
winfinit
Offline Send Email
Apr 22, 2008
7:48 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help