Re: wsdl2java not including new function

2007-11-02 Thread James Neff
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

wsdl2java not including new function

2007-11-01 Thread James Neff
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

Re: Axis2, Session not keeping. - SOLVED

2007-09-28 Thread James Neff
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

Re: Axis2, Session not keeping.

2007-09-28 Thread James Neff
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

Re: Axis2, Session not keeping.

2007-09-28 Thread James Neff
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:

Axis2, Session not keeping.

2007-09-25 Thread James Neff
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

Re: Axis2 question

2007-09-20 Thread James Neff
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

Re: axis 1.4 not maintaining session

2007-09-05 Thread James Neff
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

axis 1.4 not maintaining session

2007-09-05 Thread James Neff
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