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 Object which contains an array is always null
Date Mon, 31 Jan 2005 21:49:55 GMT
I pulled the latest source on Friday (1/31/05) and built axisclient.dll.
I tried it out and the problems still occurs. The version of axis I
built had tracing enabled. I have the logs not sure if it is helpful
though.

 


} Call::checkMessage(0)

{ Call::getCmplxObject<00BEEFB0>(63001073 [73] <s>, 63001433 [33] <3>,
63001082 [FFFFFF82] <.>, "verifyLicenseReturn", <null>)

 { SoapDeSerializer::getCmplxObject<00BF8858>(63001073 [73] <s>,
63001433 [33] <3>, 63001082 [FFFFFF82] <.>, "verifyLicenseReturn",
<null>)

  { XMLParserXerces::next<00BF8980>(false)

   { XercesHandler::freeElement<00BF8994>()

    { XercesHandler::freeAttributes<00BF8994>()

    } XercesHandler::freeAttributes()

   } XercesHandler::freeElement()

   { XercesHandler::getAnyElement<00BF8994>()

   } XercesHandler::getAnyElement(00000000 )

   { XercesHandler::startElement<00BF8994>(00BFFD58 [58FFFFFFFD] <X.>,
00C2F920 [20FFFFFFF9] < .>, 00C2C458 [58FFFFFFC4] <X.>, [FFFFFFF01C5200]
<..R.>)

   } XercesHandler::startElement()

   { XercesHandler::getAnyElement<00BF8994>()

   } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0078FFFFFFEA120078FFFFFFEA1200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF0001000000FFFFFFC0FFFFFFEA12000E000000]
<....x...x...a...................>)

  } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFC4FFFFFFEA120
1FFFFFFACFFFFFFEA1200FFFFFFC2FFFFFFA10110000000007C6A0910FFFFFFB0FFFFFFE
FFFFFFFBE00] <........................|j......>)

  { SoapDeSerializer::getCurrentProviderType()

  } SoapDeSerializer::getCurrentProviderType([03000000] <....>)

  { SoapDeSerializer::getElementAsInt<00BF8858>("dayCheck", <null>)

   { XMLParserXerces::next<00BF8980>(false)

    { XercesHandler::freeElement<00BF8994>()

     { XercesHandler::freeAttributes<00BF8994>()

     } XercesHandler::freeAttributes()

    } XercesHandler::freeElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00000000 )

    { XercesHandler::startElement<00BF8994>(00BFFD58 [58FFFFFFFD] <X.>,
00C2FB40 [40FFFFFFFB] <@.>, 00C2C458 [58FFFFFFC4] <X.>, [FFFFFFF01C5200]
<..R.>)

    } XercesHandler::startElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0068FFFFFFE9120068FFFFFFE91200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF0058FFFFFF88FFFFFFBF00020000000E000000]
<....h...h...a.......X...........>)

   } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF0018FFFFFFEA12010CFFF
FFFEA12000AFFFFFFC8011000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8F2
1347C] <.............................!4|>)

   { SoapDeSerializer::getXSDType<00BF8858>(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8F21347
CFFFFFFCF1C3A7CFFFFFFE31C3A7C0000000020113D00FFFFFF961E3A7C]
<.........!4|..:|..:|.... .=...:|>)

    { URIMapping::getURI(00C2FC58 [58] <X>)

    } URIMapping::getURI@1([00000000] <....>)

    { QName::QName<0012E940>()

    } QName::QName()

    { QName::splitQNameString<0012E940>("xsd:int", [3A] <:>)

    } QName::splitQNameString()

    { XMLParserXerces::getNS4Prefix<00BF8980>("xsd")

     { XercesHandler::ns4Prefix<00BF8994>("xsd")

     } XercesHandler::ns4Prefix@1("http://www.w3.org/2001/XMLSchema")

    } XMLParserXerces::getNS4Prefix("http://www.w3.org/2001/XMLSchema")

    { URIMapping::getURI(00C2D708 [08] <.>)

    } URIMapping::getURI@1([01000000] <....>)

    { TypeMapping::map(00C2FCA4 [FFFFFFA4] <.>)

    } TypeMapping::map@1([02000000] <....>)

    { QName::mergeQNameString<0012E940>([3A] <:>)

    } QName::mergeQNameString()

   } SoapDeSerializer::getXSDType@2([02000000] <....>)

   { QName::~QName<0012E940>()

   } QName::~QName()

   { XMLParserXerces::next<00BF8980>(true)

    { XercesHandler::freeElement<00BF8994>()

     { XercesHandler::freeAttributes<00BF8994>()

     } XercesHandler::freeAttributes()

    } XercesHandler::freeElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00000000 )

    { XercesHandler::characters<00BF8994>(00BFB070 [70FFFFFFB0] <p.>, 1)

    } XercesHandler::characters()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0068FFFFFFE9120068FFFFFFE91200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF00000000000200000000FFFFFFEA1200]
