You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/06 08:42:32 UTC
[jira] Closed: (AXISCPP-143) Deserialiser method returns without doing anyting for complex types with simple content
Message:
The following issue has been closed.
Resolver: Susantha Kumara
Date: Tue, 5 Oct 2004 11:41 PM
Fixed
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-143
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-143
Summary: Deserialiser method returns without doing anyting for complex types with simple content
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Axis-C++
Components:
Serialization/Deserialization
WSDL processing
Fix Fors:
current (nightly)
Assignee:
Reporter: Samisa Abeysinghe
Created: Sun, 29 Aug 2004 10:09 PM
Updated: Tue, 5 Oct 2004 11:41 PM
Environment: All platforms
Description:
When we have the following XSD:
<xsd:complexType name="name">
<xsd:simpleContent>
<xsd:extension base="string">
<xsd:attribute ref="xml:lang" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
The generated code looks:
int Axis_DeSerialize_name(name* param, IWrapperSoapDeSerializer* pIWSDZ)
{
return AXIS_SUCCESS;
}
e.g. For UDDI WSDL (inquire_v2.wsdl) I get the server response:
<?xml version="1.0" encoding="UTF-8" ?><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><SOAP:Body><tModelDetail generic="2.0" xmlns="urn:uddi-org:api_v2" operator="www.ibm.com/services/uddi" truncated="false"><tModel tModelKey="UUID:39B8F710-F088-11D6-8F10-000629DC0A7B" operator="www.ibm.com/services/uddi" authorizedName="100000EPEE"><name>TEST</name></tModel></tModelDetail></SOAP:Body></SOAP:Envelope>
However when I try to access the name from stub I get an empty strng:
code:
if(result.m_Array[i].name_Ref)
printf("name = %s\n", result.m_Array[i].name_Ref->name_value);
output:
name =
But the above given response has a valid name.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira