Hi Mahendra,

I compared your code with my JAVA sample.

Maybe you have to read the xml file into your app.
and unmarshall it to send it.

I havent used the SOAP::Lite libraries but with the SOAP Api from Apache
the message looks as follows

Message msg = new Message();
msg.send (new URL (<url>), "", <Envelope Object>);

Could it be the same in Perl?
Maybe it could help you, if not.... I tried to give you a hint.

regards
daniel

On 27.11.2001 02:06:26 Mahendra Chheda wrote:

> Hello,
>
> I am trying to send a file via my soap method call (Perl client using
> SOAP::Lite) to the apache based soap server. However, the format of my
call
> is giving me errors. Can someone pls guide me on how should the call be
> structured.
>
> It seems to be a pretty rudimentary question but I could not see any
> documentation at http://www.soaplite.com.
>
> Thanx.
>
> Mahendra
>
>
> METHOD CALL
> -----------
> sendFile('file:.\1.xml','mmc')
>          ^^^^^^^^^^^^^^
>
> CLIENT CODE
> -----------
> use SOAP::Lite;
>
> my $s = SOAP::Lite
>    ->uri('urn:zantazapi')
>    ->proxy('http://localhost:8080/soap/servlet/rpcrouter')
>    ->sendFile('file:.\1.xml','mmc');
> print $s->result();


____________________________________________

SinnerSchrader Deutschland GmbH
Communication & Technology

mailto:[EMAIL PROTECTED]
http://www.sinnerschrader.com
fon +49.(0) 40.39 88 55-0
fax +49.(0) 40.39 88 55-55
gasstrasse 8-16 | 22761 hamburg | germany
____________________________________________

Reply via email to