This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
Author

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

Yann Emeraud
Greenhorn

Joined: May 03, 2004
Posts: 15
Hi,

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 = {http://www.w3.org/2000/10/XMLSchema}string

But what to do if the message is like this:


Thanks by advance
[ June 07, 2004: Message edited by: Yann Emeraud ]
 
 
subject: How can i get the "type" from a WSDL "message" ?
 
Similar Threads
KSoap2 question, please reply
H
Empty target namespace with axis1.2
Getting null value as response from .net webservice when calling from java client
JAX-WS generated client request missing SOAP body