<....h...h...a...................>)

   } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFFFFFFFFFFFFFF
FFFFF010CFFFFFFEA12007AFFFFFFC8011001000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFF8F21347C] <................z............!4|>)

   { IAnySimpleType::IAnySimpleType<0012E9C4>()

   } IAnySimpleType::IAnySimpleType()

   { Decimal::Decimal<0012E9C4>()

   } Decimal::Decimal()

   { Integer::Integer<0012E9C4>()

   } Integer::Integer()

   { Int::Int<0012E9C4>()

   } Int::Int()

   { Int::deserializeInt<0012E9C4>("3")

    { Long::deserializeLong<0012E9C4>("3")

     { Integer::deserialize<0012E9C4>("3")

      { Integer::deserializeInteger<0012E9C4>("3")

      } Integer::deserializeInteger(00C2E9D8
[FFFFFFD8FFFFFFE9FFFFFFC200FFFFFFA9FFFFFFFBFFFFFFC200] <........>)

     } Integer::deserialize(00C2E9D8 [FFFFFFD8] <.>)

    } Long::deserializeLong(00C2E9D8
[FFFFFFD8FFFFFFE9FFFFFFC20068FFFFFFE91200] <....h...>)

   } Int::deserializeInt(00C2E9F8 [FFFFFFF8FFFFFFE9FFFFFFC200] <....>)

   { XMLParserXerces::next<00BF8980>(false)

    { XercesHandler::freeElement<00BF8994>()

     { XercesHandler::freeAttributes<00BF8994>()

     } XercesHandler::freeAttributes()

    } XercesHandler::freeElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00000000 )

    { XercesHandler::endElement<00BF8994>(00BFFD58 [58FFFFFFFD] <X.>,
00C2FB40 [40FFFFFFFB] <@.>, 00C2C458 [58FFFFFFC4] <X.>)

    } XercesHandler::endElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0068FFFFFFE9120068FFFFFFE91200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF00FFFFFFC4FFFFFFE91200FFFFFFF8FFFFFFE9FFFFFFC200FFF
FFFC4FFFFFFE91200] <....h...h...a...................>)

   } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFD8FFFFFFE9FFF
FFFC2010CFFFFFFEA1200FFFFFFD7FFFFFFC8011000000000FFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFF8F21347C] <.............................!4|>)

  } SoapDeSerializer::getElementAsInt@3(3)

  { Int::~Int<0012E9C4>()

  } Int::~Int()

  { Integer::~Integer<0012E9C4>()

  } Integer::~Integer()

  { Decimal::~Decimal<0012E9C4>()

  } Decimal::~Decimal()

  { IAnySimpleType::~IAnySimpleType<0012E9C4>()

  } IAnySimpleType::~IAnySimpleType()

  { SoapDeSerializer::getElementAsInt<00BF8858>("days", <null>)

   { XMLParserXerces::next<00BF8980>(false)

    { XercesHandler::freeElement<00BF8994>()

     { XercesHandler::freeAttributes<00BF8994>()

     } XercesHandler::freeAttributes()

    } XercesHandler::freeElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00000000 )

    { XercesHandler::startElement<00BF8994>(00BFFD58 [58FFFFFFFD] <X.>,
00C2FCA8 [FFFFFFA8FFFFFFFC] <..>, 00C2C458 [58FFFFFFC4] <X.>,
[FFFFFFF01C5200] <..R.>)

    } XercesHandler::startElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0068FFFFFFE9120068FFFFFFE91200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF0058FFFFFF88FFFFFFBF00020000000E000000]
<....h...h...a.......X...........>)

   } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF0018FFFFFFEA12010CFFF
