Custom SOAP fault

2010-01-13 Thread lad alex
Hello I'm using Axis client 1.2 and trying to catch custom soap fault defined in wsdl. SOAP service is not Axis-driven one but i can control it . It seems WSDL2Java properly creates an exception class and inherit it from org.apache.axis.AxisFault. But caught exception object is AxisFaul

Re: Additional XML prefixes when client receives SOAP fault

2009-10-01 Thread Amila Suriarachchi
On Fri, Sep 25, 2009 at 3:23 PM, Christian Mielke wrote: > Hello, > I have a problem with XML prefixes. When the SOAP message leaves the server > with a fault the body looks like this: > > http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; > wsu:Id="Id-25568549">

Re: Additional XML prefixes when client receives SOAP fault

2009-10-01 Thread don t
is no prefix in the serviceFault tag on the server > side but the client puts the prefix "axis2ns1" into the body. For me this > is a problem because the body is signed on the server side and the client > calculates the hash with this prefix. That leads to signature verification > failure. Would be great if you can help me. > Greetings > Christian > > > > -- View this message in context: http://www.nabble.com/Additional-XML-prefixes-when-client-receives-SOAP-fault-tp25609385p25706726.html Sent from the Axis - User mailing list archive at Nabble.com.

Additional XML prefixes when client receives SOAP fault

2009-09-25 Thread Christian Mielke
Hello, I have a problem with XML prefixes. When the SOAP message leaves the server with a fault the body looks like this: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="Id-25568549"> soapenv:Receive

howto send back own error message instead standard soap-fault?

2009-05-19 Thread 7er92xk3g
stead of the standard soap fault message. As far as I understand, any fault occuring during security phase (IN-FLOW) results in an automatic soapfault answer from axis. My goal is to catch any fault during IN-FLOW and handle it. The best would be to be able to enter my service-implementation

RE: Why SOAP fault doesn't get mapped to AxisFault?

2009-02-20 Thread Rahul Kulkarni
: Friday, February 20, 2009 2:24 PM To: axis-user@ws.apache.org Subject: Re: Why SOAP fault doesn't get mapped to AxisFault? faultcode and faultstring are not in the right namespace. They should have the same namespace as the SOAP envelope. Andreas On Fri, Feb 20, 2009 at 06:36, Rahul Kulkarni

Re: Why SOAP fault doesn't get mapped to AxisFault?

2009-02-20 Thread Andreas Veithen
faultcode and faultstring are not in the right namespace. They should have the same namespace as the SOAP envelope. Andreas On Fri, Feb 20, 2009 at 06:36, Rahul Kulkarni wrote: > Actually, the SOAP Fault is getting mapped to the AxisFault exception, but > doesn't contain the SOAP Fau

RE: Why SOAP fault doesn't get mapped to AxisFault?

2009-02-19 Thread Rahul Kulkarni
Actually, the SOAP Fault is getting mapped to the AxisFault exception, but doesn't contain the SOAP Fault contents in AxisFault exception. The AxisFault contains the org.w3c.dom.DOMException. Does it indicate that there is an issue with the below mentioned SOAP response? Thanks and Re

Why SOAP fault doesn't get mapped to AxisFault?

2009-02-19 Thread Rahul Kulkarni
Hi all, I have a G++ gSoap server and JAVA Axis client configuration. When gSoap server raises SOAP fault using soap_receiver_fault function, JAVA Axis client doesn't map it to AxisFault exception. What could be the reason? The versions being used are gSoap-2.7.9 and Axis-1.2.1.

Rampart does not insert security headers when sending SOAP fault response

2008-09-11 Thread Shaun Clayton
Hi, I have a secure policy based web service using Axis2 1.4 and Rampart Release 1.4 (a policy using asymmetric binding). I create a web service where it throws an exception. But the response message built by Rampart does not contain security headers as expected by the client. Can anybody tell me

