axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Re: c++ WSDL2Ws creates an extra input parameter
Date Fri, 04 Jun 2004 07:08:06 GMT
Yes, I did apply your patch to main cvs head. 
My tests were successful with the patch.

Samisa...

--- John Hawkins <HAWKINSJ@uk.ibm.com> wrote:
> 
> 
> 
> 
> Chunking support should be in Axis client. I think Samisa was looking into
> ensuring it went in?
> 
> John Hawkins
> 
> 
> 
> 
>                                                                            
>              Aleksander                                                    
>              Slominski                                                     
>              <aslom@cs.indiana                                          To 
>              .edu>                     axis-user@ws.apache.org             
>                                                                         cc 
>              01/06/2004 16:47          Apache AXIS C Developers List       
>                                        <axis-c-dev@ws.apache.org>, Apache  
>                                        AXIS C User List                    
>              Please respond to         <axis-c-user@ws.apache.org>         
>               "Apache AXIS C                                       Subject 
>              Developers List"          Re: c++   WSDL2Ws creates an extra  
>                                        input parameter                     
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
> 
> 
> 
> 
> Ben Souther wrote:
> 
> >Thank you, Aleksander.
> >
> >Is there any known work around for this, preferably on the client (c++)
> side?
> >
> >
> >
> until it is resolved i would just do global search in source code and
> replace string HTTP/1.1 with 1.0 :)
> 
> also you should post this question to axis-c-user and axis-c-dev mailing
> lists (i have CCed them now).
> 
> alek
> 
> 
> 
> 
> -------- Original Message --------
> 
> Subject:           Re: c++ WSDL2Ws creates an extra input parameter
> Date:              Fri, 28 May 2004 18:11:56 -0500
> From:              Aleksander Slominski <aslom@cs.indiana.edu>
> To:          axis-user@ws.apache.org
> References:              <200405281226.11062.bsouther@fwdco.com>
> <200405281647.51144.bsouther@fwdco.com>
> 
> 
> 
> Ben Souther wrote:
> 
>  >More Data......
>  >
>  >Using the tcpmon application, I was able to grab all of the data being
> swapped
>  >between the client and server.
>  >
>  >For some reason, Axis (server, java) returns the returns the response
>  >"chunked" for the C++ Client but not for the Java client.
>  >
>  >
> the reason is that AXIS C++ client sends HTTP 1.1 request and support in
> clinet for chunked is then assumed by server (tomcat)::
> POST /file_manager/services/EchoCaps HTTP/1.1
> 
> alek
> 
> 
>  >I assume the delay is due to the connection not closing correctly.
>  >The C++ app probaly returns after the connection times out???
>  >
>  >Again, any help is appreciated
>  >-Ben
>  >
>  >Here is the data intercepted with tcpmon:....
>  >=================================
>  >FROM THE JAVA CLIENT
>  >=================================
>  >Listen Port: 8888
>  >Target Host: 127.0.0.1
>  >Target Port: 8080
>  >==== Request ====
>  >POST /file_manager/services/EchoCaps HTTP/1.0
>  >Content-Type: text/xml; charset=utf-8
>  >Accept: application/soap+xml, application/dime, multipart/related, text/*
>  >User-Agent: Axis/1.1RC2
>  >Host: 127.0.0.1
>  >Cache-Control: no-cache
>  >Pragma: no-cache
>  >SOAPAction: ""
>  >Content-Length: 473
>  >
>  ><?xml version="1.0" encoding="UTF-8"?>
>  ><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>  > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>  > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>  > <soapenv:Body>
>  > <ns1:capitalize
>  >soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>  >xmlns:ns1="EchoCaps">
>  > <inputString xsi:type="xsd:string">String from the java
>  >client</inputString>
>  > </ns1:capitalize>
>  > </soapenv:Body>
>  ></soapenv:Envelope>
>  >
>  >
>  >==== Response ====
>  >HTTP/1.1 200 OK
>  >Content-Type: text/xml;charset=utf-8
>  >Date: Fri, 28 May 2004 20:17:24 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/"
>  > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>  > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>  > <soapenv:Body>
>  > <ns1:capitalizeResponse
>  > soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>  > xmlns:ns1="EchoCaps">
>  > <EchoCaps xsi:type="xsd:string">STRING FROM THE JAVA CLIENT</EchoCaps>
>  > </ns1:capitalizeResponse>
>  > </soapenv:Body>
>  ></soapenv:Envelope>
>  >
>  >
>  >
>  >
>  >===================
>  >FROM THE C++ CLIENT..........
>  >===================
>  >Listen Port: 8888
>  >Target Host: 127.0.0.1
>  >Target Port: 8080
>  >==== Request ====
>  >POST /file_manager/services/EchoCaps HTTP/1.1
>  >Host: 127.0.0.1
>  >Content-Type: text/xml; charset=UTF-8
>  >SOAPAction: "EchoCaps#capitalize"
>  >Content-Length: 439
>  >
>  ><?xml version='1.0' encoding='utf-8' ?>
>  ><SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>  > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>  > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>  > <SOAP-ENV:Body>
>  > <ns1:capitalize
>  >xmlns:ns1="http://192.168.0.103:8888/file_manager/services/EchoCaps">
>  > <inputString xsi:type="xsd:string">Input from C++
>  >Client</inputString>
>  > </ns1:capitalize>
>  > </SOAP-ENV:Body>
>  ></SOAP-ENV:Envelope>
>  >
>  >
>  >==== Response ====
>  >HTTP/1.1 200 OK
>  >Content-Type: text/xml;charset=utf-8
>  >Transfer-Encoding: chunked
>  >Date: Fri, 28 May 2004 20:20:42 GMT
>  >Server: Apache-Coyote/1.1
>  >
>  >20d
>  ><?xml version="1.0" encoding="UTF-8"?>
>  ><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>  > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>  > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>  > <soapenv:Body>
>  > <ns1:capitalizeResponse
>  > soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>  > xmlns:ns1="http://192.168.0.103:8888/file_manager/services/EchoCaps">
>  > <EchoCaps xsi:type="xsd:string">INPUT FROM C++ CLIENT</EchoCaps>
>  > </ns1:capitalizeResponse>
>  > </soapenv:Body>
>  ></soapenv:Envelope>
>  >0
>  >
>  >
> 
=== message truncated ===



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Mime
View raw message