SOAPElement types and wsdl
1 posts in topic
Flat View  Flat View

Posted By:   Jennifer_Werner
Posted On:   Friday, September 2, 2005 03:09 PM

Hi, I am new to SOAPMessages and I was just wondering if when sending a message do I need to include the xsi:type in the node? For example:


or can I just use this:


If I do need to include the type, how do I do so?
I am working on the client side only, sending a message to an existing web services server. I was also wondering if I need to validate the message with the wsdl before I send it?

Re: SOAPElement types and wsdl

Posted By:   Anonymous  
Posted On:   Saturday, September 3, 2005 10:01 AM

Are you using Axis? You could try to let axis generate your clientside code from the WSDL of the webservice, then you need not worry about the actual xml that will be sent.
Look for axis wsdl2java commandline-tool. There is also an ant task for it.

Good luck!
About | Sitemap | Contact