RE: Deploying an EJB as a webservice ( j2sdkee RI EJB container )

2002-11-04 Thread Kevin O'Neill
On Tue, 2002-11-05 at 02:45, Russell Brown wrote: > thanks for the hints. > > I changed the allowedMethods to the two I need to use ( should I add create() ? ) Nope. The current context must have permissions to call create on the entity bean though. > I removed class name and redeployed. Its the

NoSuchMethodError

2002-11-04 Thread Takafumi Sato
Hello, everybody. I have a problem about making WSDL file. When I use Java2WSDL , I get Error like this java.lang.NoSuchMethodError at org.apache.axis.wsdl.fromJava.Types.writeWsdlTypesElement(Types.java: 458) at org.apache.axis.wsdl.fromJava.Types.writePartType(Types.java:2

Re: Empty arrays not serialized properly

2002-11-04 Thread Steve Loughran
- Original Message - From: "Martin Jericho" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 3:20 PM Subject: Re: Empty arrays not serialized properly > I posted a question on Monday on the > microsoft.public.dotnet.framework.aspnet.webservices newsgroup, title

Re: Empty arrays not serialized properly

2002-11-04 Thread Martin Jericho
I posted a question on Monday on the microsoft.public.dotnet.framework.aspnet.webservices newsgroup, titled "Bug parsing zero-length arrays". So far there is not reply, but the group is monitored by microsoft people. If you are a MSDN subscriber or have a support agreement, you might have more lu

Re: Custom Exception handling

2002-11-04 Thread Steve Loughran
- Original Message - From: "Patrick Peralta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 10:39 AM Subject: Custom Exception handling > Hello List, > > I have a question about Axis and exception handling. I defined a service > that throws my own custom exc

RE: SOAP Header

2002-11-04 Thread St-Germain, Sylvain
Once the patch submitted in http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13618 is integrated you will be happy to have all the complexTypes your WSDL contains generated... ;-) This patch will prevent you from handling the header yourself, the portType will cache them for you and roundtrip t

RE: Please help me get started

2002-11-04 Thread Stuart Halloway \(DevelopMentor\)
Hi Darrell, You need to set the classpath to include the jars listed in the User's Guide at [1]. If you are coming over from .NET I would strongly recommend that you spend some time learning Ant [2]. Once you understand Ant's purpose and syntax the combination of the html Axis documentation plus

SOAP Header

2002-11-04 Thread Bill Richards
Hello all, I used WSDL2Java to create my classes and stubs from a WSDL file. The service I am calling requires a certain header to be set. WSDL2Java creates a class for the header object, but I'm not sure how to add that object to the header. I found a way around it, by creating a SOAPHeaderEleme

Re: Please help me get started

2002-11-04 Thread Darrell Gamble
Hi Frank, Thanks for responding.  Hope you can help.  after going threw all 7 steps and typing java samples.stock.GetQuote -lhttp://localhost:2003/axis/servlet/AxisServlet I get an exception in thread main no class def found...  error.  I am on port 2003 and yes have tried it without the user and

Axis client consuming SOAP::Lite service, complex types

2002-11-04 Thread Heaton,William B.
Hi, I have a web service I wrote in Perl using SOAP::Lite. I've used Axis before to consume really simple Perl web services that perform echoString and HelloWorld type functionality, however, this time I've built a web service in SOAP::Lite that returns some complex types. I am trying to bui

Custom Exception handling

2002-11-04 Thread Patrick Peralta
Hello List, I have a question about Axis and exception handling. I defined a service that throws my own custom exception as follows: public interface PtrBroker extends Remote { public abstract Ptr getPtr(long id) throws PtrException, RemoteException; } PtrException is a simple class that exte

Re: Axis performance, additional info

2002-11-04 Thread David . Pool
Martin, I read your "Performance problems" post with great interest. As a few people have reported, there are some performance problems, although I'm not surprised given that Axis is only 1.0 product at this point. Hopefully these will be ironed out soon. "Martin Jericho" <[EMAIL PROTECTE

what should I expect, performance-wise?

2002-11-04 Thread Matt Munz
Hi all, I'm trying to determine what I can and cannot use axis for. I've created a simple test object that has a method that returns a String (20 chars), and another method that returns an int. I'm currently averaging .37 seconds to retrieve the String and .14 seconds to retrieve the int, via

Re: Deploying an EJB as a webservice ( j2sdkee RI EJB container )

