Good Afternoon Jeff-

If you use the WSDL2Java utility you will generate the necessary Java classes 
from the wsdl input ..the name will be
<NameOfWebService>Client.java
where NameOfWebService is the name of the web service (from the name attribute 
of wsdl:portType node)
e.g.
<wsdl:portType name="MessageWebService">

HTH,
Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Scudder, Jeffrey W" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 14, 2006 1:34 PM
Subject: RE: How do I get SOAP Header contents while using Axis2's ServiceClient


I'm afraid I have a couple of new questions. I appreciate your patience
and all the help you've given so far. I'm trying to perform the last two
steps you listed, invoke using operation context, and get the response
from the operation client. I'm afraid I'm at a loss. I don't see a way
to invoke the service using the operation context or the operation
client. How do I make the client call once I have created to outgoing
request envelope?

Thank you,

Jeff 

-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 07, 2006 10:55 PM
To: [email protected]
Subject: Re: How do I get SOAP Header contents while using Axis2's
ServiceClient

yes you have , but you need to use operationClient not the service
client. You have to do the following steps in order to do that;
   - First create a ServiceClient
   - Then create an operation client using the created service client
   - Create Message context
   - Create SOAPEnvelop by your self
   - Add that to message context
   - invoke the service using operation context
   - using operation client you can get the response message context and
response SOAP envelop too.

Scudder, Jeffrey W wrote:

>Hi All,
>
>I am using Axis2 server side to host web services and using Rampart to 
>add outflow security. The client software uses the Axis2 bundled 
>libraries but does not run Tomcat. When I use a ServiceClient object to

>make my request, I get the contents of the SOAP Body, is there a way to

>retrieve the Header from the incoming Envelope as well?
>
>Thank you,
>
>Jeff Scudder
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>

--
Thanks,
Deepal
................................................................
~Future is Open~ 



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


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

Reply via email to