aspose file tools*
The moose likes Web Services and the fly likes Problem of create Web Service Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem of create Web Service Client" Watch "Problem of create Web Service Client" New topic
Author

Problem of create Web Service Client

avseq anthoy
Ranch Hand

Joined: Apr 27, 2004
Posts: 102
Dear all

I use XFIRE 1.2 to create WebService and deploy on TOMCAT 5.0.
This web Service will return Persion Object(Complex type structure)
The code of Persion list as below


The WSDL that created by XFire list as below


I create a Web Service Client.
I call the web Service , and expect it will return Person Object which contains value of age is 25 and value of name is Shara.

But the console output the result as blow


Are there any wrong of my Web Service client ?
The code I write list as below






[ March 07, 2008: Message edited by: avseq anthoy ]
[ March 07, 2008: Message edited by: avseq anthoy ]

My Way,My Pace
A Adamson
Greenhorn

Joined: May 12, 2009
Posts: 1
Did you ever find the answer for the JAXBElement<String> issue?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem of create Web Service Client
 
Similar Threads
How do I return simple object via web services
Exception while deploying webservice on jboss 4.2.1 using jax-ws
problem with validating sax parser
Axis2 - Handlers for SOAP headers
Passing Set<java.lang.Object> and List<java.lang.Object> in Axis 2.0