Handling custom exceptions

2005-08-23 Thread Yashavanth Prakash
Hi I want to know how to send custom exceptions from server side to client other than cathcing custom exception and throwing the Axis Fault Any related documentation or earlier mails about this would be very helpful Background: we are building a webservice based component. As the webservice in

[Axis2] Build problem with Maven 1.1-beta-1

2005-08-23 Thread Eran Chinthaka
Hi, Today I installed maven 1.1-beta-1 and got some errors with the build, saying can't upload jars. The fix to this was to update to the new maven artifact plugin 1.6. If you also encounter this, just type the following to get the artifact plugin updated to 1.6. maven plugin:download -Dgrou

Re: Maven, the repository and Apache projects

2005-08-23 Thread Scott Lamb
On Aug 23, 2005, at 12:27 PM, Levitt, David, Bookspan wrote: And the repository line in the project.properties file should specify the repository? maven.repo.remote=http://www.ibiblio.org,http://maven- plugins.sf.net/mav en,http://www.apache.org/dist/java-repository/ I have this, and maven 1

Re: Installing AXIS on SAP WAS 6.40

2005-08-23 Thread antoine voiry
I have logged an OOS to SAP, I'll keep you informed. AntoineOn 8/23/05, Anil Arora <[EMAIL PROTECTED]> wrote: We had a similar issue.  I ended up dropping down to Axis 1.1 to get this to work. If you get a better response from SAP, could you let me know?  I wasn't able to get any in

RE: FW: Maven, the repository and Apache projects

2005-08-23 Thread Levitt, David, Bookspan
And the repository line in the project.properties file should specify the repository? maven.repo.remote=http://www.ibiblio.org,http://maven-plugins.sf.net/mav en,http://www.apache.org/dist/java-repository/ I have this, and maven 1.0.2 complains: Attempting to download apache-axis-1.2.1.jar. Erro

Re: FW: Maven, the repository and Apache projects

