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: Axis: cpp client and java server
Date Wed, 22 Sep 2004 10:03:03 GMT
> Samisa - not quite sure what you're saying here - you saying it could be
> the cookie or not? In which case, Santo,  the debug trace needs to go into
> HTTPTransport::validate()  which is where the headers are parsed.

I do not think it is the cookie. However it is a *thought*.
Hence good to trace HTTPTransport::validate().

Samisa...

--- John Hawkins <HAWKINSJ@uk.ibm.com> wrote:

> 
> 
> 
> 
> Santo - are you able to debug the code OK? Alternatively you could put some
> trace into the appropriate places & recompile?
> 
> Samisa - not quite sure what you're saying here - you saying it could be
> the cookie or not? In which case, Santo,  the debug trace needs to go into
> HTTPTransport::validate()  which is where the headers are parsed.
> 
> 
> John Hawkins
> 
> 
> 
> 
>                                                                            
>              Samisa Abeysinghe                                             
>              <samisa_abeysingh                                             
>              e@yahoo.com>                                               To 
>                                        Apache AXIS C Developers List       
>              22/09/2004 06:19          <axis-c-dev@ws.apache.org>          
>                                                                         cc 
>                                                                            
>              Please respond to                                     Subject 
>               "Apache AXIS C           Re: Axis: cpp client and java       
>              Developers List"          server                              
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
> 
> 
> 
> 
> Hi Santo,
>     I generated the code and had a look, and what I guessed was wrong; the
> quote methods returns a
> string.
>     However, why I said that it could not be the cookie header is because
> it just look like other
> HTTP headers.
>     I am afraid one would have to debug the client step by step with this
> service to locate the
> exact problem.
> Thanks,
> Samisa...
> 
> --- Santo Amendola <Santo.Amendola@vptech.it> wrote:
> 
> > This is the wsdl.
> > thanks
> > --Santo
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <wsdl:definitions targetNamespace="http://172.24.82.28/axis/Quote.jws"
> > xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="
> http://xml.apache.org/xml-soap"
> > xmlns:impl="http://172.24.82.28/axis/Quote.jws" xmlns:intf="
> http://172.24.82.28/axis/Quote.jws"
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> >   <wsdl:message name="quoteResponse">
> >     <wsdl:part name="quoteReturn" type="xsd:string"/>
> >   </wsdl:message>
> >   <wsdl:message name="countResponse">
> >     <wsdl:part name="countReturn" type="xsd:int"/>
> >   </wsdl:message>
> >   <wsdl:message name="countRequest">
> >   </wsdl:message>
> >   <wsdl:message name="quoteRequest">
> >     <wsdl:part name="name" type="xsd:string"/>
> >   </wsdl:message>
> >   <wsdl:portType name="Quote">
> >     <wsdl:operation name="count">
> >       <wsdl:input message="impl:countRequest" name="countRequest"/>
> >       <wsdl:output message="impl:countResponse" name="countResponse"/>
> >     </wsdl:operation>
> >     <wsdl:operation name="quote" parameterOrder="name">
> >       <wsdl:input message="impl:quoteRequest" name="quoteRequest"/>
> >       <wsdl:output message="impl:quoteResponse" name="quoteResponse"/>
> >     </wsdl:operation>
> >   </wsdl:portType>
> >   <wsdl:binding name="QuoteSoapBinding" type="impl:Quote">
> >     <wsdlsoap:binding style="rpc" transport="
> http://schemas.xmlsoap.org/soap/http"/>
> >     <wsdl:operation name="count">
> >       <wsdlsoap:operation soapAction=""/>
> >       <wsdl:input name="countRequest">
> >         <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://DefaultNamespace" use="encoded"/>
> >       </wsdl:input>
> >       <wsdl:output name="countResponse">
> >         <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://172.24.82.28/axis/Quote.jws" use="encoded"/>
> >       </wsdl:output>
> >     </wsdl:operation>
> >     <wsdl:operation name="quote">
> >       <wsdlsoap:operation soapAction=""/>
> >       <wsdl:input name="quoteRequest">
> >         <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://DefaultNamespace" use="encoded"/>
> >       </wsdl:input>
> >       <wsdl:output name="quoteResponse">
> >         <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://172.24.82.28/axis/Quote.jws" use="encoded"/>
> >       </wsdl:output>
> >     </wsdl:operation>
> >   </wsdl:binding>
> >   <wsdl:service name="QuoteService">
> >     <wsdl:port binding="impl:QuoteSoapBinding" name="Quote">
> >       <wsdlsoap:address location="http://172.24.82.28/axis/Quote.jws"/>
> >     </wsdl:port>
> >   </wsdl:service>
> > </wsdl:definitions>
> >
> >            -----Messaggio originale-----
> >            Da: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com]
> >            Inviato: mar 21/09/2004 4.10
> >            A: Apache AXIS C Developers List
> >            Cc:
> >            Oggetto: Re: Axis: cpp client and java server
> >
> >
> >            I doubt it to be the Set-cookie header that cause the problem.
> >
> >            I suppose the Axis C++ engine is finding an unexpected XML
> stream at
> >            <ns1:quoteReturn xsi:type="xsd:string">No
> quotes.</ns1:quoteReturn>
> >            Would the service return a string in case it had some quote or
> would it return a complex type?
> >
> >            If you can send the WSDL, then it is possible to have a look
> at the generated code and look for
> >            clues.
> >
> >            Samisa...
> >
> >
> >            --- John Hawkins <HAWKINSJ@uk.ibm.com> wrote:
> >
> >            >
> >            >
> >            >
> >            >
> >            > Well, it could be the "set-Cookie" header you have - anyone
> out there tried
> >            > with cookies on?
> >            >
> >            > HTTP/1.1 200 OK
> >            > Server: Sun-ONE-Web-Server/6.1
> >            > Date:=
> >            > Mon, 20 Sep 2004 14:47:25 GMT
> >            > Content-type: text/xml; charset=3Dutf-8=0D
> >            > =
> >            > Set-cookie:
> JSESSIONID=3DACC4F7B42B1C04A34EB84533E294AF50;Path=3D/axis=0D
> >            > =
> >            > Transfer-encoding: chunked
> >            >
> >            > 01e5
> >            > <?xml version=3D"1.0" encoding=3D"UTF=
> >            > -8"?>
> >            > <soapenv:Envelope xmlns:soapenv=3D"
> http://schemas.xmlsoap.org/soap=
> > <http://schemas.xmlsoap.org/soap=>
> >            > /envelope/" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema <
> http://www.w3.org/2001/XMLSchema>
> > " xmlns:xsi=3D"h=
> >            > ttp://www.w3.org/2001/XMLSchema-instance">
> >            > <soapenv:Body>
> >            > <ns1:quote=
> >            > Response soapenv:encodingStyle=3D"
> http://schemas.xmlsoap.org/soap/encodin=
> > <http://schemas.xmlsoap.org/soap/encodin=>
> >            > g/" xmlns:ns1=3D"http://DefaultNamespace <
> http://DefaultNamespace> ">
> >            > <ns1:quoteReturn xsi:type=3D=
> >            > "xsd:string">No quotes.</ns1:quoteReturn>
> >            > </ns1:quoteResponse>
> >            > </soa=
> >            > penv:Body>
> >            > </soapenv:Envelope>
> >            > 0
> >            >
> >            >
> >            >
> >            >
> >            > John Hawkins
> >            >
> >            >
> 
=== message truncated ===



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

Mime
View raw message