Strange automatic sorting happening within MessageElement

2004-09-20 Thread Stephen Chi Zhang
hi all, I came to web services with axis a few months ago, so not sure if any fella has addressed this problem before and had the problem already answerd( I have been searching through the axis mail list for clue though). The problem annoying my for quite a few days without any breakthrought i

Re: Axis: cpp client and java server

2004-09-20 Thread Fabio Cristiano dos Anjos
Hi Santo, I am having a problem like that. The difference is that some times it works and sometimes the client complains. I am using axis 1.2 Beta , and .Net WebService Studio. If you look at the thread "Returning array of complex types you'll see a description of my problem. Please, if you find a

[Fwd: Socket Timeout]

2004-09-20 Thread Alex Chen
I saw there were some discussion about SocketTimeout exception. I would like to know what is causing this, i.e. the server side or the client side. Because when I look at the code snippet suggested by Jonathan Lowe, MyServiceLocator serviceLocator = new MyServiceLocator(); MyPort port = service

RE: axis + mysql

2004-09-20 Thread Vikas Phonsa
> 1) Where I can obtain information about it. I've see apache pages, but I'did not find any tutorial or paper about databases and axis. Ans: There are books out there that explain webservices and axis. Check Amazon.com and axis website also has interesting links ( http://ws.apache.org/axis/java

RE: axis + mysql

2004-09-20 Thread Ivan Vasquez
It is not complicated at all. Since Axis web services are essentially java classes, just install your database, create a connection pool (for performance), add JDBC code for database access and deploy your class as a service. Sounds like you already did almost everything. Now Look into how to de

Loading classes

2004-09-20 Thread Robert Bateman
I'm having a problem with Axis and my Castor generated modules. I've set my wsdd to look for org.apache.axis.encoding.ser.castor.CastorSerializerFactory as I've seen the documentation tell me to. However, in debugging a null serializer problem, I've discovered that the code is attempting to lo

axis + mysql

2004-09-20 Thread Daniel Sánchez Gómez
Hi, I'm interesting in build a Webservice which can insert/delete data into a database. I would like to work with mysql (and axis). I've some questions about it. 1)Where I can obtain information about it. I've see apache pages, but I'did not find any tutorial or paper about databases a

RE: OutOfMemoryException from my Axis client

2004-09-20 Thread James CE Johnson
Hi Thunder, Sorry... We're using Axis 1.1 with JVM 1.4.2_02-b03 on Linux. Our JDOM version, if applicable, is 1.0 Beta 8 or 9. Although bug 4724129 sounds applicable I would expect they fixed that by now. The problem really shows up with the multi-meg response. I suspect it happens with all respo

nightly builds?

2004-09-20 Thread Jonathan Colwell
I just grabbed the nightly build from this morning, and while the bundle timestamp axis-bin-1_2beta3.zip indicates 20-Sep-2004 00:01 all the files within are shown as being from 31 August. I am interested in a change made in early September and while I have successfully built AXIS from source that

RE: OutOfMemoryException from my Axis client

2004-09-20 Thread Parley, Thunder Jon
Hi James, You did not mention the Axis or Java version you are using. See if this applies to your current use: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724129 --Thunder -Original Message- From: James CE Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 8:57

OutOfMemoryException from my Axis client

2004-09-20 Thread James CE Johnson
Has anybody else seen anything like this? I've got an Axis-based server (Server "A") that must call another Axis-based server (Server "B"). In testing we discovered that Server A was running out of memory. Upon tracking it down we discovered that the bits of Server A that are client to Server B ar

Re: WS call another WS

2004-09-20 Thread Paul Callahan
i have a webservice calling another webservice, and my client wsdd is deployed within web-inf/classes while my server config wsdd is in /web-inf. hope that helps. -pc - Original Message - From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Mon, 20 Sep 2004 14:06:45 +0100 Subject: Re: WS c

Axis: cpp client and java server

2004-09-20 Thread Santo Amendola
In the axis 1.2 final source it seams that the problem is fixed. But we have alwais the error.

Help on attachments!!

2004-09-20 Thread Shahi, Ashutosh
Hi all, Some help needed on attachments.  I have an input stream which has a soap message along with attachments i.e., basically a MIME message.  How do i read this input stream into a Message (or SOAPMessage). I have seen many examples, where the attachments were created later on, once

Axis: cpp client and java server

2004-09-20 Thread Santo Amendola
Hi, we try to develop a cpp client with visual studio 6 that contact a j= ava web service. using axis 1.2 final. But we have an error. In the soa= p response we have sone extra char and the client crash. someone has s= olved this problem? who? thank in advance --Santo p.s. The soap re= sponse is

Re: No serializer found

2004-09-20 Thread Robert Bateman
Also, are you running inside Tomcat with the -security option set? I remember seeing that there is a problem(?) with serializers and deserializers when -security is invoked. Though, I could have been reading about Axis 1.1 and not 1.2. Bob On Sunday 19 September 2004 11:25 pm, Chandrasegaram

Re: Building Java Axis 1.2 Beta 3 from a CVS pull