Soap Fault and generated class Exception (wsdl2java)

2008-07-23 Thread [EMAIL PROTECTED]
Hi, Im' using Axis2 1.4 and I can't seem to manage correctly Soap Faults. This an excerpt from my wsdl: wsdl2java (ADB binding) generates the class AuthFault, but when I throw this Exception inside MyOperation service method the follow

Re: SOAP fault "Could not initialize class ..."

2008-06-24 Thread Amila Suriarachchi
if you generate the code with wsdl2java tool you can use the build.xml file generated to generate service easily. thanks, Amila. On Wed, Jun 25, 2008 at 12:00 AM, Andrew Clegg <[EMAIL PROTECTED]> wrote: > I've figured it out. For posterity: > > I was following the deployment instructions in Kent

Re: SOAP fault "Could not initialize class ..."

2008-06-24 Thread Andrew Clegg
I've figured it out. For posterity: I was following the deployment instructions in Kent Ka Iok Tong's book Developing Web Services With Apache Axis2, which doesn't cover aar files, and instead just tells you to deploy your services by copying the build directory into the repository. While this se

SOAP fault "Could not initialize class ..."

2008-06-24 Thread Andrew Clegg
Afternoon all, I'm trying to get some XMLBeans-based service stubs in place and I'm hitting an odd problem which I can't find any reference to via Google. The services deploy to the server fine, with no error messages, and I can see them in http://localhost:8080/axis2/services/ and view the WSDLs

[axis2] Detail in SOAP fault

2008-04-10 Thread Radoslaw Adamiak
Hi I want to send detail info in SOAP fault message. Then only method in AxisFault class is setDedail(OMElement). But then, my message looks e.g. like this: ... soapenv:Client Authentication failed. 4 Given authId is not valid

how to map an exceptio to a soap fault with fault code soapenv:Client

2008-02-24 Thread Jinyuan Zhou
Hi, There is an example in AXIS2 distribution where some fault message is defined in wsdl and the wsdl2java converted them in the some exception. But the soap fault created all have Server as the fault code. I wonder if there is some configuration point that I can controle the fault code of the

Re: sendReceive: Internal Server Error on Soap Fault messages

2007-09-28 Thread axelspin
vice > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";> > > > 15 > The URI you`ve entered is not valid > > > > > > some ideas about it.. the web services seems to work fine with other > clients > for example I am using the

sendReceive: Internal Server Error on Soap Fault messages

2007-09-27 Thread axelspin
- View this message in context: http://www.nabble.com/sendReceive%3A-Internal-Server-Error-on-Soap-Fault-messages-tf4528847.html#a12922755 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Axis2] Setting faultactor tag in soap fault 1.1

2007-08-08 Thread p . casenove
Hello, I'm trying to generate complete SOAPFault 1.1. Using AxisFault constructor, I always get the same fault message tags: http://schemas.xmlsoap.org/soap/envelope/";> soapenv:Client.Header Header couldn't be validated against the xsd

Re: Axis 1.4: How to suppress stack trace and hostname in the details of a Soap fault

2007-07-27 Thread Lord Halbert
I looked at that the provided link but I'm still not sure how you suppress the stack trace and hostname from the Soap fault response. Could you be more specific. I did it by modifying the AxisFault class source and recompiling but I'd prefer not to do that. On 7/27/07, Davanum Sriniv

Re: Axis 1.4: How to suppress stack trace and hostname in the details of a Soap fault

2007-07-27 Thread Davanum Srinivas
axis.development.system http://ws.apache.org/axis/java/reference.html On 7/27/07, Lord Halbert <[EMAIL PROTECTED]> wrote: > How do you suppress the stack trace and the hostname from the detail > section of a soap fault response

Axis 1.4: How to suppress stack trace and hostname in the details of a Soap fault

2007-07-27 Thread Lord Halbert
How do you suppress the stack trace and the hostname from the detail section of a soap fault response in Axis 1.4 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Soap fault and ADB -- How to set the fault code

