This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes How to convert xml file to javax.xml.soap.SOAPElement [ ] array? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to convert xml file to javax.xml.soap.SOAPElement [ ] array?" Watch "How to convert xml file to javax.xml.soap.SOAPElement [ ] array?" New topic
Author

How to convert xml file to javax.xml.soap.SOAPElement [ ] array?

navat venu
Ranch Hand

Joined: May 14, 2006
Posts: 66
Hi,

How to convert xml file to javax.xml.soap.SOAPElement [ ] array?

I have an xml file.I have to call a webservice with an input parameter object.This object is java bean containing the variable javax.xml.soap.SOAPElement [ ] array.


-------------------- <br />SCJP 1.4<br />SCWCD 1.4<br />SCBCD 5(in progress)<br /> <br />"Do, what you think that you cannot do"
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Axis 1.x has org.apache.axis.message.MessageElement(org.w3c.dom.Element element) which implements javax.xml.soap.SOAPElement.

See: How to create SOAPElement from existing XML document?


I suspect that you are a victim of xsd:any.
xsd:any: A cautionary tale
Using the <xsd:any/> element for custom serialization
 
wood burning stoves
 
subject: How to convert xml file to javax.xml.soap.SOAPElement [ ] array?