2004-09-20 Thread Robert Bateman
Apologies to the list! I didn't create a build.properties file turning on the various parts of Axis that I need. I'm not used to having to do this :( Figured it our after looking at the build.xml file and seeing all of the unless="" entries. I might have missed it, but I don't remember seei

Returning array of complex types

2004-09-20 Thread Fabio Cristiano dos Anjos
Hi, I'm using Axis 1.2 Beta as server, and .Net WebService Studio as client for my tests. Almost everything is working fine, except for a strange behavior that happens depending of the result (response) of the web service, in methods that return arrays of complex types. Below, it's shown two requ

Re: Problem Deploying WS (server-config.wsdd)

2004-09-20 Thread Alexander Lukas
Ok, it is working. Don´t ask me why. I´ve added the -Lines from the WSDD-File manually now in a different order into the server-config.wsdd. There was no mistake in the lines, i´ve just copied them from one file to the other!? Very strange. The AdminClient is still not working correctly... but i

Re: WS call another WS

2004-09-20 Thread tony . q . weddle
Well, I can't see how it could be different from any other client, although I'm not sure how you'd specify a client WSDD, if you need to. The fact that the client is also a web service should not matter at all. Tony   Hi, Somebody could say me what are the steps to do a WebService which call a

RE: Axis and user defined Exceptions

2004-09-20 Thread Tom Sugden
Hi, I've had the same problem as Bill and have seen a number of other posts asking similar questions about service-specific exceptions. I have tried the "samples.faults" example, which works fine but is a little confusing because the service specific exception extends RemoteException and implement

Re: Problem Deploying WS (server-config.wsdd)

2004-09-20 Thread Alexander Lukas
I´ve deployed it with AdminService, the Problem remains the same. I have now installed Tomcat 5.0.28, included AXIS and Nothing has changed!! I still can´t deploy any WS. Great. Is there any alternative to AXIS? >From: jayachandra <[EMAIL PROTECTED]> >Reply-To: jayachandra <[EMAIL PROTECTED]>

faults and exceptions

2004-09-20 Thread Melzer, Steven
all,   i cannot find a good example explaining the relationship between faults and exceptions.    in the axis fault example, the fault is a RemoteException with a get/setInfo method.  is this method required?  does Axis know how to call this method and create the fault message line from it

WS call another WS

2004-09-20 Thread Daniel Sánchez Gómez
Hi, Somebody could say me what are the steps to do a WebService which call another WS. I supose that it's identical to a client call to a WebService. Thanks, Dani

RE: Why does 'WSDL2Java' change my WSDL!!

2004-09-20 Thread tony . q . weddle
Hi Morten, The element, in the WSDD file (deploy.wsdd or server-config.wsdd, which ends up holding all the deployed WSDD elements anyway) allows a sub element that specifies the location of the WSDL file for the service. If this is present, Axis, won't generate the WSDL. If the WSDL accurately

RE: Why does 'WSDL2Java' change my WSDL!!

2004-09-20 Thread Morten.Mortensen
Hi Tony, - I guess not - how do I do that? Will it fit the Java-bindings generated? -As you can see from my previous posting, it kind of appears as if the "WSDL2Java"-process changes some of the types - I see a XMLSchema-string-type mutating to something else. I generated a web-service-client w

Re: Why does 'WSDL2Java' change my WSDL!!

2004-09-20 Thread tony . q . weddle
Morten, Have you told Axis where to find your WSDL? It's a setting in the WSDD file. If you haven't told it, it will generate the WSDL and this may be what you are seeing. Tony Hi, Does anyone know why the WSDL used to feed Axis' WSDL2Java' differs from the WSDL returned by the final online

Re: Building Java Axis 1.2 Beta 3 from a CVS pull

2004-09-20 Thread jayachandra
You can find servlet-api in Tomcat's commons/lib directory. Actually AxisServlet.java has some imports from javax.servlet.http package which are present in servlet-api.jar Bye jaya On Mon, 20 Sep 2004 15:09:03 +0530, jayachandra <[EMAIL PROTECTED]> wrote: > Hey! > same pinch here three days ago.

Re: Building Java Axis 1.2 Beta 3 from a CVS pull

2004-09-20 Thread jayachandra
Hey! same pinch here three days ago. You just need to drop servlet-api.jar into the ws-axis/lib directory and then say 'ant compile'. That should get you all the classes, esp the AxisServlet HTH Jayachandra On Fri, 17 Sep 2004 14:13:19 -0400, Robert Bateman <[EMAIL PROTECTED]> wrote: > I'm attemp

Re: Problem Deploying WS (server-config.wsdd)

2004-09-20 Thread Alexander Lukas
No, the AxisServlet class is in the JAR-File. If there is no other solution, i´ll test another Tomcat-Version. I tried to avoid that, because it´s a lot of work. But thanks anyway. >From: jayachandra <[EMAIL PROTECTED]> >Reply-To: jayachandra <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: R

Re: Problem Deploying WS (server-config.wsdd)

2004-09-20 Thread jayachandra
Check the axis.jar of Tomcat's webapps/axis/WEB-INF/lib directory. Sorry, that I didn't mention it previously. jayachandra On Sat, 18 Sep 2004 13:16:15 +, Alexander Lukas <[EMAIL PROTECTED]> wrote: > Hi! > > I´ve problems to deploy my Web Services. I´m using AXIS 1.1, Tomcat 4.0.4 > (can´t u

Re: Problem Deploying WS (server-config.wsdd)

2004-09-20 Thread jayachandra
In the axis.jar that you might be having just see if you have org.apache.axis.transport.http.AxisServlet class. You could probably get this erroroneous behaviour, if that file is missing. Just check that. In case you don't have, resort to latest axis.jar HTH Jayachandra On Sat, 18 Sep 2004 13:16:

SAXException SimpleDeserializer encountered a child element... after calling ?wsdl - SOLVED

2004-09-20 Thread Patrick Herber
Hi, I was having the following problem: I implemented a web service with style document/literal. I was able to test it without problems but - as soon as I called the service with the "?wsdl" parameter - I was no more able to execute it since I always received the exception: "org.xml.sax.SAXExcep

Re: using a generated Stub

2004-09-20 Thread Fady Kaddoum
Yep you are right,   It worked!   Thanks Fady - Original Message - From: Shahi, Ashutosh To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, September 18, 2004 11:57 AM Subject: RE: using a generated Stub Try using:  DataHandler dataHandl