axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject RE: Returning complex type
Date Mon, 18 Oct 2004 06:37:36 GMT
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"/>
> 
>      <element name="address2" nillable="true" type="xsd:string"/>
> 
>      <element name="address1" nillable="true" type="xsd:string"/>
> 
>      <element name="country" nillable="true" type="xsd:string"/>
> 
>      <element name="vendorName" nillable="true" type="xsd:string"/>
> 
>      <element name="vendorCode" nillable="true" type="xsd:string"/>
> 
>      <element name="city" nillable="true" type="xsd:string"/>
> 
>      <element name="clientID" nillable="true" type="xsd:string"/>
> 
>      <element name="email" nillable="true" type="xsd:string"/>
> 
>      <element name="zip2" nillable="true" type="xsd:string"/>
> 
>      <element name="zip1" nillable="true" type="xsd:string"/>
> 
>      <element name="companyName" nillable="true" type="xsd:string"/>
> 
>     </sequence>
> 
>    </complexType>
> 
>    <complexType name="ProductTableRecord">
> 
>     <sequence>
> 
>      <element name="productBuild" type="xsd:int"/>
> 
>      <element name="nodeCount" type="xsd:int"/>
> 
>      <element name="os" nillable="true" type="xsd:string"/>
> 
>      <element name="language" nillable="true" type="xsd:string"/>
> 
>      <element name="clientID" nillable="true" type="xsd:string"/>
> 
>      <element name="productVersion" type="xsd:int"/>
> 
>      <element name="productName" nillable="true" type="xsd:string"/>
> 
>      <element name="productCode" nillable="true" type="xsd:string"/>
> 
>     </sequence>
> 
>    </complexType>
> 
>    <complexType name="KeyTableRecord">
> 
>     <sequence>
> 
>      <element name="nodes" type="xsd:int"/>
> 
>      <element name="startDate" nillable="true" type="xsd:date"/>
> 
>      <element name="vendorName" nillable="true" type="xsd:string"/>
> 
>      <element name="clientID" nillable="true" type="xsd:string"/>
> 
>      <element name="regDate" nillable="true" type="xsd:date"/>
> 
>      <element name="componentCode" nillable="true" type="xsd:string"/>
> 
>      <element name="oemKey" nillable="true" type="xsd:string"/>
> 
>      <element name="expired" type="xsd:boolean"/>
> 
>      <element name="key" nillable="true" type="xsd:string"/>
> 
>      <element name="days" type="xsd:int"/>
> 
>      <element name="companyName" nillable="true" type="xsd:string"/>
> 
>     </sequence>
> 
>    </complexType>
> 
>   </schema>
> 
>   <schema targetNamespace="urn:ca"
> xmlns="http://www.w3.org/2001/XMLSchema">
> 
>    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
> 
>    <complexType name="RegistrationResults">
> 
>     <sequence>
> 
>      <element name="status" type="xsd:int"/>
> 
>      <element name="timeStamp" type="xsd:int"/>
> 
>      <element name="key" nillable="true" type="xsd:string"/>
> 
>      <element name="days" type="xsd:int"/>
> 
>      <element name="clientID" nillable="true" type="xsd:string"/>
> 
>     </sequence>
> 
>    </complexType>
> 
>    <complexType name="ArrayOf_tns2_KeyTableRecord">
> 
>     <complexContent>
> 
>      <restriction base="soapenc:Array">
> 
>       <attribute ref="soapenc:arrayType"
> wsdl:arrayType="tns2:KeyTableRecord[]"/>
> 
>      </restriction>
> 
>     </complexContent>
> 
>    </complexType>
> 
>    <complexType name="VerificationResults">
> 
>     <sequence>
> 
>      <element name="status" type="xsd:int"/>
> 
>      <element name="violationCode" type="xsd:int"/>
> 
>      <element name="days" type="xsd:int"/>
> 
>     </sequence>
> 
>    </complexType>
> 
>   </schema>
> 
>  </wsdl:types>
> 
>  
> 
>    <wsdl:message name="registerLicenseRequest">
> 
>  
> 
>       <wsdl:part name="in0" type="tns2:ClientTableRecord"/>
> 
>  
> 
>       <wsdl:part name="in1" type="tns2:ProductTableRecord"/>
> 
> 
=== message truncated ===



		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com

Mime
View raw message