espond without
having to have an input parameter?
Thanks,
Jim
James Neff wrote:
Greetings,
I added a function to an existing working axis2 web service.
The new function works when I call it directly from my browser:
http://appserver2:8080/axis2/services/DataLoaderService/GetProcessorSta
Greetings,
I added a function to an existing working axis2 web service.
The new function works when I call it directly from my browser:
http://appserver2:8080/axis2/services/DataLoaderService/GetProcessorStatus
I get the correct response:
1
I tried using the following command to generate
om my understanding of the
documentation for Axis2 you don't need to set ManageSession = true (but
I might be wrong).
Thanks again for this great list. Even though my question wasn't
answered directly reading the responses got me to think about my problem
differently.
--J
Andrew Martin wrote:
...
It looks like you're creating a new client each time you call the
service, so each call would be in a separate session. What happens if
you invoke the service multiple times with the same client object?
How do I do that from a JSP page? Is there an example so
MessageContext().getSessionContext().setProperty(key,
val)
Retrieve it like this:
MessageContext.getCurrentMessageContext().getSessionContext().getProperty(key)
Andrew
James Neff wrote:
in my services.xml I have the attribute scope="TransportSession".
In my client I have this:
in my services.xml I have the attribute scope="TransportSession".
In my client I have this:
myServiceStub stub = new myServiceStub();
myServiceStub.MyMethod myServiceRequest = new myServiceStub .MyMethod();
myServiceRequest .setParameter(parameterValue);
stub._getServiceClient().getOptions().set
You can use Axis without having to go through the Internet.
You have to run the Axis service from your local machine and just
reference http://localhost in your URIs.
Is that what you were looking for?
--James
Sebastian Roschke wrote:
Hi Yve,
can you exactly explain please what you want
keyValue");
if(keyValue==null)msg = "Session state is not being maintained";
else msg += "keyValue= " + keyValue;
return msg;
}
private Session getSession()
{
MessageContext mc = MessageContext.getCurrentContext();
mc.setMaintain
Greetings,
I'm trying to get Axis 1.4 to maintain a session for me.
Here is my Java class:
public class StatefulService {
private String keyValue;//this is the 'state' being
maintained
public String setKey() {
keyValue = "theValue";
return "value was set