Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing complex types as parameters to a web service.  RSS feed

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

How can i pass a complex type in place of a XSD:ANY parameter? The use case is like this:

The webservice has exposed following method.
public String getAccountBalance(String customerName, String customerID,
SOAPElement _any);

I want to invoke this method on the webservice. I have no idea how to pass a complex data type as SOAPElement from the client.

I am using axis 1.2.

Any help/directions on this shall greatly help.

We're all out of roofs. But we still have tiny ads:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!