You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by A Yang <ay...@yahoo.ca> on 2005/08/01 04:23:04 UTC

Service Interfaces

Hi there,

I'm just getting started with Axis 2 and I was
wondering whether there were any other Service
interfaces besides:

public OMElement doSomething(OMElement element)?

Axis 1 allows:

public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement []
bodies);
public Document method(Document body);
public void method(SOAPEnvelope req, SOAPEnvelope
resp); 

Is there an OM-ish version of these interfaces? I'm
looking to get the entire SOAP Envelope. 

Actually, this raises another question. From what I
can see, it's the endpoint that determines the
operation to be called. Is that correct? So, when I
use the Call.invokeBlocking(opname, payload) method,
the opname parameter is currently ignored - is this
correct?

Thanks!

Andy

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Axis2] Service Interfaces

Posted by A Yang <ay...@yahoo.ca>.
Oops - didn't realize I should have flagged the subject as
Axis2-specific. Apologies for the repost.

Hi there,
 
I'm just getting started with Axis 2 and I was wondering whether there
were any other Service interfaces besides:

public OMElement doSomething(OMElement element)?

Axis 1 allows:

public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
public Document method(Document body);
public void method(SOAPEnvelope req, SOAPEnvelope resp); 
 
Is there an OM-ish version of these interfaces? I'm looking to get the
entire SOAP Envelope. 
 
Actually, this raises another question. From what I can see, it's the
endpoint that determines the operation to be called. Is that correct?
So, when I use the Call.invokeBlocking(opname, payload) method, the
opname parameter is currently ignored - is this correct?
 
Thanks!

Andy


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com