Supporting both HTTP based and SOAP Header based session

2003-07-14 Thread Agarwal, Naresh
Hi I want to write a Web Service using AXIS, which can support session maintenance through both HTTP cookies and Soap header. Is there any best practice for doing this? I need to deploy my service in session scope in order to support HTTP based session maintenance. However, to support Saop hea

JNI problem

2003-07-14 Thread SEong CHEE
Hi everyone, I tried to use JNI within a Axis service. I had compile the java code to .class file, then created the .h file, also written thet native method implementation in .c file, finally created the shared library. The program can be run successfully, but when I tried to deploy it, I always

Re: Newbie Question: Where to start when no WSDL file provided ?

2003-07-14 Thread Srinath Perera
Hi, have a look at axis user guide, in which there is a example for complex type (about BeanSerialization and custom type mapping.) It has a pointer to associated example. have a look at it regards Srinath On Mon, 2003-07-14 at 15:54, Irial Conroy wrote: > Hi, > > I am trying to talk to a Web Ser

RE: Axis attachment file created in the Temp directory

2003-07-14 Thread Subhendu Kumar mohanty
NO. ManagedMemoryDataSource class of Axis creates temporary files in the file system when we receive the image as attachment and is not deleted . Thanks, Subhendu -Original Message- From: BLIS Webmaster (Patrick Houbaux) [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 5:27 PM To:

Re: Axis attachment file created in the Temp directory

2003-07-14 Thread BLIS Webmaster (Patrick Houbaux)
In the following the SOAPTest service exposes a method testAttachement that send a SOAP message with attachement. The following client call that method, takes the part and delete the file. I don't know if it is what you want but it works fine. public static void main(String [] args) {

RE: Axis attachment file created in the Temp directory

2003-07-14 Thread Subhendu Kumar mohanty
Even if I can not change the directory . What will happen if the job is deleting when somebody is requesting for the image. Is this a limitation of using data handler for attachment in the client side ? Thanks, Subhendu -Original Message- From: BLIS Webmaster (Patrick Houbaux) [mailto:[

RE: another doc/literal issue -- more info

2003-07-14 Thread Davanum Srinivas
Dan, Please add your comments to the bug - http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21519. Otherwise it's going to get lost. The supported use case for doc/lit is to start from a WSDL, use WSDL2Java to generate the server-side, deploy the server-side code and use the auto-generated WSD

RE: another doc/literal issue -- more info

2003-07-14 Thread Dan Kamins
How about this use case: Make an Axis service that exposes various methods as document/literal, and have a .NET client (or other client) access it. That seems like a significant one that I hope we're not brushing under the rug. Does Axis only support straight-XML document/literal or can it do

Re: Axis attachment file created in the Temp directory

2003-07-14 Thread jzhang
How about having a cron job to do that part. This clean up should not be part of application, right? Can Axis cleans this up? "BLIS Webma

Re: Axis attachment file created in the Temp directory

2003-07-14 Thread BLIS Webmaster (Patrick Houbaux)
I guess you have to clean it or move it somewhere else in your client code. Patrick. Subhendu Kumar mohanty wrote: Hi all, I am developing a webservice client which uses Axis. My client app calls an external webservice to get the image.I found that Axis creates temporary files in the system def

Axis attachment file created in the Temp directory

2003-07-14 Thread Subhendu Kumar mohanty
Hi all, I am developing a webservice client which uses Axis. My client app calls an external webservice to get the image.I found that Axis creates temporary files in the system default temporary directory and does not clean up. If anybody has solved this problem please let me know. Thanks, Sub

Control over xsi:type in ArraySerializer?

2003-07-14 Thread Brian Atkins
I am building a client to interface to a service with no WSDL specs available using Axis 1.1. I can model the data any way I want in Java, but eventually need to generate the following serialization: login Username user

SSL on Apache Axis

2003-07-14 Thread Sriram . V
Hi, I am trying out a SOAP sample over Https on Sun ONE with Apache Axis. When doing this process, to get the service call working through SSL i had to set the JVM attributes 'trustStore' and trustStorePassword' Setting System properties is not a cool way of doing it. since i

RE: Message Style Service and Exception Handling

2003-07-14 Thread Bhanu Pabreja
Posted: http://nagoya.apache.org/bugzilla/long_list.cgi?buglist=21578 Bhanu -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 12:23 PM To: Bhanu Pabreja; [EMAIL PROTECTED] Subject: RE: Message Style Service and Exception Handling Please open

Global Resources

2003-07-14 Thread ian_d_stewart
Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EMAIL PROTECTED] (614) 213-6100 -- Forwarded by Ian D Stewart/OH/ONE on 07/14/2003 12:57 PM --- Ian D Stewart 07/14/2003 12:56 PM To: [EMAIL PROTECT

RE: Message Style Service and Exception Handling

2003-07-14 Thread Davanum Srinivas
Please open a bug report - http://ws.apache.org/axis/bugs.html -- dims --- Bhanu Pabreja <[EMAIL PROTECTED]> wrote: > Thanx for the input but this also does not work. Infact no SOAPResponse is > generated on the SOAPMonitor. Looks like in case of message style service > there are no capabilities

Re: Do we have control on threads on which AXIS application runs?

2003-07-14 Thread ian_d_stewart
Naresh, Have you taken a look at the init() and cleanup() methods in org.apache.axis.Handler? Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EMAIL PROTECTED] (614) 213-6100 "Agarwal, Naresh" <[EMAIL PROTECTED]> on 07/14/2003 08:12:3

RE: getOption in handler returns Null !!

2003-07-14 Thread ian_d_stewart
What method are you using to access the parameter? Handler parameters are accessed using the getOption() method from org.apache.axis.Handler HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EMAIL PROTECTED] (614) 213-6100 "Munawa

RE: Message Style Service and Exception Handling

2003-07-14 Thread Bhanu Pabreja
Thanx for the input but this also does not work. Infact no SOAPResponse is generated on the SOAPMonitor. Looks like in case of message style service there are no capabilities to generate SOAPFault which is actually a MUST element by w3c in case of a exception. These are my observations but if som

Re: About Message Style Service(new bie)

2003-07-14 Thread remko de knikker
Shouldn't you make sure that there is an appropiate serializer instead?? This looks like avoiding the problem instead of solving it (which works fine of course)? It looks to me that the getAsDocument() method sh/could be called in the serializer, not in the web service itself. remko Huaming Liu

RE: Trouble with doc/literal wsdl with .NET

2003-07-14 Thread Samprathi, Subramani non Unisys
I get the following error with the sample wsdl file. Schema validation warning: Namespace 'urn:header.wsdl.test' is not available to be referenced in this schema. Schema validation warning: Type 'urn:header.wsdl.test:HeaderType' is not declare d. Warning: Schema could not be validated. Class gene

Re: passing arguments to a web service using a http URL

2003-07-14 Thread Davanum Srinivas
http://marc.theaimsgroup.com/?l=axis-user&m=104827635107857&w=2 --- Peter Ross <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to discover how one passes arguments to a web-service using > the URL. > > For example, I have the following web-service > > xml_fragment get_form(xml_fragment x)

RE: Problem with AXIS 1.1 (Possible Bug)

2003-07-14 Thread Davanum Srinivas
http://www.w3.org/TR/wsdl#_soap:fault --- [EMAIL PROTECTED] wrote: > Dims, > > Thank you for the prompt reply, but could you please explain the logic > behind the change (The change of wsdl:fault element in the Binding part). > > I am not an expert (even by stretching my imagination), hence your

passing arguments to a web service using a http URL

2003-07-14 Thread Peter Ross
Hi, I am trying to discover how one passes arguments to a web-service using the URL. For example, I have the following web-service xml_fragment get_form(xml_fragment x) which of course can be accessed via http://localhost:8080/axis/Servlet/IntelligentForm?method=get_form but what I wa

RE: Problem with AXIS 1.1 (Possible Bug)

2003-07-14 Thread santosh . joshi
Dims, Thank you for the prompt reply, but could you please explain the logic behind the change (The change of wsdl:fault element in the Binding part). I am not an expert (even by stretching my imagination), hence your explanation would help people like me a lot. Hope for a quick one. Regards,

RE: Trouble with doc/literal wsdl with .NET

2003-07-14 Thread Davanum Srinivas
Look at header.wsdl (http://cvs.apache.org/viewcvs/xml-axis/java/test/wsdl/header/) -- dims --- "Samprathi, Subramani non Unisys" <[EMAIL PROTECTED]> wrote: > Thanks Anne, > I got one more problem now.. > I need to add headers for some of my operations.. I changed the WSDL to look > like this: >

RE: Trouble with doc/literal wsdl with .NET

2003-07-14 Thread Samprathi, Subramani non Unisys
Thanks  Anne, I got one more problem now.. I need to add headers for some of my operations.. I changed the WSDL to look like this:   Added a message:     Changed the operation --         http://localhost:8003/axi

RE: Problem with AXIS 1.1 (Possible Bug)

2003-07-14 Thread Davanum Srinivas
--- [EMAIL PROTECTED] wrote: > Experts, > > Please help me. > > Regards, > > Santosh > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 3:23 PM > To: [EMAIL PROTECTED] > Subject: RE: Problem with AXIS 1.1 (Possible Bug) > > > An

Re: Do we have control on threads on which AXIS application runs?

2003-07-14 Thread Benjamin Tomasini
Thread management inside of a servlet container is dangerous. I would investigate a different design. Ben On Mon, 2003-07-14 at 08:12, Agarwal, Naresh wrote: > Hi > > I have developed a Web Service using AXIS deployed in TOMCAT. I have a > requirement in which I need to perform some Init and U

RE: getOption in handler returns Null !!

2003-07-14 Thread Munawar Hussain
-Original Message- From: [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003, 06:58:50 To: [EMAIL PROTECTED] Cc: Subject: getOption in handler returns Null !! Hi, I encountered a strange problem. I am not able to retrieve the parameter from the delpoyed handler. In my handler code, it just r

Re: Un/Deploying web services w/o AdminClient

2003-07-14 Thread Davanum Srinivas
Added to Wiki... --- Peter Ross <[EMAIL PROTECTED]> wrote: > On Fri, Jul 11, 2003 at 12:48:12PM -0700, mzahirovic wrote: > >The interface of the web services is changing constantly so is the > >wsdd file. This is just a part of the ongoing development. > > > >How do you restart just a

Do we have control on threads on which AXIS application runs?

2003-07-14 Thread Agarwal, Naresh
Hi   I have developed a Web Service using AXIS deployed in TOMCAT. I have a requirement in which I need to perform some Init and UnInit operations at the time creation and destruction of threads on which Web Service will run.   So in this case, these threads are spawned and controlled by T

RE: Problem with AXIS 1.1 (Possible Bug)

2003-07-14 Thread santosh . joshi
Experts, Please help me. Regards, Santosh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:23 PM To: [EMAIL PROTECTED] Subject: RE: Problem with AXIS 1.1 (Possible Bug) Anne, As suggested I have amended the wsdl to a good extent an

Re: split wsdl file (WAS: elementFormDefault="qualified" missing)

2003-07-14 Thread Davanum Srinivas
Try multiple files, if it does not work, log a bug -- dims --- Tamas Hauer <[EMAIL PROTECTED]> wrote: > Davanum Srinivas wrote: > > You have 2 choices > > > > Choice #1 - use wsdlFile tag in your wsdd and point it to your original wsdl. See > > http://www.ftponline.com/javapro/2003_02/onlin

Re: Message Style Service and Exception Handling

2003-07-14 Thread Davanum Srinivas
Try this... AxisFault af = AxisFault.makeFault(ex); // Do whatever you want with AxisFault throw af; -- dims --- Bhanu Pabreja <[EMAIL PROTECTED]> wrote: > Hello Everyone, > > I have a MessageStyle service which has the following signatures: > > Document sendData(Docume

Re: Un/Deploying web services w/o AdminClient

2003-07-14 Thread Peter Ross
On Fri, Jul 11, 2003 at 12:48:12PM -0700, mzahirovic wrote: >The interface of the web services is changing constantly so is the >wsdd file. This is just a part of the ongoing development. > >How do you restart just axis application using an ant task? > See http://marc.theaimsgroup.com

Newbie Question: Where to start when no WSDL file provided ?

2003-07-14 Thread Irial Conroy
Hi, I am trying to talk to a Web Service for which no WSDL file is being provided. The company who are providing the Web Service have given me a Word document with the structure of the SOAP requests/responses - they are running Perl SOAP::Lite and from some research on the web it looks like it ma

SOLVED: Tried to invoke method .... The arguments do not match the signature

2003-07-14 Thread Gavriloaie_andrei
Tx a lot Guillaume!!!   Your hints solved my problem. The problem was the different namespaces, one of them never declared. My new deploy.wsdd.xml now looks like this:       name="CodAlloc"    xmlns="http://xml.apache.org/axis/wsdd/"    xmlns:java="http://xml.apache.or

RE: Tried to invoke method .... The arguments do not match the signature

2003-07-14 Thread Munawar Hussain
-Original Message- From: Gavriloaie_andrei Sent: Friday, July 11, 2003, 13:46:12 To: [EMAIL PROTECTED] Cc: Subject: Re: Tried to invoke method The arguments do not match the signature ---Original Message--- From: [EMAIL PROTECTED] Date: Friday, July 11, 2003 10:52:39 To:

split wsdl file (WAS: elementFormDefault="qualified" missing)

2003-07-14 Thread Tamas Hauer
Davanum Srinivas wrote: You have 2 choices Choice #1 - use wsdlFile tag in your wsdd and point it to your original wsdl. See http://www.ftponline.com/javapro/2003_02/online/WSDL_kjones_02_27_03/default_pf.asp for example. This comment made me curious. My wsdl is split into three files: one