<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
&nbsp;<BR>
Im using SOAP::Lite to create a SOAP client, and I need to create an object which has its structure defined in a WSDL file.<BR>Is there a way to do this automagically using their provided WSDL file which does have the XML definition for the object i need), or will I<BR>need to use something like SOAP::Data to build this object manually?<BR><BR>I know how to pass parameters to a webservice method, but not sure on how to pass object. Below is the code I have&nbsp;to pass parameters..<BR>
<BR>push @args, SOAP::Data-&gt;type("$targetNamespace:$type" =&gt; $arg);<BR>$soap-&gt;outputxml(1);<BR>my $response = eval "\$soap-&gt;$method(\@args)";<BR>
&nbsp;<BR>
Can I still use SOAP::Data to pass object and if so, how???<BR>
&nbsp;<BR>
Thanks much,<BR>Prattipam<BR><RTE_TEXT></RTE_TEXT><br /><hr />Windows Live™: E-mail. Chat. Share. Get more ways to connect.  <a href='http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009' target='_new'>See how it works.</a></body>
</html>