Re: help on a soap client

2010-03-29 Thread Jeff Peng
Hello, Now I'm using the code below: use strict; use SOAP::Lite +trace => 'all'; my $soap = SOAP::Lite->new( proxy => 'http://192.168.1.100/Service/IndicatorsService.asmx'); $soap->default_ns('http://tempuri.org/'); $soap->on_action(sub { join '', @_ }); my $method = SOAP::Data->name('DataUp

Re: help on a soap client

2010-03-29 Thread Jeff Peng
Thanks Rob so much for the sample code. I will try it following your direction, thanks. On Mon, Mar 29, 2010 at 6:42 PM, Rob Coops wrote: > Got it, I for got to indicate the arrays there. The code below will produce > the following output. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.

Re: help on a soap client

2010-03-29 Thread Rob Coops
On Mon, Mar 29, 2010 at 12:29 PM, Rob Coops wrote: > > > On Mon, Mar 29, 2010 at 12:16 PM, Rob Coops wrote: > >> >> >> On Mon, Mar 29, 2010 at 11:57 AM, Jeff Peng wrote: >> >>> Thanks Rob. >>> I have enabled "trace => all" when new the object, so I have been able >>> to look what was happened.

Re: help on a soap client

2010-03-29 Thread Rob Coops
On Mon, Mar 29, 2010 at 12:16 PM, Rob Coops wrote: > > > On Mon, Mar 29, 2010 at 11:57 AM, Jeff Peng wrote: > >> Thanks Rob. >> I have enabled "trace => all" when new the object, so I have been able >> to look what was happened. >> I think what I don't know is that how to built-up that a XML req

Re: help on a soap client

2010-03-29 Thread Rob Coops
On Mon, Mar 29, 2010 at 11:57 AM, Jeff Peng wrote: > Thanks Rob. > I have enabled "trace => all" when new the object, so I have been able > to look what was happened. > I think what I don't know is that how to built-up that a XML request > package with the format they required for posting. > > Je

Re: help on a soap client

2010-03-29 Thread Jeff Peng
On Mon, Mar 29, 2010 at 5:56 PM, Shlomi Fish wrote: >1. SOAP::Lite is no longer recommended. You should use SOAP::WSDL or >XML::Compile::SOAP instead. (According to the perlbot factoid on >irc.freenode.org ) Thanks Shlomi, let me check them. -- Jeff Peng Email: jeffp...@netzero.net Skype: compu

Re: help on a soap client

2010-03-29 Thread Jeff Peng
Thanks Rob. I have enabled "trace => all" when new the object, so I have been able to look what was happened. I think what I don't know is that how to built-up that a XML request package with the format they required for posting. Jeff. On Mon, Mar 29, 2010 at 5:49 PM, Rob Coops wrote: > > > On M

Re: help on a soap client

2010-03-29 Thread Shlomi Fish
On Monday 29 Mar 2010 12:36:20 Jeff Peng wrote: > Hello, > > I want to post some data to a webservice which is .NET powered. > > The webservice's developer tell me the request should be: > > POST /Service/IndicatorsService.asmx HTTP/1.1 > Host: 192.168.1.100 > Content-Type: text/xml; charset=utf

Re: help on a soap client

2010-03-29 Thread Rob Coops
On Mon, Mar 29, 2010 at 11:36 AM, Jeff Peng wrote: > Hello, > > I want to post some data to a webservice which is .NET powered. > > The webservice's developer tell me the request should be: > > POST /Service/IndicatorsService.asmx HTTP/1.1 > Host: 192.168.1.100 > Content-Type: text/xml; charset=u

help on a soap client

2010-03-29 Thread Jeff Peng
Hello, I want to post some data to a webservice which is .NET powered. The webservice's developer tell me the request should be: POST /Service/IndicatorsService.asmx HTTP/1.1 Host: 192.168.1.100 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/DataUpLo