This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Help with xmlbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Help with xmlbeans" Watch "Help with xmlbeans" New topic
Author

Help with xmlbeans

Amer Seifeddine
Ranch Hand

Joined: Apr 25, 2002
Posts: 57
I have a concern on how to deal with the situation which I have..

I want to consume/send soap messages for any given wsdl file, in a generic approach without having to import packages for every wsdl's generated code. I think this is logically possible since we have the wsdl document and we know how to construct the message based on the given input.. For example,

Input:
Add Object WORKORDER (wonum, description ,location) + wsdl file
Add Object LOCATION (location, description )+ wsdl file
Add Object ASSET (assetnum, description)+ wsdl file

etc..

Process:
Generic XMLBeans processor to send soap messages. I am looking for a process or approach which allows me to use wsdl information which can be used to navigate through the xmlbean object without really importing the real package of the generated source.. Something like reflection..

Output:
SOAP message with below format .. Tags will be taken from the wsdl file:

***************
<WORKORDER>

<wonum>
<description>
<location>

*****************

<LOCATION>
<location>
<description>

******************

Thank you for guiding me on this..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with xmlbeans
 
Similar Threads
SOAP envelope for Web service for newbie
Sample Questions for 288 - Need answers
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
Creating Custom wsdl definition
adding new operation in web service interface