aspose file tools
The moose likes Web Services and the fly likes How can i get the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How can i get the "type" from a WSDL "message" ?" Watch "How can i get the "type" from a WSDL "message" ?" New topic

How can i get the "type" from a WSDL "message" ?

Yann Emeraud

Joined: May 03, 2004
Posts: 15

I would like to know if there is a method that catch a type from a WSDL part's element attribute directly.

I have the org.apache.axis.Part named "part".

If the related message is like this:

I know i can write:
QName typeQN = part.getTypeName();
And i get typeQN = {}string

But what to do if the message is like this:

Thanks by advance
[ June 07, 2004: Message edited by: Yann Emeraud ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: How can i get the "type" from a WSDL "message" ?