axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jairam, Roopnaraine" <Roopnaraine.Jai...@ca.com>
Subject RE: FW: Returning complex type
Date Tue, 19 Oct 2004 14:45:17 GMT
Thanks Samisa for the help I made the axis java server not send
multirefs 

<parameter name="sendMultiRefs" value="false"/>

Hopefully support can be added before I ship :)

Vince.

-----Original Message-----
From: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com] 
Sent: Monday, October 18, 2004 9:27 PM
To: Apache AXIS C Developers List
Subject: Re: FW: Returning complex type

This response has href/multiref.
Axis C++ cannot deal with those, and that is why you get the problem.
(see
http://nagoya.apache.org/jira/browse/AXISCPP-111)

In case you are using Axis Java as the server, there is a way to disable
href/multiref (see above
URL) However this is not a good solution.

Axis C++ team feel the need to support href/multiref - however no plans
as yet.

Samisa...


--- "Jairam, Roopnaraine" <Roopnaraine.Jairam@ca.com> wrote:

> The soap response was the following:
> 
>  
> 
>    </SOAP-ENV:Envelope==== Response ====
> 
> HTTP/1.1 200 OK
> 
> Content-Type: text/xml;charset=utf-8
> 
> Transfer-Encoding: chunked
> 
> Date: Mon, 18 Oct 2004 14:12:52 GMT
> 
> Server: Apache-Coyote/1.1
> 
>  
> 
> 3b0
> 
> <?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:registerLicenseResponse
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns1="urn:ca">   
> 
>             <registerLicenseReturn href="#id0"/>  
> 
>          </ns1:registerLicenseResponse>  
> 
>          <multiRef id="id0" soapenc:root="0"
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xsi:type="ns2:RegistrationResults"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns2="urn:ca">   
> 
>             <status xsi:type="xsd:int">1000</status>   
> 
>             <timeStamp xsi:type="xsd:int">0</timeStamp>   
> 
>             <key
> xsi:type="xsd:string">K232422-343HsVM-732H24-KBasdfB6C-C5JP3</key>   
> 
>             <days xsi:type="xsd:int">0</days>   
> 
>             <clientID xsi:type="xsd:string">123456</clientID>  
> 
>          </multiRef> 
> 
>       </soapenv:Body>
> 
>    </soapenv:Envelope>
> 
> 0
> 
>  
> 
> Hope this helps.
> 
>  
> 
> Vince.
> 
>  
> 
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com] 
> Sent: Monday, October 18, 2004 2:38 AM
> To: Apache AXIS C User List
> Subject: RE: Returning complex type
> 
>  
> 
> If you get NULL as return type, this most probably mean that the Axis
> C++ client failed to
> 
> deserialize the response.
> 
>  
> 
> If you could send the SOAP response that you get to this list, it
could
> be verified against the
> 
> generated code for the given WSDL.
> 
>  
> 
> Samisa...
> 
>  
> 
> --- "Jairam, Roopnaraine" <Roopnaraine.Jairam@ca.com> wrote:
> 
>  
> 
> > Has anyone seen this problem, I don't think I'm doing anything
wrong.
> 
> > Any help would be appreciated.
> 
> > 
> 
> >  
> 
> > 
> 
> > Vince.
> 
> > 
> 
> >  
> 
> > 
> 
> >   _____  
> 
> > 
> 
> > From: Jairam, Roopnaraine 
> 
> > Sent: Wednesday, October 13, 2004 10:38 AM
> 
> > To: Apache AXIS C User List
> 
> > Cc: Apache AXIS C Developers List
> 
> > Subject: Returning complex type
> 
> > 
> 
> >  
> 
> > 
> 
> > The complex object that is returned is always null, although tcpmon
> 
> > shows that valid data is being sent back from the java axis server.
Is
> 
> > this a known problem? I have attached my wsdl for reference. Any
help
> 
> > would be gladly appreciated.
> 
> > 
> 
> >  
> 
> > 
> 
> > <?xml version="1.0" encoding="UTF-8"?>
> 
> > 
> 
> > <wsdl:definitions targetNamespace="urn:ca"
> 
> > xmlns="http://schemas.xmlsoap.org/wsdl/"
> 
> > xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="urn:ca"
> 
> > xmlns:intf="urn:ca"
> 
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> 
> > xmlns:tns2="http://objects.ca"
> 
> > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 
> > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> 
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 
> > 
> 
> >  <wsdl:types>
> 
> > 
> 
> >   <schema targetNamespace="http://objects.ca"
> 
> > xmlns="http://www.w3.org/2001/XMLSchema">
> 
> > 
> 
> >    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
> 
> > 
> 
> >    <complexType name="ClientTableRecord">
> 
> > 
> 
> >     <sequence>
> 
> > 
> 
> >      <element name="state" nillable="true" type="xsd:string"/>
> 
=== message truncated ===



		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 


Mime
View raw message