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

2005-02-21 Thread Bill Keese
Yeah, I did add those.   Basically, I think this all boils down to a misunderstanding of how Axis works.  What I learned recently is that, if you have an array-wrapper in your WSDL schema definition, so that the XML looks like this:    Bill       123-4546    415-3030   ... then in

Re: NoSuchMethodException when initializing AxisServlet

2005-02-21 Thread Bill Keese
Not sure, but I suspect that your or tags reference a java class that doesn't exist. Jyrki Saarinen wrote: Hello all, I get the following exceptions when org.apache.axis.transport.http.AxisServlet is initialized: java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.ArrayDeserializer

Re: Using Service-specific Handlers on client-side

2005-02-21 Thread Yves Langisch
Can you file a bug report with a test case? We just have the same issue. Yves On Mon, 2005-02-21 at 21:38 -0800, SS wrote: > Hi, > We need to consume web-services from different sources > - some of which need XMLSignatures, some dont. > > We thought that the best way to handle this would be > t

Re: Weblogic 8.1 sp4 NullPointer

2005-02-21 Thread Korhan Gülseven
Hi using xerces instead of what comes in weblogic.jar solved the problem for me with wls 8.1 sp3: -Put xml-apis.jar and xercesImpl.jar into /web-inf/lib -Go http://localhost:7001/axis/happyaxis.jsp Now you should see that xerces is in use: XML Parser:org.apache.xerces.jaxp.SAXParserImpl Korhan

Using Service-specific Handlers on client-side

