aspose file tools*
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: 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert xml file to javax.xml.soap.SOAPElement [ ] array?