FW: wrapped style serialization

2003-08-27 Thread Cory Wilkerson
Fascinating that Axis knows to return my response in the namespace "http://www.foo.com";. Axis knows nothing about the WSDL I've generated or targetNamespaces of the schema and without any beanMappings/typeMappings -- I wonder what assumptions it makes? -Original Message- From: Cory Wi

wrapped style serialization

2003-08-27 Thread Cory Wilkerson
I've created the following schema in my WSDL types: -- http://www.foo.com";>

RE: Soap Fault Explanation

2003-08-27 Thread Gary L Peskin
I'm running Axis 1.1 using SOAP 1.1. Sorry I didn't mention this earlier. Gary > -Original Message- > From: Cory Wilkerson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 9:52 AM > To: [EMAIL PROTECTED] > Subject: RE: Soap Fault Explanation > > > Gary -- what version of A

Re: DOM as parameters using Document style

2003-08-27 Thread Anne Thomas Manes
You can use Document, because you cannot embed a document within a document. The SOAP envelope is a document. You should use Element instead. At 03:55 PM 8/27/2003 -0400, you wrote: Hi, I've just started using AXIS and I'm trying to write an AXIS interface to a Java method with the following sign

Re: Newbie Question About Examples

2003-08-27 Thread Adhamh Findlay
>From the user guide: "Before running the examples in this guide, you'll need to make sure that your CLASSPATH includes (Note: If you build Axis from a CVS checkout, these will be in xml-axis/java/build/lib instead of axis-1_1/lib): * axis-1_1/lib/axis.jar * axis-1_1/lib/jaxrpc.jar *

RE: DOM as parameters using Document style

2003-08-27 Thread Mike Perham
Your WSDL clearly shows SOAP encoding rather than literal, for one. -Original Message- From: Patterson, Joel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:55 PM To: '[EMAIL PROTECTED]' Subject: DOM as parameters using Document style Hi, I've just started using AXIS and I'

DOM as parameters using Document style

2003-08-27 Thread Patterson, Joel
Hi, I've just started using AXIS and I'm trying to write an AXIS interface to a Java method with the following signature: public Document process(Document doc) where Document is of course the W3C DOM Document... I realize this is the "message" style, but I'm not allowed to use it since I have to

Can I run Axis 1.1 on the same Weblogic server with Soap 2.2?

2003-08-27 Thread gq onmars
Hi All, I was wondering if anyone have try to run Soap 2.2 server on the same APP server with Axis 1.1. Currently, I have set up SOAP and would like to avoid removing SOAP if it is possible. But I would love to add on new functionalities with Axis. If any one know if this is possible or have enc

RE: samples for ArrayList

2003-08-27 Thread Cory Wilkerson
Seeing as how an ArrayList is an ordered set of items, you could easily write a serializer/deserializer pair to handle passing ArrayLists between services.  I'm not sure if the Axis server side and client side tools already have some deserializer built in for the list interface -- seems like

RE: samples for ArrayList