2007-07-02 Thread Vijesh A.V.
Error Message -Original Message- From: Ali, Haneef [mailto:[EMAIL PROTECTED] Sent: 02 July 2007 08:01 To: axis-user@ws.apache.org Subject: Soap fault and ADB -- How to set the fault code Hi, I have a wsdl operation which throws fault of type "MyFault

Soap fault and ADB -- How to set the fault code

2007-07-01 Thread Ali, Haneef
riginal Message- From: Ali, Haneef Sent: Monday, June 11, 2007 8:44 PM To: axis-user@ws.apache.org Subject: RE: SOAP fault - custom detail namespace Thanks for the response. I do have the element and wsdl declaration. I believe in this case Axis2 works as expected, and looks like Axis1.4 has a

Re: SOAP fault - custom detail namespace

2007-06-12 Thread Anne Thomas Manes
:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 3:19 PM To: axis-user@ws.apache.org Subject: Re: SOAP fault - custom detail namespace Based on your schema, the fault message should look like this: env:Server Some mes

RE: SOAP fault - custom detail namespace

2007-06-11 Thread Ali, Haneef
where only "localName" matches, then it desterilizes the bean which I think is wrong Thanks, Haneef -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 3:19 PM To: axis-user@ws.apache.org Subject: Re: SOAP fault - custom detail na

Re: SOAP fault - custom detail namespace

2007-06-11 Thread Anne Thomas Manes
Based on your schema, the fault message should look like this: env:Server Some message http://MyNamespace";> Also, please verify that you have in fact defined an *element*. (The schema fragm

SOAP fault - custom detail namespace

2007-06-11 Thread Ali, Haneef
Hi, I have the following complex Element http://MyNamespace";> I have omitted unnecessary implementation details. Bascially my weblogic webservice throws this excecption and the xml in the wire look like env:Server Some message

RE: How to check soap fault on the client side using xmlbeans client stub functions

2007-04-04 Thread Gul Onural
s-user@ws.apache.org Subject: How to check soap fault on the client side using xmlbeans client stub functions Hi, I have used xmlbeans databinding to generate client stubs. I am trying to understand how to get soap fault using the client stubs. One of my methods on the web service either return

How to check soap fault on the client side using xmlbeans client stub functions

2007-04-04 Thread Gul Onural
Hi, I have used xmlbeans databinding to generate client stubs. I am trying to understand how to get soap fault using the client stubs. One of my methods on the web service either returns an error (soap fault) or a piece of information if the result is successful. In the case of successful

RE: Exception in returning SOAP Fault.

2006-07-24 Thread Derek
nsport.http.AxisServlet.handleFault(AxisSe > rvlet.java:168) > at > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet > .java:153) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:616) > at javax.servlet.http.HttpServlet.service(HttpServlet.

Re: Exception in returning SOAP Fault.

2006-07-06 Thread JayG
.HttpServlet.service(HttpServlet.java:616) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) ... -- View this message in context: http://www.nabble.com/Exception-in-returning-SOAP-Fault.-tf1626630.html#a5205008 Sent from the Axis - User

Exception in returning SOAP Fault.

2006-05-16 Thread Amitesh Pandya
Hi, I'm currently working on project and we are using Axis2 + Sandesha2 (Both Version 1.0) for the WS-RM. One of my requirements is to return a SOAP Fault after the validation fails. I've created the service using WSDL2Java. The service works fine. But when I try to throw an excep

Re: [axis2 - 0.93] SOAP Fault - ClassCastException

2006-04-24 Thread Eran Chinthaka
Hi George, Seems you are using a bit "old" version of Axis2. We deprecated and removed the use of Call class after 0.95 (IIRC). As Deepal stated can you please check with Axis2 1.0 RC2 and let us know. I may be able to help you. Thanks, Chinthaka George Papandreou wrote: > Greetings, > > I a

