File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 ]
I agree. Here's the link:
subject: How can i get the "type" from a WSDL "message" ?
It's not a secret anymore!