Re: targetService is null

2003-08-08 Thread Steve Maring
As it turned out, I was using my generated deploy.wsdd as my server-config.wsdd and expecting things to work.  I found the default server-config.wsdd in the axis.jar and copied all the stuff I was missing into my server-config.wsdd.   Things started working.  Now on to other problems...   Cheers. S

WSDL2Java generator uses deprecated Methods ?

2003-08-08 Thread Michael Mangeng
Hi everybody, I´m new to axis and webservices and got a little question: I´ve generated Java classes from a WSDL - all worked fine but i discovered that one of the generated java classes uses the deprecated method getResponseHeaders(Call call) from org.apache.axis.client.Stub. (The generated clas

ClassCastException + SOAP Header session

2003-08-08 Thread Said Elaissaoui / 1Genia
Hello, in order to handle sessions in soap header, i have add this line in axis server-config.wsdd : .. And i have generate a client-config.wsdd file wich i add to the classpath of my client : http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.o

RE: cannot persist server-config.wsdd file in a war

2003-08-08 Thread Junaid . Bhatra
Hi Jim, I will speak to the folks on the axis-dev list and see if they agree on doing this change. - Junaid "Jim Harris"

RE: Why is this service not getting deployed

2003-08-08 Thread Sachin
What Command are you giving for retiving Service Becase whne you simply Want to retrive list or deploy it It will search "axis" web Appliction.. So you have to Specify Application name to view it.. Ok -Original Message- From: srinivas reddy [mailto:[EMAIL PROTECTED] Sent: Thursday, A

Re: two-part question !

2003-08-08 Thread Junaid . Bhatra
(a) You could obtain the ServletContext via: HttpServlet servlet = (HttpServlet )MessageContext.getCurrentContext().getProperty(org.apache.axis.transport.http.HTTPConstants.MC_HTTP_SERVLET); ServletContext context = servlet.getServletContext(); (b) Yes you can use * as a value of allowedMeth

RE: Error returning a boolean primitive type from a webservice..

2003-08-08 Thread Mike Perham
Title: Message I have no idea how or even if Axis can handle a body element with multiple children without a top-level container.  I do know that it is definitely NOT a best practice to do that.  In fact the Basic Profile specificallly disallows multiple body children in a SOAP msg.  Your re

RE: Using JNI in a service?

2003-08-08 Thread Jonathan Melvin
I use JNI in Axis in Jboss without any particular problems. Post the full exception you are getting -Original Message- From: Adhamh Findlay [mailto:[EMAIL PROTECTED] Sent: 08 August 2003 14:04 To: [EMAIL PROTECTED] Subject: Using JNI in a service? Hello, Has anyone successfully used JN

Beginner question on SOAP faults

2003-08-08 Thread Charanpal Dhanjal
I have written a C++ Web Service using gSOAP which will send useful error messages in the form of SOAP faults. I have a client generated using AXIS WSDL2Java and I would like to be able to print out the information given in a SOAP fault, if one occurs. I have tried accessing this information when

WSDL SchemaDTD

2003-08-08 Thread Mark.Gargan
Title: Message Hi folks,   Is there a WSDL schema or DTD available does anyone know? I'm just having a quick look at the wsdl spec here and instead of 'portType' they have 'interface'. This is interesting as they mention that intances of the interface element may extend other in

Why would AxisServlet return a blank page?

2003-08-08 Thread Adhamh Findlay
Okay, its back... When I try to access the AxisServlet page (http://localhost:8080/axis/servlet/AxisServlet) after deploying an application I get back a blank page. What would cause this? If I undeploy the app I see the correct page with the other services. I've restart tomcat a couple of times

Re: Is this a bug?

2003-08-08 Thread Stuart Barlow
+1 :-) And some time I might fix a bug in AXIS myself. :-) Yakulis, Ross (Ross) wrote: Thank you for the info. The WSDL I attached was generated by Axis. It seems to me (and I could be wrong) that one should not have to mess with WSDL files. WSDL is basically meant to be4 generated by programs

Need some Help

2003-08-08 Thread Lokesh Shrivastava
Hi, Can someone help me in configuring AXIS toolkit(Version 1.1 Final) on Websphere Application server version5.0.Currently it is not picking any entry from "server-config.wsdd" file nor does it throw any exception if i delete that file from setup. But at the AppServer startup time it a

Re: no connection made to server

2003-08-08 Thread Stuart Barlow
I see a mailing in the axis-dev list title: RE: web service invocations are failing This looks like the same issue with the Weblogic appserver and some other classes in the environment causing trouble. Anyone know exactly which classes before I start hunting through my app server? Ta, Stuart. Stuar

SoapBindingSkeleton reuse

2003-08-08 Thread repollo
Hi All, I am writing a series of web services that implement the same interface. Is it possible to reuse the same SoapBindingSkeleton for them? I have been unable to find a way to specify this in the deploy.wsdd Cheers, R

RE: ClassCastException + SOAP Header session

2003-08-08 Thread Said Elaissaoui / 1Genia
it was just a mistake in my email -Message d'origine-De : Jeyakumaran.C [mailto:[EMAIL PROTECTED]Envoyé : vendredi 8 août 2003 11:31À : [EMAIL PROTECTED]; [EMAIL PROTECTED]Objet : Re: ClassCastException + SOAP Header session hi, if i am correct then i think yr handler

RE: (500)Internal Server Error

2003-08-08 Thread Hansen, Richard
Is it doc/literal? There is a bug in Axis with doc/literal services with no params. -Original Message-From: Kareem Ghazal [mailto:[EMAIL PROTECTED]Sent: Friday, August 08, 2003 5:13 AMTo: [EMAIL PROTECTED]Subject: Re: (500)Internal Server Error Hello,   I checked the

RE: Can't list services after deploying test class

2003-08-08 Thread Jim Harris
> DOH! I think restarting Tomcat was the key I was missing. Haha - that one has cost me hours too!!! > Also, using this: > > > java org.apache.axis.client.AdminClient -l > > http://host:port/axis/classes/serviceName path\to\deploy.wsdd > > > Style call to the AdminClient returned a fault (HTTP

Re: (500)Internal Server Error

2003-08-08 Thread Jeyakumaran.C
hi, If I am correct, the reason wd be, the methods return type or passing parameters may be different types which not deployed properly in the deployment. U just change the return types and parameters in to simple types and check it. If it works then fine ,prbs with the type mapping and dep

RE: ClassCastException + SOAP Header session

2003-08-08 Thread Jim Harris
Said, One thing I can see is that you are referencing the SimpleSessionHandler by the wrong name in the request and response flows of your service: > type="java:org.apache.axis.handlers.SimpleSessionHandler"/> > > > > > > > > .. > You give the handler the name 'S

> Adhamh Re: java.lang.reflect.InvocationTargetException

2003-08-08 Thread Harsh Nagpal
Well what i was trying to do was to deploy a webservice[org.ws.test] that calls another class[org.acme.test] and placed them bother under the web-inf/classes dir. I just moved the class from org.acme.test to org.ws.test, changed the package name inside the classes, and it worked > dunno why...stil

Re: RPC & Faults

2003-08-08 Thread ian_d_stewart
In your service, declare that a specific method throws an exception and a fault entry will be created for you. Real world example: public String getAssetHostname(int assetId) throws AssetNotFoundException { } and the associated WSDL: HTH, Ian Ia