This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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


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: 2930
    
    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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to convert xml file to javax.xml.soap.SOAPElement [ ] array?
 
It's not a secret anymore!