2003-08-27 Thread Mike Perham
Title: Message I would think arrays would work better since they are typed.  That is just a guess though. -Original Message-From: Bruce Ho [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 1:00 PMTo: [EMAIL PROTECTED]Subject: samples for ArrayList Does anyo

samples for ArrayList

2003-08-27 Thread Bruce Ho
Does anyone out there have a working sample for passing an ArrayList (of user generated objects) using Axis, including Java code, wsdl, and wsdd? Is it only a myth that an ArrayList can be passed? The numerous postings in this group suggest that no one has had any luck with this.   Bruce

RE: Soap Fault Explanation

2003-08-27 Thread Hansen, Richard
Yeah, you are probably right. The example subclasses RemoteException. wsdl2Java generates exceptions that subclass AxisFault though. > -Original Message- > From: Cory Wilkerson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 10:02 AM > To: [EMAIL PROTECTED] > Subject: RE: So

Re: how to deploy a web services

2003-08-27 Thread Alexander Berry,Jr.
I hate to just point you to the documentation but it is pretty complete. http://ws.apache.org/axis/ abj. Mark Galbreath wrote: Yes, but first, check this out: http://www.catb.org/~esr/faqs/smart-questions.html Mark -Original Message- From: Henry lu [mailto:[EMAIL PROTECTED] Sent: Tu

RE: Soap Fault Explanation

2003-08-27 Thread Cory Wilkerson
Gary -- what version of Axis are you running? -Original Message- From: Gary L Peskin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 11:44 AM To: [EMAIL PROTECTED] Subject: RE: Soap Fault Explanation The client is java. However, my Stub is called from a method that can either

Deploy.wsdd syntax question: service, provider, and style

2003-08-27 Thread Adhamh Findlay
Hello, I'd just like some clarity on service element in deploy.wsdd. The user guide and reference guide aren't totally clear on this... The user guide says that if I want to use document or wrapped I should do this: "The document or wrapped style is indicated in WSDD as follows: for document

Testing Serialization Offline

2003-08-27 Thread Matt Munz
Hi all, In my write-test-debug cycle, I spend a lot of time fixing (bean) serialization errors. Since these only show up when I'm invoking a given method, this means I must re-deploy my web service each time I find and fix a serialization error. Is there a way to test the serialization of Ob

Re: Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Adhamh Findlay
BTW, my InvocationTargetException was caused by not have the shared library or DLL, or whatever in the correct location. Adhamh On 8/27/03 11:27 AM, "Adhamh Findlay" <[EMAIL PROTECTED]> wrote: > Several people here are using JNI. I tired it and was able to go it to > work. The InvocationTarget

RE: Soap Fault Explanation

2003-08-27 Thread Gary L Peskin
The client is java. However, my Stub is called from a method that can either call the Stub class or, in certain situations, call the endpoint service class directly, not via Axis. I want my service class to just throw the exception, which the client will see. If the client called the service cla

RE: Soap Fault Explanation

2003-08-27 Thread Cory Wilkerson
Gary, I did add a default constructor for the sake of Axis bean mapping -- I'm not sure if I require it or not but wanted to play it safe. But, you're right, according to JAX-RPC specificaiton, no public constructor is required. I'll post an example here in a bit re: the specifics of what I'm

RE: Soap Fault Explanation

2003-08-27 Thread Hansen, Richard
I wonder if it depends on the client. Is it java or something else. If not Java then AxisFault could be useful to get the code and details the way you want. AxisFault has a writeDetails() method that serializes your service specific fields. > -Original Message- > From: Gary L Peskin [mailt

Re: Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Adhamh Findlay
On 8/27/03 2:00 AM, "Scott Rader" <[EMAIL PROTECTED]> wrote: > I am trying to implement a web service provider on Windows 2000 with Tomcat > 4.1 and Axis 1.1 installed. > > I have a JNI class and method that works when called from a Java > application, but when I call it form inside of a service

RE: Soap Fault Explanation

2003-08-27 Thread Gary L Peskin
Cory et al -- I'm looking into this code very carefully at the moment. I'm trying to generate Service Specific Exceptions but having problems on the client side where an AxisFault is thrown rather than my actual exception. My Service Specific Exceptions extend Exception but not AxisFault. Do yo

RE: Soap Fault Explanation

2003-08-27 Thread Cory Wilkerson
Marco -- cna you send me the WSDL that Axis generated for your service? Thanks, Cory -Original Message- From: Marco Spinetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:37 AM To: [EMAIL PROTECTED] Subject: RE: Soap Fault Explanation Thanks Cory: I know that this questio

AW: Using beanMapping in WSDD

2003-08-27 Thread Thomas Bayer
Hi Chris, only the method getInvoiceDetails is allowed in your wsdd file, but your service hasn't this method: change it to: and you will see the methods. Thomas Orientation in Objects GmbH http://www.oio.de > -Ursprungliche Nachricht- > Von: Chris Rimmer [mailto:[EMAIL PROTECTE

XMLType.AXIS_VOID Returntype and document/literal

2003-08-27 Thread Thomas Bayer
Hi, I want to call a doc/lit service with a method returning void. In the client I have to use addParameter, so JAX-RPC forces me to specify also a return type: call.setReturnType( XMLType.AXIS_VOID); This works pretty well with RPC/Encoded services. With a doc/lit I got the following exception:

RE: Soap Fault Explanation

2003-08-27 Thread Cory Wilkerson
"I know that this question has been asked again and again but I can't find the answer." -- Sorry, didn't mean to sound terse or harsh there, just implying that maybe the Axis folk would like to crank out some decent documentation regarding the matter. I've been using Axis for 4 or 5 months and

RE: Soap Fault Explanation

2003-08-27 Thread Hansen, Richard
If you define the exceptions in your WSDL as "faults" in the appropriate pacles. Then wsdl2Java will generate your exception classes and create the required config setup in the stubs and skeletons it generates. My notes of axis fault handling: Faults - For all practical purposes a client programme

RE: Soap Fault Explanation

2003-08-27 Thread Marco Spinetti
Thanks Cory: I know that this question has been asked again and again but I can't find the answer. My steps have been: - create the wsdl - use org.apache.axis.wsdl.WSDL2Java with --server-side - implementing MySearchBindingImpl.java - copy deploy.wsdd (service part) to server-config.wsdd All is

RE: Soap Fault Explanation

2003-08-27 Thread Marco Spinetti
Sorry I have sent the email but it's not terminated and it is wrong. My service is: http://www.w3.org/2001/XMLSchema"/> . http://schemas.xmlsoap.org/soap/encoding/"; /> Do you see

RE: Soap Fault Explanation

2003-08-27 Thread Cory Wilkerson
This question has been asked time and again and I've yet to see a real definitive answer come through. For starters, you might want to try some of the Axis nightly drops, I've had better luck with them serializing my exceptions. In the case where I have exceptions working, I've subclassed excep

Soap Fault Explanation

2003-08-27 Thread Marco Spinetti
Hi, I'm developing a soap web service with axis (my configuration is apache + tomcat with axis). In some circumstances my web services has to create a SOAP fault which has to be sent to the client. I'm a a bit confused with Axis management of SOAP fault (I've tried to read email in mailing list

RE: Setting xsi & xsd to XMLSchema 1999 not 2001

2003-08-27 Thread Irial Conroy
Thanks for the info. Hopefully they'll be able to change... -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 12:35 To: [EMAIL PROTECTED] Subject: Re: Setting xsi & xsd to XMLSchema 1999 not 2001 I don't think Axis supports XML Schema 1999. The o

Re: Setting xsi & xsd to XMLSchema 1999 not 2001

2003-08-27 Thread Anne Thomas Manes
I don't think Axis supports XML Schema 1999. The onlky way that I can think of to make it happen is to manually add xsi: and xsd: namespace declarations to the env:body that override the xsi: and xsd: namespace declarations in the env:envelope. A better suggestion is to convince the service pro

Deserializing problem with axis

2003-08-27 Thread Shijo
Hi, I have tied to deploy axis example5 with weblogic 7.0 but I am getting Deserializtion error Error : org.xml.sax.SAXException: Deserializing parameter 'arg1': could not find deserializer for type {urn:BeanService}Order Would you please help me to resolve this error ? Thanks & Regards, Shij

Duplicate root of SOAP payload document

2003-08-27 Thread Nick Ardlie
Does anyone know why Axis is duplicating the root tag of the payload document in the following client request: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://www.m

handling fault in soap header

2003-08-27 Thread Naresh Agarwal
Hi   I'm using Soap header for session maintenace.   As mentioned by WSDL Specs [1], any fault with the soap headers should be indicated by a soap:headerfault element in the soap response header.   I want to ask if there is some fault in soap header, should server also send faultcode and faultsti

RE: axis, connection refused ?

2003-08-27 Thread Keith Hatton
Hi Darek, This is a problem with your web server, not Axis. You will need to check the server documentation on how to make more threads available to the listener. For example, on Weblogic you can set up a separate queue, and I know there is something similar (not sure of the details) on JBoss.

Setting xsi & xsd to XMLSchema 1999 not 2001

2003-08-27 Thread Irial Conroy
(Reposting as have had no responses and am stuck !) > Hi, > > I am connecting to a SOAP server which expects : > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/env

NullPointerException in WSDL2Java

2003-08-27 Thread Michal Kochanowicz
Hi! I'm using axis-1.1 final. While tryng to use WSDL2Java I'm getting NullPointerException: java.lang.NullPointerException at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(ElementNode2.java:432) at com.ibm.wsdl.util.xml.DOMUtils.getAttributeNS(Unknown Source) at

De-Serialization

2003-08-27 Thread Harsh Nagpal
I'm using an Axis client with a Windows [MS SOAP Toolkit 3.0] webservice. The problem i'm facing is that when i call the webservice, the return soap message from MSSOAP to Axis does not contain type-mapping of the return values i.e. xsi,xsd etc. Is there any way to tell Axis to ignore looking fo

Is JNI on Axis possible? InvocationTargetException

2003-08-27 Thread Scott Rader
I am trying to implement a web service provider on Windows 2000 with Tomcat 4.1 and Axis 1.1 installed. I have a JNI class and method that works when called from a Java application, but when I call it form inside of a service provider I get the following error. java.lang.reflect.InvocationTargetE

RE: 403 Firewall Error

2003-08-27 Thread Gary L Peskin
Have you tried setting the system properties http.proxyHost and http.proxyPort (and http.nonProxyHosts, if necessary)? HTH, Gary > -Original Message- > From: Sree K Puvvala [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 10:56 AM > To: [EMAIL PROTECTED] > Subject: 403 Firewall

RE: Newbie Question About Examples

2003-08-27 Thread Harsh Raju Chamarthi
>I am trying to get the stock sample program up an running. It deploys OK, but when I >try to run the command line from the >%AXISPATH%\samples\stock directory: Instead of running from the above mentioned path , run from two directories higher i.e from %AXISPATH% Alternatively u can set classpa

Newbie Question About Examples

2003-08-27 Thread Donald Manoogian
I have successfully installed Axis 1.1 on an Tomcat 4.1.24 server. I am trying to get the stock sample program up an running. It deploys OK, but when I try to run the command line from the %AXISPATH%\samples\stock directory: java -cp .;%AXISCLASSPATH% samples.stock.GetQuote -lhttp://localho

Using beanMapping in WSDD

2003-08-27 Thread Chris Rimmer
I am getting to grips with using Axis (+JBoss) to expose a Stateless Session Bean as a webservice. I started off with just one method - this was fine while it was returning a String, but as soon as I changed it to a JavaBean, it stopped working. The service shows up at http://localhost:8080/axis/

403 Firewall Error

2003-08-27 Thread Sree K Puvvala
All, I am trying to hit a SOAP Server (written in Perl) from Apache Axis and I am gettting the below error. Looks like I am getting the same error in browser when I don't specify the proxy, since I am behind a firewall. How would I spcify proxy host and proxy port for Axis. Any help appreciated.

Re: backwards compatability

2003-08-27 Thread Sanjay Krishnamurthi
When you add a new element to your type, how the client is impacted really depends on how the deserializer has been coded assuming it relies on Axis serializers/deserialiers. (It is not really a java issue : Note that stubs have already been generated) Ideally bean deserializer should simply igno

RE: wsdd file

2003-08-27 Thread Leslie . Zhang
Hi Lu, I recently investigated a very similar problem. If you need to run a web services over a ssl server. You will need to make Java trust your server. import your server certificate to your java keystore file I think it is located at $JAVA_HOME/jre/lib/security/cacerts make

RE: Defining a map in WSDL

2003-08-27 Thread Leslie . Zhang
Thanks for helping me. Does anyone know any "official" documentation on how to define java hashmaps in WSDL. The solution below works but why ? Les -Original Message- From: Sameer Bombatkar [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 7:37 PM To: [EMAIL PROTECTED] Subject: R

Re: backwards compatability

2003-08-27 Thread Anne Thomas Manes
Cory, If you're using MESSAGE style services, then, yes, I would expect the client to be able to handle the change -- no sweat. If you're using RPC, WRAPPED, or DOCUMENT style, I would expect the deserializer to barf. Java's not too good at handling the dynamic introduction of a new element in