Jay

You simply need to use the ServiceClient to do stubless invocation,
and also be able to create an OMElement from your DataBinding (and
back again).

Suppose you have a StAX stream from the DataBinding:
                XMLStreamReader xsr = null;
                ServiceClient sc = new ServiceClient();
                // configure service client
                sc.getOptions().set...
                // now get OMElement from StAX Stream (Note this doesn't 
actually
build the element so it is efficient)
                StAXOMBuilder builder = new StAXOMBuilder(xsr);
                OMElement response = 
sc.sendReceive(builder.getDocumentElement());
                XMLStreamReader xsr_response = 
response.getXMLStreamReaderWithoutCaching();
                // populate DB from xsr
        
Paul

On Feb 15, 2008 5:06 PM, jaybytez <[EMAIL PROTECTED]> wrote:
>
> Can you do Stubless Web Service Invocation with Axis and use a Databinding
> framework?  I know you can do the stubless web service invocation by using
> its concepts around Axiom to allow the user to build the SOAP Message and
> send the request, then receive the response as an OMElement.  But I was
> wondering if the other supported databinding frameworks like JiBX or JAXB
> could be used in the stubless invocation mode to bind an Object into a SOAP
> Message and then bind the SOAP Response into an Object...or do you always
> have to do this through generating stubs?  So that way I could provide a
> Bean Object to the Axis framework with a reference to a JiBX binding file
> and Axis could use this to build the SOAP Request, and the same thing the
> opposite way for the response.
>
> Thanks - jay
> --
> View this message in context: 
> http://www.nabble.com/Stubless-Web-Service-Invocation-with-Databinding-tp15503125p15503125.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

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

Reply via email to