FFFEA12000AFFFFFFC8011000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF03000000]
<................................>)

   { SoapDeSerializer::getXSDType<00BF8858>(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF03000000FFFFF
FCF1C3A7CFFFFFFE31C3A7C0000000020113D00FFFFFF961E3A7C]
<..............:|..:|.... .=...:|>)

    { URIMapping::getURI(00C2FDB8 [FFFFFFB8] <.>)

    } URIMapping::getURI@1([00000000] <....>)

    { QName::QName<0012E940>()

    } QName::QName()

    { QName::splitQNameString<0012E940>("xsd:int", [3A] <:>)

    } QName::splitQNameString()

    { XMLParserXerces::getNS4Prefix<00BF8980>("xsd")

     { XercesHandler::ns4Prefix<00BF8994>("xsd")

     } XercesHandler::ns4Prefix@1("http://www.w3.org/2001/XMLSchema")

    } XMLParserXerces::getNS4Prefix("http://www.w3.org/2001/XMLSchema")

    { URIMapping::getURI(00C2D708 [08] <.>)

    } URIMapping::getURI@1([01000000] <....>)

    { TypeMapping::map(00C2FE04 [04] <.>)

    } TypeMapping::map@1([02000000] <....>)

    { QName::mergeQNameString<0012E940>([3A] <:>)

    } QName::mergeQNameString()

   } SoapDeSerializer::getXSDType@2([02000000] <....>)

   { QName::~QName<0012E940>()

   } QName::~QName()

   { XMLParserXerces::next<00BF8980>(true)

    { XercesHandler::freeElement<00BF8994>()

     { XercesHandler::freeAttributes<00BF8994>()

     } XercesHandler::freeAttributes()

    } XercesHandler::freeElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00000000 )

    { XercesHandler::characters<00BF8994>(00BFB070 [70FFFFFFB0] <p.>, 1)

    } XercesHandler::characters()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0068FFFFFFE9120068FFFFFFE91200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF00000000000200000000FFFFFFEA1200]
<....h...h...a...................>)

   } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFFFFFFFFFFFFFF
FFFFF010CFFFFFFEA12007AFFFFFFC8011001000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFF03000000] <................z...............>)

   { IAnySimpleType::IAnySimpleType<0012E9C4>()

   } IAnySimpleType::IAnySimpleType()

   { Decimal::Decimal<0012E9C4>()

   } Decimal::Decimal()

   { Integer::Integer<0012E9C4>()

   } Integer::Integer()

   { Int::Int<0012E9C4>()

   } Int::Int()

   { Int::deserializeInt<0012E9C4>("0")

    { Long::deserializeLong<0012E9C4>("0")

     { Integer::deserialize<0012E9C4>("0")

      { Integer::deserializeInteger<0012E9C4>("0")

      } Integer::deserializeInteger(00C2FBF0
[FFFFFFF0FFFFFFFBFFFFFFC20009FFFFFFFDFFFFFFC200] <........>)

     } Integer::deserialize(00C2FBF0 [FFFFFFF0] <.>)

    } Long::deserializeLong(00C2FBF0
[FFFFFFF0FFFFFFFBFFFFFFC20068FFFFFFE91200] <....h...>)

   } Int::deserializeInt(00C2FD60 [60FFFFFFFDFFFFFFC200] <`...>)

   { XMLParserXerces::next<00BF8980>(false)

    { XercesHandler::freeElement<00BF8994>()

     { XercesHandler::freeAttributes<00BF8994>()

     } XercesHandler::freeAttributes()

    } XercesHandler::freeElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00000000 )

    { XercesHandler::endElement<00BF8994>(00BFFD58 [58FFFFFFFD] <X.>,
00C2FCA8 [FFFFFFA8FFFFFFFC] <..>, 00C2C458 [58FFFFFFC4] <X.>)

    } XercesHandler::endElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0068FFFFFFE9120068FFFFFFE91200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF00FFFFFFC4FFFFFFE9120060FFFFFFFDFFFFFFC200FFFFFFC4F
FFFFFE91200] <....h...h...a...........`.......>)

   } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFF0FFFFFFFBFFF
FFFC2010CFFFFFFEA1200FFFFFFD7FFFFFFC8011000000000FFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFF03000000] <................................>)

  } SoapDeSerializer::getElementAsInt@3(0)

  { Int::~Int<0012E9C4>()

  } Int::~Int()

  { Integer::~Integer<0012E9C4>()

  } Integer::~Integer()

  { Decimal::~Decimal<0012E9C4>()

  } Decimal::~Decimal()

  { IAnySimpleType::~IAnySimpleType<0012E9C4>()

  } IAnySimpleType::~IAnySimpleType()

  { SoapDeSerializer::getCmplxArray<00BF8858>(63001406 [06] <.>,
630012B7 [FFFFFFB7] <.>, 6300134D [4D] <M>, 630012CB [FFFFFFCB] <.>,
"keyTblRecs", "http://objects.ca")

   { XMLParserXerces::next<00BF8980>(false)

    { XercesHandler::freeElement<00BF8994>()

     { XercesHandler::freeAttributes<00BF8994>()

     } XercesHandler::freeAttributes()

    } XercesHandler::freeElement()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00000000 )

    { XercesHandler::startPrefixMapping<00BF8994>(00C2C368 [68FFFFFFC3]
<h.>, 00C2C398 [FFFFFF98FFFFFFC3] <..>)

    } XercesHandler::startPrefixMapping()

    { XercesHandler::startElement<00BF8994>(00BFFD58 [58FFFFFFFD] <X.>,
00C2FFD0 [FFFFFFD0FFFFFFFF] <..>, 00C2C458 [58FFFFFFC4] <X.>,
[FFFFFFF01C5200] <..R.>)

    } XercesHandler::startElement()

    { XercesHandler::endElement<00BF8994>(00BFFD58 [58FFFFFFFD] <X.>,
00C2FFD0 [FFFFFFD0FFFFFFFF] <..>, 00C2C458 [58FFFFFFC4] <X.>)

    } XercesHandler::endElement()

    { XercesHandler::endPrefixMapping<00BF8994>(00C30190 [FFFFFF9001]
<..>)

    } XercesHandler::endPrefixMapping()

    { XercesHandler::getAnyElement<00BF8994>()

    } XercesHandler::getAnyElement(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF0074FFFFFFE9120074FFFFFFE91200611FFFFFFFCE00FFF
FFF80FFFFFF89FFFFFFBF000100000014FFFFFFEA12000E000000]
<....t...t...a...................>)

   } XMLParserXerces::next@1(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFF98FFFFFF8AFFFFFFBF0018FFFFFFEA1201FFFFF
FF8FFFFFFE912007228011000000000FFFFFFE31C3A7C00000000]
<................r(........:|....>)

   { SoapDeSerializer::getArraySize<00BF8858>(00BF8A98
[FFFFFF98FFFFFF8AFFFFFFBF00FFFFFFE31C3A7C0000000020113D00FFFFFF961E3A7C0
100000000000000FFFFFFF7250710] <......:|.... .=...:|.........%..>)

    { URIMapping::getURI(00C309E8 [FFFFFFE8] <.>)

    } URIMapping::getURI@1([00000000] <....>)

    { URIMapping::getURI(00C30A80 [FFFFFF80] <.>)

    } URIMapping::getURI@1([00000000] <....>)

   } SoapDeSerializer::getArraySize@3(0)

  } SoapDeSerializer::getCmplxArray@12([0000000000000000] <........>)

  { SoapDeSerializer::getElementAsInt<00BF8858>("status", <null>)

  } SoapDeSerializer::getElementAsInt@1(0)

  { SoapDeSerializer::getElementAsInt<00BF8858>("violationCode", <null>)

  } SoapDeSerializer::getElementAsInt@1(0)

  { SoapDeSerializer::getStatus()

  } SoapDeSerializer::getStatus(-1)

 } SoapDeSerializer::getCmplxObject@8(00000000 )

} Call::getCmplxObject(00000000 )

 

This is the response from tcpmon

 


==== Response ====

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: text/xml;charset=utf-8

Transfer-Encoding: chunked

Date: Mon, 31 Jan 2005 21:42:54 GMT

 

2b9

<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:verifyLicenseResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:ca">

         <verifyLicenseReturn xsi:type="ns1:VerificationResults">

            <dayCheck xsi:type="xsd:int">3</dayCheck>

            <days xsi:type="xsd:int">0</days>

            <keyTblRecs xsi:type="ns2:KeyTableRecord" xsi:nil="true"
xmlns:ns2="http://objects.ca"/>

            <status xsi:type="xsd:int">2003</status>

            <violationCode xsi:type="xsd:int">2005</violationCode>

         </verifyLicenseReturn>

      </ns1:verifyLicenseResponse>

   </soapenv:Body></soapenv:Envelope>

