Accessing Axis service using Axis client (JSP)

2004-06-23 Thread Ruane, Conleth
Hi All. I am currently trying to migrate a SOAP client (JSP page) from Apache SOAP to Axis. I can now successfully send and receive simple messages but I'm having a problem with the deserialization of Complex types. This is the relevant piece of code (adapted from the Axis bidbuy sample):

RE: Accessing Axis using Apache SOAP client (JSP)

2004-06-23 Thread Ruane, Conleth
Thanks for the suggestion Scott. Using the nightly I get a little further... Now the error is " SOAPException: faultCode=SOAP-ENV:Client; msg=Cannot set null value for primitive type int; targetException=java.lang.IllegalArgumentException: Cannot set null value for primitive type int " Using tc

Accessing Axis using Apache SOAP client (JSP)

2004-06-22 Thread Ruane, Conleth
Hi All, I've spent some time trying to solve this problem but without success. I have a JSP page that operates as a SOAP client for a remote SOAP service. Up until now both the client (JSP page) and the SOAP service were implemented using Apache SOAP (current version) and everything worked fine.

RE: Accessing text files in SOAP service folder

2003-06-17 Thread Ruane, Conleth
al Message- From: Ruane, Conleth Sent: 17 June 2003 11:44 To: '[EMAIL PROTECTED]' Subject: RE: Accessing text files in SOAP service folder Thanks again Scott. I just use getServletPath() to establish the "current directory" when the service is running. The problem is

RE: Accessing text files in SOAP service folder

2003-06-17 Thread Ruane, Conleth
se ServletContext#getResource or ServletContext#getResourceAsStream to read the configuration as a "resource" within the webapp. On 16 Jun 2003 at 15:15, Ruane, Conleth wrote: > Thanks Scott. > That helped a lot. I've modified my service so that I can access > the SOAPContext

RE: Accessing text files in SOAP service folder

2003-06-16 Thread Ruane, Conleth
ing a nightly build of Apache SOAP, you can also have your service implement the ConfigurableService interface. This has a method that is called immediately after instantiation of the service. The method receives the webapp and deployment descriptor values as parameters. On 13 Jun 2003 a

Accessing text files in SOAP service folder

2003-06-13 Thread Ruane, Conleth
Hi All. I'm writing my first SOAP service using Apache SOAP. I've run into a problem I can't find a solution for after a lot of searching. I want my service to pull some settings from a text file which is in the same folder as the service classes but if I use just the file name I get a fileNotF