Re: [axis2 - 0.93] SOAP Fault - ClassCastException

2006-04-24 Thread Deepal Jayasinghe
Hi George; Can you please try with Axis2 RC2 George Papandreou wrote: > Greetings, > > I am getting the following exception on reception of a SOAPFault > from a gSOAP node: > > _j__ava.lang.ClassCastException_: > org.apache.axis2.om.impl.llom.OMElementImpl > > at > org.apache.axis2.soap.impl

[axis2 - 0.93] SOAP Fault - ClassCastException

2006-04-24 Thread George Papandreou
Greetings,   I am getting the following exception on reception of a SOAPFault from a gSOAP node:  java.lang.ClassCastException: org.apache.axis2.om.impl.llom.OMElementImpl at org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getDetail(SOAPFaultImpl.java:133) at org.apache.axis2.soap.impl.llom.S

AW: [Axis2-0.95] how to ectract SOAP fault information at client side?

2006-04-05 Thread Andreas Bobek
Hi Eran, it was not considered to be a hint. It was a suggestion, since the todo was formulated as a question. Currently there is no possibility to extract the SOAP fault details (Code, SubCode, Detail, Reason) at client-side. That's why for me the answer to the todo-question is 'ye

Re: [Axis2-0.95] how to ectract SOAP fault information at client side?

2006-04-05 Thread Eran Chinthaka
or you wanna say sth else ? > > Or is there another possibility to get the SOAP fault information? options.isExceptionToBeThrownOnSOAPFault(false) -- Chinthaka signature.asc Description: OpenPGP digital signature

[Axis2-0.95] how to ectract SOAP fault information at client side?

2006-04-05 Thread Andreas Bobek
; throw new AxisFault(ex); in line 276 In AxisFault(Throwable cause) only the message is extracted from cause... There again is a todo item: "TODO: handle AxisFaults or SOAPFaultException implementations differently?" YES ;-) Or is there another possibility to get the SOAP fault informati

SOAP Fault

2005-10-27 Thread Weston, Toby
Hey folks,   Sorry for the newbie question but can you refer me to an article / HOWTO that shows you how to create SOAP fault's in SAAJ? Or how Axis would do it, I need to manually create a valid SOAP message that contains a fault.   Hope that makes sense. Thanks, Toby

Re: Handler not run on SOAP Fault

