Re: Stubless Web Service Invocation with Databinding

2008-02-18 Thread Amila Suriarachchi
On Feb 15, 2008 10:36 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

Re: Stubless Web Service Invocation with Databinding

2008-02-18 Thread Paul Fremantle
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

Stubless Web Service Invocation with Databinding

2008-02-15 Thread jaybytez
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

Re: Stubless Web Service Invocation

2007-03-26 Thread Jim Alateras
Paul, I managed to get a little bit down the trasck with your suggestion. Here is the code @Test public void testCreationofSOAPEnvelope() throws Exception { SOAPFactory fac = OMAbstractFactory.getSOAP12Factory(); SOAPEnvelope env = fac.getDefaultEnvelope(); OMNamespace tns1 =

Fwd: Stubless Web Service Invocation

2007-03-26 Thread Paul Fremantle
-- Forwarded message -- From: Paul Fremantle [EMAIL PROTECTED] Date: Mar 26, 2007 3:52 PM Subject: Re: Stubless Web Service Invocation To: [EMAIL PROTECTED] Jim It looks like its not getting the URL from the WSDL correctly. Can you confirm there is a valid endpoint address

Re: Stubless Web Service Invocation

2007-03-23 Thread Paul Fremantle
Jim I'm assuming you know how to create the XML payload of the SOAP body, and parse the response body. OMElement payload = ; ServiceClient sc = new ServiceClient(url-to-service); sc.setAction(SOAPAction); OMElement response = sc.sendReceive(payload); You can also dynamically use the URL

Stubless Web Service Invocation

2007-03-22 Thread Jim Alateras
[resend with a more appropriate subject] I was wondering whether someone could tell me whether axis2 can support stubless (i.e. dynamic stubs) invocation of web services. If so can you pls point me to any resources\examples? cheers /jima

Re: Stubless Web Service Invocation

2007-03-22 Thread Amila Suriarachchi
if you use a POJO. i.e. a service which uses RPCMessageReciever you can use the org.apache.axis2.rpc.client.RPCServiceClient. On 3/23/07, Jim Alateras [EMAIL PROTECTED] wrote: [resend with a more appropriate subject] I was wondering whether someone could tell me whether axis2 can support