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/09/01 10:32:50 UTC

[jira] Updated: (AXISCPP-143) Deserialiser method returns without doing anyting for complex types with simple content

The following issue has been updated:

    Updater: Samisa Abeysinghe (mailto:samisa_abeysinghe@yahoo.com)
       Date: Wed, 1 Sep 2004 1:31 AM
    Changes:
             summary changed from Deserialiser method returns without doing anyting for somplex types with simple content to Deserialiser method returns without doing anyting for complex types with simple content
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXISCPP-143?page=history

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

    Project: Axis-C++
 Components: 
             Serialization/Deserialization
             WSDL processing
   Fix Fors:
             1.3 Beta

   Assignee: 
   Reporter: Samisa Abeysinghe

    Created: Sun, 29 Aug 2004 10:09 PM
    Updated: Wed, 1 Sep 2004 1:31 AM
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