2005-02-21 Thread SS
Hi, We need to consume web-services from different sources - some of which need XMLSignatures, some dont. We thought that the best way to handle this would be to have service-specific handlers on client side which introduce the signature. But Axis doesnt seem to respect such configuration (althou

Weblogic 8.1 sp4 NullPointer

2005-02-21 Thread Nathaniel G. Auvil
I am trying to deploy the demo Axis Services web app to weblogic 8.1 sp4 and having issues. I followed the instructions on the site to prefer the war local classes by adding the following to weblogic.xml: true but anytime i try to get the WSDL from any of the samples i get the fol

Re: Enumeration problem

2005-02-21 Thread Eugene Shershnev
Even though there is no response to my posting I'll post where I've got to so far.   First of all, copy-paste error was found in the WSDD file: in Priority class type mapping the namespace is wrong - must be xmlns:ns="http://enterprise.ent"   Secondly, to get further I decided to copy axis.jar

Re: building client stubs accessible by MIDlets using ksoap

2005-02-21 Thread Anne Thomas Manes
See also the Mirae project (http://ws.apache.org/mirae/). It's an implementation of JSR172. It includes a WSDL2WS_J2ME tool. - Anne On Mon, 21 Feb 2005 19:29:34 +0100, Ephemeris Lappis <[EMAIL PROTECTED]> wrote: > > I've been testing ksoap few months ago. I didn't use client stubs, but > inste

BindingSkeleton class not found

2005-02-21 Thread pushkar bhatia
Hi I am new to web services and tomcat and axis and trying to deploy a web services with the help of Axis User's Guide instruction.I have done the following steps 1.Created an interface "WidgetPrice " 2.used Java2WSDL tool to create a WSDL file from the interface above. java org.apache.axis.ws

RE: building client stubs accessible by MIDlets using ksoap

2005-02-21 Thread Ephemeris Lappis
I've been testing ksoap few months ago. I didn't use client stubs, but instead the client uses dynamic invocation calls. This seems quite good if the services are rather simple... A new JSR, 172 if i'm right, add web services capabilities to the MIDP platform. The last revision of the SUN's

javax.xml.rpc.JAXRPCException: Null serializer factory specified

2005-02-21 Thread babloosony
Hi All, When I try to use AXIS 1.2 RC2 CASTOR (De)Serializers I am getting below errors. I am using the castor (De)Serializers in my {WEB-APPSHOME}\WEB-INF\lib\axis.jar and these files are built using AXIS CASTOR SOURCE from http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/axis/encodi

RE: Axis Application scope and MBean

2005-02-21 Thread Brown, Mike
I'm not sure if anyone answered your question or not but I want to take a swing at it. Instead of using the MBean directly, create an impl class that accesses the MBean. Just like with EJBs and axis. You use a separate impl class that knows how to get a handle on the EJB and pass the call on to i

problems with xsd:date (client/server act different)

2005-02-21 Thread Jan Heise
Hi all, I have a problem with Axis1.2RC2.1 & xsd:date. The Server is Axis and the Client is generated by wsdl2java. The following snippet is from the wsdl. I have a complex object that has this mapped attribute: When I send a message to the server I get the following exception

Re: Castor (De)Serializers not recognized !

2005-02-21 Thread babloosony
registering means modifing server-config.wsdd to add my service description ... I think at this stage I dont need to worry about stubs since my service itself is not deployed properly and so why would i go ahead in building a client by using stubs. please correct if I am wrong ... On Mon, 21 Feb

Re: Castor (De)Serializers not recognized !

2005-02-21 Thread babloosony
Hi Mike- I downloaded all the source Castor (De)Serializers from http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/axis/encoding/ser/castor/ and compiled them and placed them in WEB-INF\classes directory. This didnt work and so I jarred all the classes and kept in WEB-INF\lib director

RE: Castor (De)Serializers not recognized !

2005-02-21 Thread Brown, Mike
I'll send a copy of the jar that has castor support in it. If I recall correctly you are using Websphere 5.0 so everything should work properly since that is what I'm using as well. -Original Message- From: Brown, Mike [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 11:00 AM To

RE: Castor (De)Serializers not recognized !

2005-02-21 Thread Brown, Mike
You have to rebuild axis putting the castor jars into your axis_home\lib directory. This will generate the org.apache.axis.encoding.ser.CastorSerializerFactory and org.apache.axis.encoding.ser.CastorDeserializerFactory classes. Also make sure to put your App Server's servlet.jar or j2ee.jar into th

RE: Castor (De)Serializers not recognized !

2005-02-21 Thread rutger . lubbers
I thought that deploying invoked the serializer. If that is not set properly in the deploy.wsdd then it throws an error. For correct working of the service, you have to modify the stub itself, since it contains hardcoded references to the (wrong) serializer(s). This can cause errors at deploy time

RE: import namespace

2005-02-21 Thread Dino Chiesa
Title: import namespace Something else is going on.   With the WSDL included below, which has all the "imports" you described (but doesn't actually use them), I don't get the problem you see.  So we need more info.   The full WSDL, or better, a small WSDL that exhibits the problem.        

Desperate - Compilation Error Invoking WebLogic Service

2005-02-21 Thread Ry.
Hi I really need help, I've made a simple Weblogic Jax-Rpc service with an exposed method "worked", which takes two strings and if they match returns "yes" or "no" as a String.  I used WSDL2Java to make the proxy, but when i try to call axis gives me an AxisFault and states compilation errors.   I

import namespace

2005-02-21 Thread aedemar . cooke
Title: import namespace Is there any way of configuring Axis so that the dynamic wsdl generation (http://hostname/WebProject/services//ServiceName?wsdl) does not import my package names as namespaces? When I add a web reference to a .NET client using the wsdl containing the imports, the .NET

RE: Axis 1.2 on J2EE 1.2 - is it possible?

2005-02-21 Thread Dino Chiesa
Sounds like you will get no sessions. But, It says here that Websphere v4 (most flavors) will be supported for another 2 months. http://www-306.ibm.com/software/info/supportlifecycle/list/w.html Looks like you need to switch anyway. -Original Message- From: Kenneth Stephen [mailt

RE: Mapping correctly a array type in a bean

2005-02-21 Thread Dino Chiesa
Is this documented? -Original Message- From: Sebastien Mayemba Mbokoso [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 10:52 AM To: axis-user@ws.apache.org Subject: Re: Mapping correctly a array type in a bean @Praveen Peddi it's not a work around or another hack. No use an

Re: Castor (De)Serializers not recognized !

2005-02-21 Thread babloosony
Harm- Sorry for misunderstanding if any, why would I modify the stubs when I am trying to register my service rather than writing a client to access my service ? I am not yet done with deploying my service ... Or am I doing anything wrong ? On Mon, 21 Feb 2005 16:27:29 +0100, Harm de Laat <[EMA

Re: Castor (De)Serializers not recognized !

2005-02-21 Thread Harm de Laat
Again, did you modify the stub? Did you add the serializer and deserializer? On Mon, 21 Feb 2005 20:25:24 +0530, babloosony <[EMAIL PROTECTED]> wrote: > Castor (De)Serializers not recognized ! > > Hi All, > > I was trying to use Castor as AXIS 1.2 RC2 (De)Serializers and was > following the tut

Re: getting rid of debug messages in logfile

2005-02-21 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tysnes Are Thobias wrote: | Hello! | | Not shure if this help but I had a similar "problem" in JBoss. | server.log spooled giggs of debug information when running Axis. ~ Thank you for your response, that did the trick. - -- "Love is mutual self-giving

Re: Help about Document-Literal WS

2005-02-21 Thread Anne Thomas Manes
Please send all messages associated with Axis to the axis-user list and not to me directly. If Axis process two SOAP body elements as parameters for a single invocation, then Axis is not behaving according to the specification, and it is a bug. It needs to be fixed. What should happen is that jav

Castor (De)Serializers not recognized !

2005-02-21 Thread babloosony
Castor (De)Serializers not recognized ! Hi All, I was trying to use Castor as AXIS 1.2 RC2 (De)Serializers and was following the tutorials http://www-106.ibm.com/developerworks/webservices/library/ws-castor/#getcastor. However when I register my service using below lines in server-config.wsdd, th

why I can't find javax.xml.rpc package

2005-02-21 Thread William Yu
Hi When I use java to develop web service application.After I compiled the source file,then I run the class file,but it always said that: Exception in thread "main" java.lang.NoClassDeferFoundError:javax/xml/rpc/Service But in fact I set the axis' jaxrpc.jar in my classpath How can I work out

building client stubs accessible by MIDlets using ksoap

2005-02-21 Thread Stig Rasmussen
Hi all,   This question is somewhat related to J2ME, so I apologize if this thread is not directly Axis specific.   Obviously you can't use a stub generated by WSDL2Java on J2ME, bacause the CLDC has done away with the entire java.io package from J2SE. So is there a way to build a stub that

JAXB (de)serialization, how to get rid of the manual steps.

2005-02-21 Thread rutger . lubbers
Hi, In order to expose a "JAXB service" (see other mail about JAXB (de)serialization, in the user list) there are a few steps one has to take. These steps are, in short: 1) Generate a "SOAP service", this is actually the implementing class. 2) Invoke Java2WSDL for this "SOAP service", generating

RE: getting rid of debug messages in logfile

2005-02-21 Thread Tysnes Are Thobias
Hello! Not shure if this help but I had a similar "problem" in JBoss. server.log spooled giggs of debug information when running Axis. I had to enter the following in jboss log4j.xml (jboss-3.2.3\server\default\conf) Cheers, Are T. Tysnes -Original Message- From: Jam

JAXB (de)serialization, something useful (?)....

2005-02-21 Thread rutger . lubbers
Hi, we're working on a project where we're using JAXB generated classes as 'business objects'. These objects are then (also) used for serialization into XML. We have a few services that use these JAXB classes, "jaxb services". Now for every JAXB generated object we have a mapping to an schema file

re: getting rid of debug messages in logfile

2005-02-21 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In catalina.out I am getting an enormous number of debug information. How do I go about removing this? In server.xml I don't have anything higher than debug="0" anywhere in the file. Thanx for any help. I am using Axis1.2RC2. - -- "Love is mutual self-g

RE: Need info on (De)Serializers

2005-02-21 Thread rutger . lubbers
We're in the process of integrating our own (de)serializers into a project of ours. You have to register the serializers in the deploy.wsdd, the BindingStub and in the *_Helper files. We've got an ant task that does that for us. I'll try to post our experiences (with JAXB) later today. Cheers,

Problem deserializing arrays of complex types

2005-02-21 Thread Gilles Devaux
Hi, First of all sorry if this subject has already been treated before but I can't find my answer in the archives. I have a problem while deserializing arrays with AXIS 1.1. The serialized message (SOAP) is correct but the other way gives me the following exception: Could not convert LinkType

Re: Need info on (De)Serializers

2005-02-21 Thread Harm de Laat
Also don't forget to change the BindingStub IE: public StockQuoteSOAPBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else {

RE: Need info on (De)Serializers

2005-02-21 Thread Tysnes Are Thobias
Hello, Castor is "custom" (De)Serializers in Axis. Check your (De)Serializer code agains what the Castor peoples has done. You can also read this tutorial on how to use Castor (De)Serializers in Axis: http://www-106.ibm.com/developerworks/webservices/library/ws-castor/ I don't know how you'r cl

Re: Need info on (De)Serializers

2005-02-21 Thread babloosony
Hi Are T. Tysnes, I am implementing my own Axis (De)Serializers. Is my server-config.wsdd file correct. How do I debug axis logs, apis at which point my (De)Serializers are not getting loaded/initialized ? Thanks & Regards, Kumar. On Mon, 21 Feb 2005 12:49:16 +0100, Tysnes Are Thobias <[EMAIL P

RE: Need info on (De)Serializers

2005-02-21 Thread Tysnes Are Thobias
Take a look at the Castor (De)Serializers http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/axis/encod ing/ser/castor/ Cheers, Are T. Tysnes -Original Message- From: babloosony [mailto:[EMAIL PROTECTED] Sent: 21. februar 2005 12:44 To: axis-user@ws.apache.org Subject: Need

Need info on (De)Serializers

2005-02-21 Thread babloosony
Hi All, Is anybody successful in implementing you own Apache Axis (De)Serializers. If so can you please share your experiences like issues you have faced, docs, tutorials, links you have used etc. etc. Basically no matter what I do, how I tweak my server-config.wsdd my custom Axis (De)Serializers

NoSuchMethodException when initializing AxisServlet

2005-02-21 Thread Jyrki Saarinen
Hello all, I get the following exceptions when org.apache.axis.transport.http.AxisServlet is initialized: java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.ArrayDeserializerFactory.(java.lang.Class, javax.xml.namespace.QName) at java.lang.Class.getConstructor0(Class.java:1937)

Newbie: java.lang.IllegalArgumentException: localPart cannot be null

2005-02-21 Thread angeloimm
Hi all.I'm newbie to web service and Axis; i have a problem i have written a very simple Web Service; it's code is: import java.io.Serializable; import org.w3c.dom.Document; public class PersonHandler implements Serializable { /** * Web service esposto. Invocato esso accetta un doc