Hi Axis Users, 

I'm currently using Axis2 with xmlbeans as my databinding. 

I have a wsdl file from a company providing a web service that I want to
use. 

I use ant "wsgen" to generate the source files from the wsdl schema

and then I compile my java files to a jar. 

I can build "XXXXDocument" types and XXXXResponseDocument" types

and I can invoke the methods on the stub. 

I see my SOAP message going out over the wire - and I see the response

message returning (using wireshark). 

However - when I try to access the data in the nodes using for example: 

XXXXXResponseDocument.getResponse().getResult().getArray();

- where "getArray" - should return an array of "Items"

- I originally couldn't access anything of type "Array" 

- I altered the wsdl - so that soapenc:Array types were replaced

  by "sequences" - and regenerated and it seems to "work" now

- however - now when I try and access the values in the "Items" 

  (which have an "id" (int), "value"(string) and a "code"(string) ) 

  - I get null. 

- I am using the jar file: axis2-xmlbeans-1.1.1.jar

  --> I don't know the entire history of the project - however I see
that the latest version of xmlbeans is 2.3. 

- so my next step is to try the latest version of xmlbeans. 

- however - if there are any known issues with this configuration (where
would I find a list like that?) 

- or you could make any recommendations - they would be greatly
appreciated. 


Best regards, 



David 











-- 

David Swensen
Software Entwickler.

freiheit.com technologies gmbh
Straßenbahnring 22 / 20251 Hamburg, Germany
fon   +49 (0)40 / 890584-0
fax   +49 (0)40 / 890584-20
HRB Hamburg 70814

86F7 0928 CFE3 8953 3652  71E3 202B AFEA 84DE 850B
Geschäftsführer: Claudia Dietze, Stefan Richter, Jörg Kirchhof


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to