0

 

 

==============

 

There is no KeyTableRecord as it is nil.

 

Vince.

-----Original Message-----
From: Jairam, Roopnaraine 
Sent: Tuesday, January 18, 2005 3:12 PM
To: Apache AXIS C Developers List
Subject: RE: Fw: Returning Complex Object which contains an array is
always null

 

Fred:

 

I tried the latest axis download but the problem still occurs. The

return object is null.

 

Vince.

 

-----Original Message-----

From: Fred Preston [mailto:PRESTONF@uk.ibm.com] 

Sent: Tuesday, January 18, 2005 12:21 PM

To: Apache AXIS C Developers List

Subject: RE: Fw: Returning Complex Object which contains an array is

always null

 

 

 

 

 

Hi Roopnaraine,

      I've fixed one problem with Complex Objects.  It might be worth

trying the latest download to see if it fixes your problem (I'm still

working my way through to testing your particular problem, but it

sounded

similar to someone else's problem that I've just fixed).

 

Regards,

 

Fred Preston.

 

 

 

 

 

                      "Jairam,

 

                      Roopnaraine"             To:       Fred

Preston/UK/IBM@IBMGB                                                   

                      <Roopnaraine.Jair        cc:

<axis-c-dev@ws.apache.org>, <axis-c-dev-help@ws.apache.org>

 

                      am@ca.com>               Subject:  RE: Fw:

Returning Complex Object which contains an array is always null     

 

 

                      12/01/05 15:45

 

                      Please respond to

 

                      "Apache AXIS C

 

                      Developers List"

 

 

 

 

 

 

Fred:

 

