[axis-user digest] Can't invoke method with multiple arguments

2005-02-15 Thread Youhei Kawada
[EMAIL PROTECTED](B (B[EMAIL PROTECTED]'%9%H$r$*Aw$j$7$^$9!#(B (B $B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B $B!Z%-!<%o!<%I![(B (B (Bdocument/literal$B!"(Brpc/encoded$B!"(Brpc/literal$B!"(Brpc$B!"(Bdocument (B $B!"(Bwrapped$B!"(Bmessage$B!"%5!<%S%9%9

Doubt on AXIS Handlers

2005-02-15 Thread babloosony
Hi, What exactly is a transport handler in AXIS and can anyone please give one real world example of when shall we go for implementing our own transport handlers in AXIS ? Thanks & Regards, Kumar.

re: defining OUT parameter for use by java2wsdl

2005-02-15 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am curious if there is a way to define an OUT parameter for java2wsdl. It appears not to know how to handle javax.xml.rpc.holders.StringHolder, when I use that to define my parameter. Thanx. - -- "Love is mutual self-giving that ends in self-recovery.

problems invoking axis soap from an applet

2005-02-15 Thread Philip Baruc
I've seen acouple of post similiar to this one. I'm trying to invoke axis soap from an applet and i keep getting this error. Caused by: java.security.AccessControlException: access denied \ (java.util.PropertyPermission org.apache.commons.discovery.log.level read) I've seen acouple of people po

RE : problems invoking axis soap from an applet

2005-02-15 Thread Faucher, Christian
Title: Message I am guessing you see this in applet log file.   Axis (client) tries to write its log file.  Since you are running in an applet, it tries to write on the client station.  Since it is not possible to write to the local disk from an applet sandbox, then you get this exception.   O

Re: Doubt on AXIS Handlers

2005-02-15 Thread aveitas
Hi Kumar, Other than the HTTP Transport, Axis also provides a JMS Transport and a Mail Transport. See the following packages for details: org.apache.axis.transport.mail org.apache.axis.transport.jms So instead of communicating SOAP over HTTP, you would communicate SOAP over JMS or SMTP/POP3. A

Is there a way to get the auto-generated WSDL document at compile time?

2005-02-15 Thread Jay Glanville
Hello all. We have a web application that is configured through the server-config.wsdd file. The resulting WSDL file is auto-generated for us by Axis (i.e.: http://localhost/app_ctx/services/webservice?wsdl). So far, everything is working out rather well for us. What we would like to do next is

rpc/literal vs document/literal, and returning a list of objects

2005-02-15 Thread Dan Hobbs
Hello all. I am really struggling to know whether I am heading in the right direction with this project, so any advice would be greatly appreciated. The requirement: a WS-I-compliant web service to wrap an EJB which returns a java.util.Vector of objects. Firstly, I think the WS-I compliance bit

Re: rpc/literal vs document/literal, and returning a list of objects

2005-02-15 Thread Eugene Shershnev
Just one note here. If you require interoperability, you shouldn't use rpc/literal since .Net doesn't support it. You're better off with wrapped/literal which is "a flavour" of document/literal. - Original Message - From: "Dan Hobbs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesd

Re: rpc/literal vs document/literal, and returning a list of objects

2005-02-15 Thread Tom Oinn
Dan, My suggestion would be to use document / literal style. The data structure you describe is easy to define as an XML schema (by hand if you must, but I'd use something like XMLSpy). You can then create the requisite WSDL file referencing this schema, generate the server side Java classes ag

Re: rpc/literal vs document/literal, and returning a list of objects

2005-02-15 Thread Anne Thomas Manes
And just to clarify... The difference between doc/literal and wrapped/literal is in the way you invoke the service -- the contents on the wire (the structure of the SOAP message) will be identical. In doc/literal, you input an object (javabean), and you return an object (javabean). In wrapped/lit

Re: Libraries to build source ?

2005-02-15 Thread Beytullah Yildiz
I tried both j2sdk1.4.2_01 and jdk1.5.0. Some of exceptions are: "IBMJSSESocketFactory.java": Error #: 302 : cannot access class com.ibm.crypto.provider.IBMJCE; java.io.IOException: class not found: class com.ibm.crypto.provider.IBMJCE at line 92, column 62 "BSF.java": Error #: 302 : cannot acces

Re: extend RPCProvider or custom provider; WSDL generation?

2005-02-15 Thread jim hopp
Discovered how to do this in Axis: pluggable providers. Axis's pluggable provider architecture permits you to specify that a service should use your provider rather than the Axis provider. The only doc I found on how to do this was in the code. Here's what I did: Basically you'll need to create

java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Robert Bateman
I have a doc/lit based web service created by WSDL2Java that implements java.rmi.Remote. In my code, I have been asked to remove my hard coding of how I access our Data Bases services and to load init parameters to look that information up. I did a search of the list and found 1 thread from July

Re: rpc/literal vs document/literal, and returning a list of objects

2005-02-15 Thread Praveen Peddi
But what about the doc/literal issues related to returning array of beans. Wouldn't Dan hit the wall at some point. Atleast I hit the wall when I tried to move towards doc/literal. We were using rpc/encoded style before and everything was working great. When I read that rpc/encoded has permance

Re: Returning arrays to .Net (again)

2005-02-15 Thread Praveen Peddi
I think this will solve lot of people's problems (Well atleast mine, as I am still struggling with the issue :)).   Praveen - Original Message - From: Bill Keese To: [EMAIL PROTECTED] Sent: Sunday, February 13, 2005 7:54 PM Subject: Re: Returning arrays to .Net (

RE: rpc/literal vs document/literal, and returning a list of objects

2005-02-15 Thread Dino Chiesa
Returning arrays from AXIS to .NET? Using AXIS v1.1 server, and .NET v1.1 - it works for me. Here's a working sample with code. http://dinoch.dyndns.org:7070/axis/AboutBasics.jsp I know this must be a repeat, but I looked in the archive and did not see it. . . Is the arrays issue specific t

Re: java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Elaine Nance
It is easy to use a Whatever.properties file. Import java.util.Enumeration, java.util.Properties and java.util.ResourceBundle and use the methods from those. If your db is Oracle, otn has exact code samples in the Java samples. Works great. HTH, Elaine Robert Bateman wrote: I have a doc/lit b

Re: java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Robert Bateman
Elaine, You are correct - a properties file would be easier to use. Unfortunately, I'm the "contractor" on the project and the "employees" are using the web.xml file with different configurations to process the same code thru their Testing, QA, Staging and Production environments. They have *lot

Asynchronous/synch service

2005-02-15 Thread Timour Mouratov
Hi all, I'm new to Axis and I'm stuck with problem. I need to add asynchronous communication logic to an existing services, so the services could communicate in sync as it know and async modes. I checked articles on the net and axis proposal to async comm in CVS but I don't think it fits to

Re: java.rmi.Remote Web Services and getInitParameter

2005-02-15 Thread Elaine Nance
Bob, I rummaged a bit and found this link:

Element Name

2005-02-15 Thread Jerome Gagner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm using Axis for web services. I'm using the WSDD method of deployment. I have a question about element names. Axis is currently giving my function arguments the name in0 , in1 in 2, etc, but I would like to be able to give them better names

Axis/.Net interop

2005-02-15 Thread Brian Gladish
In searching the archives I found the following e-mail, but there does not seem to be a resolution.   http://marc.theaimsgroup.com/?l=axis-user&m=106917131020548&w=2   I am running into exactly the same situation.  After deployment Axis presents a WSDL which has xsd:byte[][] for a Java

Re: Axis/.Net interop

2005-02-15 Thread Jerome Gagner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Gladish wrote: > In searching the archives I found the following e-mail, but there does > not seem to be a resolution. > > > > http://marc.theaimsgroup.com/?l=axis-user&m=106917131020548&w=2 >

RE: Axis/.Net interop

2005-02-15 Thread Dino Chiesa
> Use SByte, Java uses signed bytes, .NET's byte is unsigned. Yes, or modify the generated .NET client-side proxy class to return a Byte[][], not SByte[][] . -Original Message- From: Jerome Gagner [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 8:15 PM To: [EMAIL PROTECTED]

Re: RE : problems invoking axis soap from an applet

2005-02-15 Thread Philip Baruc
Is there no alternative to signing the applet? Have there been any bugs posted on axis to take care of this problem? p --- "Faucher, Christian" <[EMAIL PROTECTED]> wrote: > I am guessing you see this in applet log file. > > Axis (client) tries to write its log file. Since > you are running in

Re: Element Name

2005-02-15 Thread Bill Keese
Is there a way to get axis to automatically do something like: Did you use Java2WSDL to generate your WSDD file? Axis might put the correct parameter names in the generated WSDL if the parameter names are specified in the WSDD file.Not sure though.

array of recursive beans (doc/literal style)

2005-02-15 Thread Praveen Peddi
I have a method getRootContainers that returns array of ContainerBean[]. Each ContainerBean has reference to an array of child ContainerBean[]. With Eugene's help I could make the array stuff work. the method sucessfully returns the array of COntainerBean[] and .NET reads it fine. But .NET c

Re: Element Name

2005-02-15 Thread Jerome Gagner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Keese wrote: > >> Is there a way to get axis to automatically do something like: >> >> >> >> >> >> >> >> > Did you use Java2WSDL to generate your WSDD file? Axis might put the > correct parameter names in the generated WSDL if the parame

Minimal production environment for Axis application

2005-02-15 Thread Eugene Prokopiev
Hi, I need minimal production environment for Axis application. For org.apache.axis.transport.http.SimpleAxisServer I read in javadoc: "This is not intended for production use. Its intended uses are for demos, debugging, and performance profiling". Tomcat is complex environment with many built-

Re: IoC for Axis services

2005-02-15 Thread Eugene Prokopiev
How can I use any IoC framework (Spring?) with Axis for storing service configuration? Parameters for handlers is not quite. They are not support complex types and not work with services. http://opensource.atlassian.com/projects/spring/browse/SPR-371