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
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
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
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 =
-- 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
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
[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
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