2002-11-04 Thread objectman
Russell Brown wrote: > > thanks for the hints. > > I changed the allowedMethods to the two I need to use ( should I add create() ? ) > > I removed class name and redeployed. Its the same. > > I have a rather steep learning curve on all this ( just done the basic Java course >and years of coldF

RE: Deploying an EJB as a webservice ( j2sdkee RI EJB container )

2002-11-04 Thread Russell Brown
thanks for the hints. I changed the allowedMethods to the two I need to use ( should I add create() ? ) I removed class name and redeployed. Its the same. I have a rather steep learning curve on all this ( just done the basic Java course and years of coldFusion, leapt into J2EE and web services

Message style, XSD and WSDL?

2002-11-04 Thread Peter Haensgen
Hi there, I have a general question about presenting type information in the WSDL documents. For RPC style services, this is obtained from the Java code via reflection. But how does this work for Message services (the services that take Element[] as arguments)? When I obtain the WSDL for the "sa

RE: Deploying an EJB as a webservice ( j2sdkee RI EJB container )

2002-11-04 Thread Cédric Chabanois
Some hints : - allowedMethods should not be '*'. This is a bug I have reported (see bug 13808) - I don't think className is useful in wsdd for ejbs. I don't use it But I don't think this is the problem Cédric > Hi Again, > Also, whenever I deploy this EJB it ruins Axis. The list of > servi

Security Manager and Axis

2002-11-04 Thread Baernreuther Rainer
Hi all, I installed Axis V1.0 on my Tomcat 4.0.1 server by simply copying the axis directory into my webapps directory. If I start Tomcat without a Security Manager everything works fine. The trouble begins when the Security Manager comes into play. During the starting process of Tomcat I get two

Re: using a jws instand deployed service from .NET

2002-11-04 Thread Paolo Paganotto
  Hi, I got it working: Looks like the web reference tool form vstudio strips out the port# from the service address, so http://localhost:8080/axis becomes http://localhost/axis.   After setting the Url property for the service object in code to "http://localhost:8080/axis/Ca

Re: Axis performance

2002-11-04 Thread Jesse D. Sightler
Hi David, Yes, that should be configured with the log4j.properties (the one in axis.jar, or any other one that happens to override it). If you are not seeing a ton of debug in the output on the server side, then it is probably set to INFO. :) If it's DEBUG, you really don't have to try to "inclu

about packages

2002-11-04 Thread Paolo Paganotto
Hallo, I have a question whose answer can help several people new with axis/java. I have Tomcat 4.1.12, Axis 1.0 and Java 1.4 I've developed a simple class A that takes in input two strings, login and password, invokes a method of another class B passing to it the two parameters and get back a b

RE: Deploying an EJB as a webservice ( j2sdkee RI EJB container )

2002-11-04 Thread Russell Brown
Hi Again, Also, whenever I deploy this EJB it ruins Axis. The list of services servlet no longer displays ANY deployed services. I just tried a clean install of Tomcat, the j2skee and Axis on a clean machine. Set up the classpath with only the required jars and deployed the bean successfully, I

RE: using a jws instand deployed service from .NET

2002-11-04 Thread ajbanck
Hi, I got it working: Looks like the web reference tool form vstudio strips out the port# from the service address, so http://localhost:8080/axis becomes http://localhost/axis.   After setting the Url property for the service object in code to "http://localhost:8080/axis/Calculator.jws" it

Re: using a jws instand deployed service from .NET

2002-11-04 Thread Paolo Paganotto
  Hello,   I am trying to use a service deployed as .jws to Tomcat 4.1.2 from .NET without success. - I copied the Calculator.java sample as Calculator.jws to the Axis folder. - I compiled the CalcClient.java class and it works fine - I can see the wsdl with http:/

Axis over JMS session management

2002-11-04 Thread ian_roughley
Return Receipt Your Axis over JMS session management document :

SV: SSL-Axis Bug ?

2002-11-04 Thread Stefan Carlsson
Hi again ! Problem solved... I tried with some other releases of axis (some nightly builds to) with no success, so the problem remaines within axis (I find it odd that no one else has encountered this, though...) The solution is to make the JSSESocketFactory implement SecureSocketFactory. By th

RE: Empty arrays not serialized properly

2002-11-04 Thread ajbanck
Thank you, I didn't find that message in my previous search. I tried the empty arrays in .Net framework 1.1 beta, but it isn't fixed. I'll write to Microsoft to ask when this is scheduled to get fixed. Might be best to write a serializer for .Net, I'll try what is the easiest solution. Note that w

Deploying an EJB as a webservice ( j2sdkee RI EJB container )

2002-11-04 Thread Russell Brown
Hi All, I am new to this Apache Axis. Below is my deployment descriptor. I have tested my bean with the bean client I have written and it works fine. However when I deploy it to Axis, no errors occur ( in any of the consoles ) yet when I hit the service url at http://localhost:8080/axis/service

Axis over JMS session management

2002-11-04 Thread Suraj Panicker
Hello friends,   I've implemented a webservice which works fine with Axis over Http. Now, I tried shifting the transport layer to JMS. It works fine during the first invocation. But, for all the later invocations, I find that the AxisServer interprets my request as being from a new session, a