Hi..
 
if I remember correctly message style services take/return a DOM Element (or 
Document) which you can parse/create with the afore-mentioned XmlObject 
methods... ie something  like the following.. 
 
// this method will be defined as "message-style" is axis config/descriptors
public Element myWsMethod( Element elm )
{
    MyInputXmlObject input = MyInputXmlObject.Factory.parse( elm );
    ...cool processing...
 
   
    MyOutputXmlObject output = MyOutputXmlObject.Factory.newInstance();
    ...cooler processing..
    
    // may need some conversion here.. newDomNode does not always return an 
Element
    return (Element) output.newDomNode();
}
 
good luck!
 
/Ole

 
________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Mon 9/26/2005 3:18 PM
To: [email protected]
Subject: RE: XMLBeans and Apache Axis



Thanks for you response. However wouldn't your solution imply that the methods 
invoked in my webservice have a string input and string output defined in the 
schema? 

What about a scenario where the XML Schema is fully defined as part of the 
WSDL? 







"Ole Matzura" <[EMAIL PROTECTED]> 

09/26/2005 09:12 AM 
Please respond to
[email protected]


To
<[email protected]> 
cc
Subject
RE: XMLBeans and Apache Axis    

                




Hi!

an easy approach is to create message-style services with axis and then use 
XmlObject.parse/newDomNode methods to de/serialize to/from XmlObjects in your 
service-methods.. You can use the xmlbeans ant task to create XmlBeans for the 
webservice that you are creating (provided you have the wsdl)..

good luck!

/Ole

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Mon 9/26/2005 3:05 PM
To: [email protected]
Subject: XMLBeans and Apache Axis



Hi, 

Has anyone tried or can anyone point me in the right direction on how to 
integrate XMLBeans with an Apache Axis Webservice? 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] 

<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to