WSDL2C SOAP faults

2009-07-28 Thread Owais Khan
Dear all, With reference to article http://www.dimuthu.org/blog/2009/02/09/code-generate-custom-soap-faults-for-axis2c/ I have tried to generate code from WSDL provided in this article but I am unable to get the same skeleton as mentioned in example. I am using AXIS2 version "*

[Axis2] How to turn off AxisEngine logging stack traces for soap faults

2009-05-28 Thread Pantvaidya, Vishwajit
My webservice implementation uses Axis 1.4.1 Java. Whenever my webservice returns an exception (soap fault), Axis logs the entire stack trace in the logs e.g. our login service throws a fault if the login fails and this is atleast one case where I would like to suppress such logs. - Is there a w

[Axis2] SOAP-Faults

2008-12-15 Thread Gaiser, Matthias
Hi, I am using Axis2 and I have invested some time to understand the generation of SOAP faults with Axis2. IMHO, the SOAP specification allows multiple elements in the < env:Detail >-section of a SOAPFault, e.g.: env:Sender m:MessageT

Re: SOAP Faults and the SOAP specification

2008-09-03 Thread Markus Tost
Moin, the FaultCode relates to SOAP 1.1. As the namespace of your Enevelop is SOAP 1.1 NS, "Server" is correct here. See: http://www.w3.org/TR/2000/NOTE-SOAP-2508/#_Toc478383510 Cheers, Markus Tobias Anstett schrieb: Hi, I am a little bit confused of the SOAP12 implementation of axis2

SOAP Faults and the SOAP specification

2008-09-03 Thread Tobias Anstett
Hi, I am a little bit confused of the SOAP12 implementation of axis2 (1.4). When my web service throws a standard AxisFault without specifying the fault code manually, soapUI receives the following message: http://schemas.xmlsoap.org/soap/envelope/";> soapenv:Server

SOAP faults for parts of the message?

2008-03-17 Thread mikle
that null arrays (in case of no rejected items) are problematic and not good for interop.. I'm not sure how SOAP faults work..is it possible to return faults together with a response? Mike -- View this message in context: http://www.nabble.com/SOAP-faults-for-parts-of-t

RE: SOAP Faults

2008-01-13 Thread Hoda, Nadeem [USA]
, Nadeem [USA] [mailto:[EMAIL PROTECTED] Sent: Sunday, January 13, 2008 12:22 PM To: axis-user@ws.apache.org Subject: SOAP Faults All, In the call: new AxisFault(new QName(errorNamespaceUri, errorCode, errorNamespace), errorMessage, new Exception(errorDetail)); what exactly does

SOAP Faults

2008-01-13 Thread Hoda, Nadeem [USA]
All, In the call: new AxisFault(new QName(errorNamespaceUri, errorCode, errorNamespace), errorMessage, new Exception(errorDetail)); what exactly does adding the Exception (the third parameter) to the AxisFault call do? I do not see any difference in the SOAP Fault at the client s

RE: Soap Faults and Exception

2007-10-16 Thread Kahler, Jason J (US SSA)
lt. It does in fact generate the Fault classes. But they do not extend Throwable. _ From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Monday, October 15, 2007 1:06 AM To: axis-user@ws.apache.org Subject: Re: Soap Faults and Exception what is the data bind you use? Axis2

Re: Soap Faults and Exception

2007-10-15 Thread Amila Suriarachchi
t fault. It does in > fact generate the Fault classes. But they do not extend Throwable. > > > -- > > *From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED] > *Sent:* Monday, October 15, 2007 1:06 AM > *To:* axis-user@ws.apache.org > *Subject:* R

RE: Soap Faults and Exception

