Re: Question on SOAPMonitor

2008-09-05 Thread Martin Wunderlich
001 > > HTH, > Robert > > On Fri, Sep 5, 2008 at 12:34 PM, Martin Wunderlich > <[EMAIL PROTECTED]> wrote: > > Hi Robert, > > > > Thanks a lot for the quick reply. Any idea on how can I check on Mac OS > which ports are active? > > > > Che

Re: Question on SOAPMonitor

2008-09-05 Thread Martin Wunderlich
.apache.org > Betreff: Re: Question on SOAPMonitor > This most often happens due to port issues. IIRC its 5401. Make sure > nothing else is using the port. You can also try changing the port in > web.xml. > > HTH, > Robert > > On Fri, Sep 5, 2008 at 8:39 AM, Martin

Question on SOAPMonitor

2008-09-05 Thread Martin Wunderlich
Hi there, I am trying to use the Axis2 SOAPMonitor to take a close look at the SOAP messages to and from my existing web service. I installed the the SOAPMonitor on Tomcat as per the instructions and it works fine when I go to http://localhost:8080/axis2/SOAPMonitor. However, if I want to use

Re[2]: AxisFault: java.lang.reflect.InvocationTargetException when passing complex type to service

2006-05-08 Thread Martin Wunderlich
Hi Annette, I turned that the problem was totally unrelated to Axis, but rather to the Hibernate persistence layer that is working in the background of my app. I had to include the Hibernate jar and its depedent libraries in the Tomcat shared folder. I think it would be very unlikely that your pro

Re: AxisFault: java.lang.reflect.InvocationTargetException when passing complex type to service

2006-05-08 Thread Martin Wunderlich
Just a little update here: After some debugging I finally found the root cause for this. I took a while to get to it, because I was catching an Exception instead of Throwable and only the latter gave me the real cause for my troubles. It turned out that it was some missing Jars, which hadn't been c

AxisFault: java.lang.reflect.InvocationTargetException when passing complex type to service

2006-05-08 Thread Martin Wunderlich
Dear all, Having resolved one problem, I am now stuck with a new one. I have an Axis 1.3 web service deployed to Tomcat 5.5.4 running on Windows XP Pro. The web service offers several methods. One of these is returning a simple String and it works fine. Another method, which takes as input a com

Re[2]: Problems deploying with AdminClient

2006-05-07 Thread Martin Wunderlich
And at last I seem to found the reason for the disappearing web service, albeit not the root cause. This post here https://bugs.eclipse.org/bugs/show_bug.cgi?id=118673 gave me the idea of checking the file WEB-INF/server-config.wsdd. And indeed, there was no description of the deployed service at a

Re: Problems deploying with AdminClient

2006-05-06 Thread Martin Wunderlich
e it was working fine this morning. I had the > service running, went for lunch, and it > somehow undeployed itself in the meantime. So, I tried to redeploy, > but without any success so far. Any idea what the problem might be? > Cheers, > Martin -- -

Re[2]: Problems deploying with AdminClient

2006-05-06 Thread Martin Wunderlich
Hi Siamak, Thanks a lot for the suggestion. I am still using Axis 1.3, so it wouldn't be related to Axis 2, I guess. Cheers, Martin > Hello Martin. > As far as I know the AdminClient was used by Axis to deploy a service. > With Axis2 the deploying has slightly changed. > Please go through th

Problems deploying with AdminClient

2006-05-06 Thread Martin Wunderlich
Dear all, I have run into a very odd problem trying to deploy my web service using AdminClient. I create my wsdl and wsdd files without any problems. I also don't get any errors when I deploy the service using: "java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -l http://localhost/ depl

Re[2]: Server.userException and InvocationTargetException - what does it mean?

2006-04-20 Thread Martin Wunderlich
Thanks a lot to Vartan, Dies and Robert for your comments. I seem to have missed Dies' message the first time round, so I am glad that Robert took it up. The situation as described by Dies is perfectly correct. As for mapping Hibernate collections to arrays, I think I could replace the existing se

Re[2]: Server.userException and InvocationTargetException - what does it mean?

2006-04-19 Thread Martin Wunderlich
Hello Vartan, Thank you very much for your help and your suggestion. In the meantime, I seem to have identified the root cause of my problems and it seems to be on a conceptual level rather than a coding level. Taking a closer a look at the classes generated by WSDL2Java I noticed that the utilit

Re: Server.userException and InvocationTargetException - what does it mean?

2006-04-17 Thread Martin Wunderlich
:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTes

Server.userException and InvocationTargetException - what does it mean?

2006-04-17 Thread Martin Wunderlich
Dear all, I have deployed a couple of web services and I keep getting an exception when calling one of them. I am calling two services. One takes as input a String and returns a String. This one works just fine. Another one takes as input a complex type (a Java bean) and has no return value. This

Re[2]: Problem using deployed Axis web services

2006-04-14 Thread Martin Wunderlich
Thanks a lot, Dies, for your detailed explanation! I understand the principles behind the workings of WSDL2Java much better now. This whole thing has cost me the better part of an entire week. Then again, it's my own fault for not having checked the actual method implementation. I'm off defining my

WSDL2Java deleting method implementations?

2006-04-12 Thread Martin Wunderlich
Dear all, I have done a bit more experimenting (see my recent post) and the behaviour of WSDL2Java, whereby method implementations are removed and replaced by "return null", seems to be consitent. Is this the way it should be? Am I missing something? Apparently, only the interface definitions of t

Re[5]: Problem using deployed Axis web services

2006-04-12 Thread Martin Wunderlich
l >> -t builds testClient >>good luck, >> -----Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] >> On Behalf Of Martin Wunderlich >> Sent: Wednesday, April 05, 2006 3:57 PM >> To: Jinyuan Zhou >> Subject: Re[2]:

Re[4]: Problem using deployed Axis web services

2006-04-07 Thread Martin Wunderlich
d the interface to coexist. I don't know, if this could be relevant. Cheers, Martin > http://ws.apache.org/axis/java/reference.html > -t builds testClient >good luck, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Beh

Re[2]: Problem using deployed Axis web services

2006-04-05 Thread Martin Wunderlich
Thanks a lot for the quick replies, Jinyuan. I checked WSDL2Java for the JUnit option you mentioned, but couldn't find it. As for the URL I call the web service with, it's a bit different from the one you provided. I tried the following: http://localhost/WSTest/services/SayHello2?method=hello&in0=

Problem using deployed Axis web services

2006-04-05 Thread Martin Wunderlich
http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testPackage" use="encoded"/> http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testPackage" use="encoded"/>