Still having problems :( The client is trying to make a call to

verifyLicense which takes a string, int, and

ArrayOf_tns2_KeyTableRecord,

it should then return a VerificationResults object which contains an

int,

int, an ArrayOf_tns2_KeyTableRecord, int, and finally an int.

 

Below is the tcpmon request and response from the server.

 

 

 

 

 

 ==============

 

 Listen Port: 8080

 

 Target Host: 127.0.0.1

 

 Target Port: 80

 

 ==== Request ====

 

 POST /axis/services/LicenseSystem HTTP/1.1

 

 Host: 127.0.0.1:8080

 

 Content-Type: text/xml; charset=UTF-8

 

 SOAPAction: ""

 

 Content-Length: 774

 

 

 

 <?xml version='1.0' encoding='utf-8' ?>

 

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="

 

 http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="

 

 http://www.w3.org/2001/XMLSchema" xmlns:xsi="

 

 http://www.w3.org/2001/XMLSchema-instance">

 

       <SOAP-ENV:Body>

 

          <ns1:verifyLicense xmlns:ns1="urn:ca">

 

             <in0

 

 xsi:type="xsd:string">bf86f1a2-f0d3-4bdd-8fd8-ed20e1d396a3</in0>

 

             <in1 xsi:type="xsd:int">1</in1>

 

             <in2Array

xmlns:enc="http://www.w3.org/2001/06/soap-encoding"  

 xmlns:ns2="http://objects.ca" enc:arrayType="ns2:in2[1]">

 

                <KeyTableRecord>

 

                   <componentCode xsi:type="xsd:int">1</componentCode>

 

                   <key xsi:type="xsd:string">RM2CCX5UCXXX8YXXOX41</key>

 

                   <startDate

 

 xsi:type="xsd:dateTime">2005-01-10T19:00:00Z</startDate>

 

                </KeyTableRecord>

 

             </in2Array>

 

          </ns1:verifyLicense>

 

       </SOAP-ENV:Body>

 

    </SOAP-ENV:Envelope>==== Response ====

 

 HTTP/1.1 200 OK

 

 Server: Apache-Coyote/1.1

 

 Content-Type: text/xml;charset=utf-8

 

 Transfer-Encoding: chunked

 

 Date: Wed, 12 Jan 2005 15:19:09 GMT

 

 

 

 2bb

 

 <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:verifyLicenseResponse soapenv:encodingStyle="

 

 http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:ca">

 

          <verifyLicenseReturn xsi:type="ns1:VerificationResults">

 

             <dayCheck xsi:type="xsd:int">3</dayCheck>

 

             <days xsi:type="xsd:int">364</days>

 

             <keyTblRecs xsi:type="ns2:KeyTableRecord" xsi:nil="true"

 

 xmlns:ns2="http://objects.ca"/>

 

             <status xsi:type="xsd:int">2000</status>

 

             <violationCode xsi:type="xsd:int">2002</violationCode>

 

          </verifyLicenseReturn>

 

       </ns1:verifyLicenseResponse>

 

    </soapenv:Body></soapenv:Envelope>

 

 0

 

 

 

 

 

 ==============

 

 

 

 

 

 

Thanks for the help

 

Vince.

 

-----Original Message-----

From: Fred Preston [mailto:PRESTONF@uk.ibm.com]

Sent: Wednesday, January 12, 2005 7:28 AM

To: Jairam, Roopnaraine

Cc: axis-c-dev-help@ws.apache.org

Subject: Re: Fw: Returning Complex Object which contains an array is

always

null

 

 

 

 

 

Hi Jairam,

      Sorry to hear that you where having problems with complex objects.

Are you still having problems?  If so, can you give me more details so

that

I can attempt to reproduce your problem here.  I will need to know the

call

and its associated parameters and the expected response (the simplest

way

to do this is to give me your servers TCPIP response message 'on the

wire'

which is failing to be deserialised correctly).

 

Regards,

 

Fred Preston.

-----Original Message-----

From: Jairam, Roopnaraine [mailto:Roopnaraine.Jairam@ca.com]

Sent: Tuesday, January 11, 2005 12:19 PM

To: Apache AXIS C User List

Cc: axis-c-dev-help@ws.apache.org

Subject: Returning Complex Object which contains an array is always null

 

      My web service is Axis Java 1.2RC2 and the client code is

      Axis-c-1-4-win32 when the web service returns a complex object

which

      contains an array. The service is always returning NULL.

 

      My wsdl is below

 

 

|-----------------------------------------------------------------------

---|

|<?xml version="1.0" encoding="UTF-8"?>

|

|<wsdl:definitions targetNamespace="urn:ca" 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 created by Apache Axis version: 1.2RC2

|

|Built on Nov 16, 2004 (12:19:44 EST)-->

|

| <wsdl:types>

|

|  <schema targetNamespace="http://objects.ca" xmlns="

|

|http://www.w3.org/2001/XMLSchema">

|

|   <import namespace="urn:ca"/>

|

|   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>

|

|   <complexType name="ClientTableRecord">

|

|    <sequence>

|

|     <element name="address1" nillable="true" type="xsd:string"/>

|

|     <element name="address2" nillable="true" type="xsd:string"/>

|

|     <element name="city" nillable="true" type="xsd:string"/>

|

|     <element name="clientID" nillable="true" type="xsd:string"/>

|

|     <element name="country" nillable="true" type="xsd:string"/>

|

|     <element name="email" nillable="true" type="xsd:string"/>

|

|     <element name="firstName" nillable="true" type="xsd:string"/>

|

|     <element name="lastName" nillable="true" type="xsd:string"/>

|

|     <element name="passwordHash" nillable="true" type="xsd:string"/>

|

|     <element name="passwordRemember" nillable="true"

type="xsd:string"/>

|

|     <element name="phoneNumber" nillable="true" type="xsd:string"/>

|

|     <element name="state" nillable="true" type="xsd:string"/>

|

|     <element name="zip1" nillable="true" type="xsd:string"/>

|

|     <element name="zip2" nillable="true" type="xsd:string"/>

|

|    </sequence>

|

|   </complexType>

|

|   <complexType name="KeyTableRecord">

|

|    <sequence>

|

|     <element name="componentCode" type="xsd:int"/>

|

|     <element name="key" nillable="true" type="xsd:string"/>

|

|     <element name="startDate" nillable="true" type="xsd:dateTime"/>

|

|    </sequence>

|

|   </complexType>

|

|  </schema>

|

|  <schema targetNamespace="urn:ca" xmlns="

http://www.w3.org/2001/XMLSchema|

|">

|

|   <import namespace="http://objects.ca"/>

|

|   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>

|

|   <complexType name="RegistrationResults">

|

|    <sequence>

|

|     <element name="clientID" nillable="true" type="xsd:string"/>

|

|     <element name="key" nillable="true" type="xsd:string"/>

|

|     <element name="status" type="xsd:int"/>

|

|    </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="dayCheck" type="xsd:int"/>

|

|     <element name="days" type="xsd:int"/>

|

|     <element name="keyTblRecs" nillable="true"

|

|type="impl:ArrayOf_tns2_KeyTableRecord"/>

|

|     <element name="status" type="xsd:int"/>

|

|     <element name="violationCode" 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:KeyTableRecord"/>

|

|

|

|   </wsdl:message>

|

|

|

|   <wsdl:message name="verifyLicenseRequest">

|

|

|

|      <wsdl:part name="in0" type="xsd:string"/>

|

|

|

|      <wsdl:part name="in1" type="xsd:int"/>

|

|

|

|      <wsdl:part name="in2" type="impl:ArrayOf_tns2_KeyTableRecord"/>

|

|

|

|   </wsdl:message>

|

|

|

|   <wsdl:message name="verifyLicenseResponse">

|

|

|

|      <wsdl:part name="verifyLicenseReturn"

|

|type="impl:VerificationResults"/>

|

|

|

|   </wsdl:message>

|

|

|

|   <wsdl:message name="registerLicenseResponse">

|

|

|

|      <wsdl:part name="registerLicenseReturn"

|

|type="impl:RegistrationResults"/>

|

|

|

|   </wsdl:message>

|

|

|

|   <wsdl:portType name="LicenseSystem">

|

|

|

|      <wsdl:operation name="registerLicense" parameterOrder="in0 in1">

|

|

|

|         <wsdl:input message="impl:registerLicenseRequest"

|

|name="registerLicenseRequest"/>

|

|

|

|         <wsdl:output message="impl:registerLicenseResponse"

|

|name="registerLicenseResponse"/>

|

|

|

|      </wsdl:operation>

|

|

|

|      <wsdl:operation name="verifyLicense" parameterOrder="in0 in1

in2">

|

|

|

|         <wsdl:input message="impl:verifyLicenseRequest"

|

|name="verifyLicenseRequest"/>

|

|

|

|         <wsdl:output message="impl:verifyLicenseResponse"

|

|name="verifyLicenseResponse"/>

|

|

|

|      </wsdl:operation>

|

|

|

|   </wsdl:portType>

|

|

|

|   <wsdl:binding name="LicenseSystemSoapBinding"

|

|type="impl:LicenseSystem">

|

|

|

|      <wsdlsoap:binding style="rpc" transport="

|

|http://schemas.xmlsoap.org/soap/http"/>

|

|

|

|      <wsdl:operation name="registerLicense">

|

|

|

|         <wsdlsoap:operation soapAction=""/>

|

|

|

|         <wsdl:input name="registerLicenseRequest">

|

|

|

|            <wsdlsoap:body encodingStyle="

|

|http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca"

|

|use="encoded"/>

|

|

|

|         </wsdl:input>

|

|

|

|         <wsdl:output name="registerLicenseResponse">

|

|

|

|            <wsdlsoap:body encodingStyle="

|

|http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca"

|

|use="encoded"/>

|

|

|

|         </wsdl:output>

|

|

|

|      </wsdl:operation>

|

|

|

|      <wsdl:operation name="verifyLicense">

|

|

|

|         <wsdlsoap:operation soapAction=""/>

|

|

|

|         <wsdl:input name="verifyLicenseRequest">

|

|

|

|            <wsdlsoap:body encodingStyle="

|

|http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca"

|

|use="encoded"/>

|

|

|

|         </wsdl:input>

|

|

|

|         <wsdl:output name="verifyLicenseResponse">

|

|

|

|            <wsdlsoap:body encodingStyle="

|

|http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:ca"

|

|use="encoded"/>

|

|

|

|         </wsdl:output>

|

|

|

|      </wsdl:operation>

|

|

|

|   </wsdl:binding>

|

|

|

|   <wsdl:service name="LicenseSystemService">

|

|

|

|      <wsdl:port binding="impl:LicenseSystemSoapBinding"

|

|name="LicenseSystem">

|

|

|

|         <wsdlsoap:address location="

|

|http://eav-rack7-bot3/axis/services/LicenseSystem"/>

|

|

|

|      </wsdl:port>

|

|

|

|   </wsdl:service>

|

|

|

|</wsdl:definitions>

|

|-----------------------------------------------------------------------

---|

 

 

 

      Is this a node bug and is there a solution or workaround.

 

      Vince.

 

 

 

 

 


Mime
View raw message