2005-10-05 Thread Kristian Andersen
--- > > From: Kristian Andersen [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 04, 2005 7:50 PM > > To: Grossberger, Guenter > > Cc: axis-user@ws.apache.org > > Subject: Re: Handler not run on SOAP Fault > > > > Hi, > > > > Im sorry, forg

Re: Handler not run on SOAP Fault

2005-10-04 Thread Kristian Andersen
- > > From: Kristian Andersen [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 04, 2005 1:36 PM > > To: axis-user@ws.apache.org > > Subject: Handler not run on SOAP Fault > > > > Hi, > > > > I have a simple handler (derived from BasicHandler) defin

RE: Handler not run on SOAP Fault

2005-10-04 Thread Grossberger, Guenter
age- > From: Kristian Andersen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 04, 2005 1:36 PM > To: axis-user@ws.apache.org > Subject: Handler not run on SOAP Fault > > Hi, > > I have a simple handler (derived from BasicHandler) defined in the > ResponseFlow

Handler not run on SOAP Fault

2005-10-04 Thread Kristian Andersen
Hi, I have a simple handler (derived from BasicHandler) defined in the ResponseFlow that gets the input and output SOAP messages from the msg ctx and stores them. This works fine, except when an AxisFault is thrown from the main code. In that case my handler never runs. Any ideas? (Im using Axis

Returning Soap Fault to Axis

2005-09-21 Thread Moshe Kravchik
Hi!We have a Web Service written in ATL Server and a client written in Javausing Axis. When something goes wrong on the server side, it returns anHRESULT of the error which is translated into the SoapFault. The problem isthat the SoapFault is interpreted by Axis not as a SoapFaultException,

RE: Getting details from a SOAP fault

2005-08-31 Thread Chris Nappin
().getBody().getFault()   and   response.getSOAPBody().getFault()   but both still return null!   From: Soactive Inc [mailto:[EMAIL PROTECTED] Sent: 31 August 2005 05:45 To: axis-user@ws.apache.org Subject: Re: Getting details from a SOAP fault   Hi Chris, Try this (note - this

Re: Getting details from a SOAP fault

2005-08-30 Thread Soactive Inc
lue = entry.getValue();     detailBuf.append("\n" + value);     }     }     System.out.println("Fault Detail: " + detailBuf.toString()); // rest of your code Best Regards, -Arun On 8/30/05, Chris Nappin <[EMAIL PROTECTED]> wrote: Hi,  I'm recei

Getting details from a SOAP fault

2005-08-30 Thread Chris Nappin
Hi, I'm receiving a custom SOAP fault in my client, with various application-specific error data items in the fault's "details" section. When using the JAX-RPC/JAXM APIs, I get a null details object: SOAPMessage response = ..call the service using JAXM.. if (response.ge

Returning a SOAP Fault

2005-05-31 Thread Sam Amarteifio
We are currently in the testing phase of a document style web services application. The application is required to return a soap fault when certain conditions are not met e.g. failure on XML schema validation of attached XML document. What we currently do in a fault situation is that we throw an

Re: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-18 Thread Tim K. (Gmane)
otherwise be known to the client. From: M S [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 9:23 PM To: axis-user@ws.apache.org Subject: RE: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS? Hi Dino, Thanks for your reply. Does .NE

Re: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-18 Thread Anne Thomas Manes
7;", fault.errorCode); > >> Console.WriteLine("fault.stack: '{0}'", fault.serverStackTraceId); > >> // etc > >>} > >>else > >> Console.WriteLine("detail is null!"); > >>

Re: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-18 Thread Tim K. (Gmane)
t: Tuesday, March 15, 2005 9:23 PM To: axis-user@ws.apache.org Subject: RE: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS? Hi Dino, Thanks for your reply. Does .NET uses XMLSerializer behind the scenes to perform serialization/deserialization of SOAP messages?

Re: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-17 Thread M S
PROTECTED]> >To: axis-user@ws.apache.org >Subject: Re: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS? >Date: Wed, 16 Mar 2005 10:50:23 -0500 > >Per both the SOAP 1.1 spec and the WS-I BP, faults must be described >as document/literal -- even if th

Re: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-16 Thread Anne Thomas Manes
the > client. > > > > From: M S [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 15, 2005 9:23 PM > To: axis-user@ws.apache.org > Subject: RE: Using .NET how to deserialize obj from detail element of SOAP > fault sentby AXIS? >

RE: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-15 Thread Dino Chiesa
osed into the WSDL, so that it gets generated into the client-side proxy class.  or it must otherwise be known to the client.    From: M S [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 9:23 PMTo: axis-user@ws.apache.orgSubject: RE: Using .NET how to deserialize obj from detail elemen

RE: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-15 Thread M S
s? many thanks, Matt.   >From: "Dino Chiesa" <[EMAIL PROTECTED]> >Reply-To: axis-user@ws.apache.org >To: >Subject: RE: Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS? >Date: Tue, 15 Mar 2005 17:32:05 -0800 > >first, >get rid of

Using .NET how to deserialize obj from detail element of SOAP fault sentby AXIS?

2005-03-15 Thread M S
Hello, I'm trying to build a C# client to consume an AXIS Web Service (running SOAP over HTTP).  The Web Service encodes full server-side exception traces in the Soap Fault > Detail element using complex type structures declared in the WSDL file.   I have had absolutely no luck working o