2007-10-15 Thread Kahler, Jason J (US SSA)
chchi [mailto:[EMAIL PROTECTED] Sent: Monday, October 15, 2007 1:06 AM To: axis-user@ws.apache.org Subject: Re: Soap Faults and Exception what is the data bind you use? Axis2 generates a seperate class for every element. and each fault message. so if an element with the wsdl namespace with the

Re: Soap Faults and Exception

2007-10-14 Thread Amila Suriarachchi
what is the data bind you use? Axis2 generates a seperate class for every element. and each fault message. so if an element with the wsdl namespace with the name same as the fault message then both classes would have the same package and class names. to avoid this use -p option to specify a sepera

Soap Faults and Exception

2007-10-12 Thread Kahler, Jason J (US SSA)
I am using Axis2 1.3 I have defined a custom Fault in my WSDL. It worked fine using axis 1. But now when I run WSDL2code via the maven2 pluggin I get errors when I try to compile my classes such as: java:[63,17] incompatible types found : wfnp.ServiceException required: java.lang.Throwab

RE: How to handle soap faults?

2007-08-01 Thread Moore, Greg
[mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 2:06 PM To: Moore, Greg Cc: axis-user@ws.apache.org Subject: Re: How to handle soap faults? Here you go: #This handles the imports of the java stuff from org.apache.commons.httpclient import * from org.apache.commons.httpclient.method

Re: How to handle soap faults?

2007-08-01 Thread Davanum Srinivas
lse: > # I'd like to check for soap fault here instead of a generic > # failure. > print " failure: " + post.getStatusLine().toString() > > Hope this helps > > Regards, > Greg, > > > -Original Message- > F

RE: How to handle soap faults?

2007-08-01 Thread Moore, Greg
usLine().toString() Hope this helps Regards, Greg, -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 9:11 AM To: axis-user@ws.apache.org Subject: Re: How to handle soap faults? Greg, Can you please post what you have so far? thanks, dims

Re: How to handle soap faults?

2007-08-01 Thread Davanum Srinivas
Greg, Can you please post what you have so far? thanks, dims On 8/1/07, Moore, Greg <[EMAIL PROTECTED]> wrote: > Hi, > > Done some searching of axis and other lists as well as google searches > and I haven't come up with anything that explained what I am wondering > about. > > I'm posting an xml

How to handle soap faults?

2007-08-01 Thread Moore, Greg
Hi, Done some searching of axis and other lists as well as google searches and I haven't come up with anything that explained what I am wondering about. I'm posting an xml file containing a soap envelope to a service and I get back a xml response that will either contain a soap fault or a CDATA

can I handle soap faults when using httpClient?

2007-07-24 Thread Moore, Greg
Hi, Done some searching of axis and other lists as well as google searches and I haven't come up with anything that explained what I am wondering about. Maybe some kind person will take pity on the confused. :) I'm posting an xml file containing a soap envelope to a service and I get back a xml

How do you turn off detail (stack trace) in Apache Axis 1.4 soap faults?

2007-07-18 Thread Yoon, Chul
I noticed that in Apache Axis 1.4, when your service throws an exception, Apache Axis will add a element to the soap fault response. Inside the detail element there is a stack trace and a hostname section. This is behavior is a change from Apache Axis 1.1 where you didn't get the detail se

[Axis2] SOAP faults problem with InOnly Receiver

2007-03-09 Thread Colin Markwell
Hi, I'm having problems returning SOAP faults from Axis2/Java 1.1.1 when using methods that use the InOnly receiver (i.e. ones that don't return any data). Instead of retuning a "HTTP/1.1 500 Internal Server Error" response, it returns "HTTP/1.1 202 Accepted". I

Receiving soap faults in axis2-1-1 client

2006-11-29 Thread Mary Thompson
Ever since I switched to axis2-1-1 my client stubs have generated the following exception whenever they receive a soap fault from the server. (the stub code is generated by WSDL2java) OSCARSStub threw exception org.apache.axiom.om.impl.llom.OMElementImpl java.lang.ClassCastException: org.apache.

RE: Soap faults so that wsdl2java generates java classes

2006-03-08 Thread James Clinton
Irgnore that, it's a custom namespace (sry to confuse!). -Original Message- From: Dies Koper [mailto:[EMAIL PROTECTED] Sent: 08 March 2006 00:50 To: axis-user@ws.apache.org Subject: Re: Soap faults so that wsdl2java generates java classes > What namespace is this 'messa

Re: Soap faults so that wsdl2java generates java classes

2006-03-07 Thread Dies Koper
> What namespace is this 'message' you refer to? Any namespace you like. James's example would lead to an exception class called XyzException, with a field called warningMessages of type WarningMessage[], with WarningMessage being some Javabean. The field is just an example, it could also be e

Re: Soap faults so that wsdl2java generates java classes

2006-03-07 Thread Rune S. Philosof
James Clinton wrote: >-Original Message- >From: Rune S. Philosof [mailto:[EMAIL PROTECTED] >Sent: 07 March 2006 07:44 >To: axis-user@ws.apache.org >Subject: Soap faults so that wsdl2java generates java classes >>Does anyone have an example of a wsdl document with &

RE: Soap faults so that wsdl2java generates java classes

2006-03-07 Thread James Clinton
Message- From: Rune S. Philosof [mailto:[EMAIL PROTECTED] Sent: 07 March 2006 07:44 To: axis-user@ws.apache.org Subject: Soap faults so that wsdl2java generates java classes Hi, I am using wsdl2java, and I am unsure of

Soap faults so that wsdl2java generates java classes

2006-03-06 Thread Rune S. Philosof
Hi, I am using wsdl2java, and I am unsure of what I should write in my wsdl document to specify which kinds of exceptions my soap server throws. Does anyone have an example of a wsdl document with fault declaration in it? Or maybe wsdl2java doesn't make subclasses for each soap fault? -- Greet

axis 1.3 soap faults

2005-12-31 Thread Dasarath Weeratunge
Hi,   I'm using axis 1.3 and when I throw an AxisFault the message that comes out is a soap 1.1 fault-- how can I get a soap 1.2 fault? The AxisFault class seems to have the required constructor but even when I use it, still I get a 1.1 fault:(   thanks --dasarath

SOAP Lite and SOAP Faults

2005-10-21 Thread Bell, Douglas
Hello, Anyone have experience using SOAP Lite (PERL) with and AXIS server? Java, C# and even XMLSpy can correctly interprete the SOAP Faults returned. SOAP Lite however only sees a generic 500 error. I've attached a sample of the output below. Any help would be greatly appreciated! T

Not able to see SOAP faults in SOAP Monitor

2005-07-28 Thread Jayaraman, Venkatesh
I was having webservice with definitions in server_config.wsdd as follows I can see successful SOAP requests and Responses. But do not see the failure response (SOAP Faults) What could be the problem

SOAP-Faults/Java Exception Mapping and Handling.

2005-03-01 Thread Brian Abbott
Title: Message Hi, I am wondering how I register in wsdd a Java Exception to be serialized and deserialized by the client and represented as the correct exception type with the correct specific fields on the client side.   Thank you,   Brian