2005-08-23 Thread Davanum Srinivas
yes, Axis 1.2.1 is in the repo url mentioned below. On 8/23/05, Levitt, David, Bookspan <[EMAIL PROTECTED]> wrote: > Are the current Axis libraries staged to where Maven can easily retrieve > them? > > Should there be any special settings [repository url's] in Maven to use > them? > > -Origi

RE: Installing AXIS on SAP WAS 6.40

2005-08-23 Thread Anil Arora
We had a similar issue.  I ended up dropping down to Axis 1.1 to get this to work. If you get a better response from SAP, could you let me know?  I wasn’t able to get any information from the forums.   Anil   From: antoine voiry [mailto:[EMAIL PROTECTED] Sent: Tuesday, Augus

FW: Maven, the repository and Apache projects

2005-08-23 Thread Levitt, David, Bookspan
Are the current Axis libraries staged to where Maven can easily retrieve them? Should there be any special settings [repository url's] in Maven to use them? -Original Message- From: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 2:34 PM To: Maven Users List Subje

debug Eclipse and Axis

2005-08-23 Thread William Mok
HiI am trying to debug a SOAP service using Eclipse. Here are the steps:1. Start Tomcat within Eclipse2. Run my service using the following line on a dos prompt, the service name is called TestServicejava -cp .;"%AXISCLASSPATH%" dbconnection.Test -lhttp://localhost:1/axis/services/TestSe

RE: soap:headers and explicit service context

2005-08-23 Thread Simon Fell
But it doesn't expose these headers are part of the method signature. You're left to call setHeader yourself (and therefore have to manualy copy over the element names & namespaces from the WSDL, which is error prone). I think I logged a bug for this a while back. Cheers Simon -Original Mess

[Axis2] Implementing Services

2005-08-23 Thread A Yang
Hi there, Axis 1 supports the following interfaces for me to implement: public Element [] method(Element [] bodies); public SOAPBodyElement [] method (SOAPBodyElement [] bodies); public Document method(Document body); public void method(SOAPEnvelope req, SOAPEnvelope resp); But the only anala

Re: soap:headers and explicit service context

2005-08-23 Thread Davanum Srinivas
run wsdl2java on test\wsdl\header\header.wsdl and look at the generated code. -- dims On 8/23/05, Hans Planting (CWEU-USERS/CWNL) <[EMAIL PROTECTED]> wrote: > Ok, but if I for example use 'getHeader' in org.apache.axis.client.Stub, > I get a SOAPHeaderElement - is there a way to deserialize this

Re: soap:headers and explicit service context

2005-08-23 Thread Hans Planting (CWEU-USERS/CWNL)
Ok, but if I for example use 'getHeader' in org.apache.axis.client.Stub, I get a SOAPHeaderElement - is there a way to deserialize this to a java object (using BeanDeserializer etc) without having to write code to parse the contents of the elements? Hans Davanum Srinivas wrote: If you set

Re: Installing AXIS on SAP WAS 6.40

2005-08-23 Thread Davanum Srinivas
I guess, your only choice is to open a help desk issue with SAP and ask them to upgrade their web services implementation to latest SAAJ. -- dims On 8/23/05, antoine voiry <[EMAIL PROTECTED]> wrote: > Hi, > This is not clean, and I would hate building an enterprise project on such > an issue. >

Re: soap:headers and explicit service context

2005-08-23 Thread Davanum Srinivas
If you set up the wsdl correctly, then the generated code has the addition java objects for the stuff in soap headers. -- dims On 8/23/05, Hans Planting (CWEU-USERS/CWNL) <[EMAIL PROTECTED]> wrote: > Hi there, > > Is there support planned for explicit soap headers as described in > JAX-RPC 1.1 c

Re: Installing AXIS on SAP WAS 6.40

2005-08-23 Thread antoine voiry
Hi, This is not clean, and I would hate building an enterprise project on such an issue. The issue should be solved at WAS level for me. AntoineOn 8/22/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Still give it a try, HappyAxis will complain about the SAAJ jar but it should still function. T

soap:headers and explicit service context

2005-08-23 Thread Hans Planting (CWEU-USERS/CWNL)
Hi there, Is there support planned for explicit soap headers as described in JAX-RPC 1.1 chapter 11.2.2? With explicit soap headers I'd expect Axis to append additional parameters for soap:headers following the service endpoint defined paramers in the remote method signature. Also no custom p

AW: Wsdl2Java and no Internet-Connection (with 1.1 ok, with 1.2.1 exception): An error occurred trying to resolve schema referenced at...

2005-08-23 Thread Peter Koch
thanks dims, I'll ask the WSDL4J-guys. br, peter -Ursprüngliche Nachricht- Von: Davanum Srinivas [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. August 2005 15:48 An: axis-user@ws.apache.org Betreff: Re: Wsdl2Java and no Internet-Connection (with 1.1 ok, with 1.2.1 exception): An error

Re: Wsdl2Java and no Internet-Connection (with 1.1 ok, with 1.2.1 exception): An error occurred trying to resolve schema referenced at...

2005-08-23 Thread Davanum Srinivas
Could you please ask here (http://groups.yahoo.com/group/jsr110-eg-disc/)? thanks, dims On 8/23/05, Peter Koch <[EMAIL PROTECTED]> wrote: > > > hi folks, > > I migrated from axis 1.1 to axis 1.2.1. > > we're using WSDL2Java with a wsdl file on the local filesystem. > now, with 1.2.1 we

Wsdl2Java and no Internet-Connection (with 1.1 ok, with 1.2.1 exception): An error occurred trying to resolve schema referenced at...

2005-08-23 Thread Peter Koch
Title: Wsdl2Java and no Internet-Connection (with 1.1 ok, with 1.2.1 exception): An error occurred trying to resolve schema referenced at... hi folks, I migrated from axis 1.1 to axis 1.2.1. we're using WSDL2Java with a wsdl file on the local filesystem. now, with 1.2.1 we get the following

Re: overloading methods wsdl

2005-08-23 Thread Plorks mail
Hi Thanks for your reply Can you suggest a way where i have a method that will accept parameters and will not error when no parameters are passed to it. - a method taking optonal parameters Thanks for any help From: Anne Thomas Manes <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org