[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-user
Subject:    Re: Structure with Array of Structure
From:       Nadir Amra <amra () us ! ibm ! com>
Date:       2007-01-31 8:02:56
Message-ID: OF4F50250D.B10C0B1C-ON86257274.002C1CBA-86257274.002C3A42 () us ! ibm ! com
[Download RAW message or body]

Martin,

In order for us the debug, you need to create a JIRA and attach the wsdl 
and the SOAP response that is causing the problem.

Nadir K. Amra


"Martin Hillmeier" <mhi@tmwr.de> wrote on 01/31/2007 01:59:01 AM:

> My webservice returns a structure that contains an array of structures.
> I use AXIS-C (wsdl2ws-Tool generated classes) to acces this webservice. 
> But always when retrieving the array it's size is 0.
> If the webservice function directly returns an array of structures 
> (not included in another structure) it works fine.
> Is there a bug in AXIS-C or do I something wrong when accessing the 
> array data.
> I tried it with the latest SVN source (2007-01-29).
> I use the following code to read an object of type " 
> WSPhoneBookEntryListWrapper" from webservice.
> This object contains an array of "WSPhoneBookEntry" items.
> When I execute the following code, "size" is always 0 although the 
> webservice has filled
> the array with elements.
> 
> WSPhoneBookEntryListWrapper* pPhonebookList = 
> webservice->listPhoneBookPrivate();
> ArrayOf_tns3_WSPhoneBookEntry* list = 
pPhonebookList->getphoneBookEntries();
> WSPhoneBookEntry_Array* pPhonebookArray = list->getitem();
> int size;
> WSPhoneBookEntry** phonebookEntry = pPhonebookArray->get(size);
> 
> 
> Thanks
> Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic