Kinichiro, Eran, Anne, Great thanks for your help! I've build perl module using stubmaker from wsdl file and fix all wrong namespaces after generation. It works fine now, thanks.
Kinichiro, i have SOAP::Lite 0.69 version. I think the problem in client stub generation from wsdl file in new versions. I've sent email to soaplite mailing list, hope this helps. Aleksey On 8/22/06, Kinichiro Inoguchi <[EMAIL PROTECTED]> wrote:
I traced SOAP request/response by TCPMON 1.0. As mentioned Anne, SOAP request envelope looks something strange. But Aleksey's script worked in my environment. [request] POST /axis2/services/version HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Accept: text/xml Accept: multipart/* Host: 127.0.0.1:8081 User-Agent: SOAP::Lite/Perl/0.55 Content-Length: 414 Content-Type: text/xml; charset=utf-8 SOAPAction: "urn:getVersion" <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <getVersion xmlns=""/> </SOAP-ENV:Body> </SOAP-ENV:Envelope> [response] HTTP/1.1 200 OK Set-Cookie: JSESSIONID=4044F747647CA3099F6239C195724971; Path=/axis2 Content-Type: text/xml;charset=utf-8 Date: Tue, 22 Aug 2006 02:12:36 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header /> <soapenv:Body> <ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd"> <ns:return xmlns:ns="http://axisversion.sample/xsd">Hello I am Axis2 version service , My version is #axisVersion# #today#</ns:return> </ns:getVersionResponse> </soapenv:Body> </soapenv:Envelope> --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > Your SOAP envelope has specified the wrong namespace. It should be: > "http://schemas.xmlsoap.org/soap/envelope/". > > Your SOAP message specifies: > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > > That's the namespace for the SOAP extension for WSDL. > > You'll have to check with the Perl folks to figure out how to fix it. > > Anne > > On 8/21/06, Kinichiro Inoguchi <[EMAIL PROTECTED]> wrote: > > Aleksey, > > > > I'm using Active Perl 5.6 within Windows XP. > > And SOAP::Lite version is 1.47. (I checked Lite.pm file.) > > > > And I'm using Axis2 nightly build war distribution > > with JDK1.4.2 and tomcat5.0.28. > > > > I hope this info helps you. > > > > Regards, > > kinichiro > > > > --- Aleksey Serba <[EMAIL PROTECTED]> wrote: > > > > > Kinichiro, > > > > > > > Your script worked in my environment, > > > > and I could see result. > > > > $VAR1 = 'Hello I am Axis2 version service , My version is > > > #axisVersion# > > > > #today#'; > > > > > > Hmm, strange.. Thus the problem is in environment. > > > What version of SOAP::Lite module and axis2 dist do you use? > > > > > > Anyway, this is a good info for me - i'll dig into different > > > versions. > > > > > > Thanks > > > > > > Aleksey > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
