RE : Unable to understand this exception !

2005-02-08 Thread Faucher, Christian
osony [mailto:[EMAIL PROTECTED]]Envoyé : mardi, février 8, 2005 00:14À : [EMAIL PROTECTED]Objet : Re: Unable to understand this exception !No answers. Can anyone please respond. I am running out of time :-(On Tue, 8 Feb 2005 09:55:15 +0530, babloosony <[EMAIL PROTECTED]> wrote:> Hi All

Re: Unable to understand this exception !

2005-02-07 Thread babloosony
gt; { > throw new SAXException("incompatable type passed to JiBX > deserializer"); > } > MessageElement element = dctx.getCurElement(); > if(element != null) > { > String text = null; > try > { > text = elem

Unable to understand this exception !

2005-02-07 Thread babloosony
marshalDocument(new StringReader(text)); } catch(JiBXException e) { throw new SAXException("error in JiBX deserialization : " + e.getMessage(), e); } catch(Exception e) { throw new SAXException(&q

Re: Axis exception while deploying a WAR

2005-02-07 Thread Davanum Srinivas
s, I > can see the following exception in my tomcat 5.0.28 (Axis verison > 1.2-RC1): > > 09:51:21,949 DEBUG ProjectResourceBundle:72 - > org.apache.axis.i18n.resource::handleGetObject(exception00) > 09:51:21,949 DEBUG BaseDeserializerFactory:210 - Exceptio

Axis exception while deploying a WAR

2005-02-07 Thread Arijit Mukherjee
Hi All I have a doc style WS, with some custom types, which I deploy as a WAR file. If I turn on the DEBUG option for Axis in the log4j.properties, I can see the following exception in my tomcat 5.0.28 (Axis verison 1.2-RC1): 09:51:21,949 DEBUG ProjectResourceBundle:72

AxisFault with exception

2005-02-05 Thread Premkumar Rudharraju
Hi, I am using Axis1.2 client to invoke weblogic 8.1 webservice. When i throw throw new javax.xml.rpc.soap.SOAPFaultException(), am getting following exception on axis client   AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString

JAXRPCTIE01: caught exception while handling request

2005-02-04 Thread babloosony
://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: JAXRPCTIE01: caught exception while handling request: unexpected element name: expected=SearchOrder_1, actual={http://www.examples.com/types}SearchOrder_1 faultActor: faultNode: faultDetail: {http://xml.apache.org/axis

Server Side AXIS-Web Service Unknown Exception

2005-02-02 Thread babloosony
Hi All, Environment 1. WSAD 5.1.2 2. AXIS 1.2 RC2 on both server and client 3. WebSphere Application Server 5.0 4. custom (de)serializers written replacing axis default (de)serializers both at server side and client side I have deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test E

Unable to understand AXIS - EJB exception

2005-01-29 Thread babloosony
Hi All, I have successfully developed and deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test Environment. I have even able to access the EJB using UTC(Universal Test Client) in WSAD and by launching the j2ee client module using WebSphere lauchClient program. I have now exposed this ejb as web

Exception : faultString: No such operation

2005-01-27 Thread Dhananjayan_K
(BHi , (BIam getting the following exception when iam invoking the webservice which (Bis (Bdeployed in the Axis. (B (BAxisFault (B faultCode: {http://xml.apache.org/axis/}Client (B faultSubcode: (B faultString: No such operation 'name' (B faultActor: (B faultNode: (B f

Exception thrown when .Net client calls Axis webservice

2005-01-26 Thread Dhananjayan_K
(BHi, (BWhen iam calling a webservice running in Axis from .Net client iam getting (Bthe following exception: (B (BAn unhandled exception of type 'System.Web.Services.Protocols.SoapException' (Boccurred in System.Web.Services.dll (BAdditional information: java.lang.NullPointe

no serializer found exception

2005-01-26 Thread Lubomir ILanovsky
fine while I use generated Locator classes to create and invoke the service. When I create instance of axis engine and try to do it in following way I get the "no serializer found exception". javax.jms.TextMessage jmsMsg; AxisEngine engine = new AxisServer(new FileProvider(server-c

exception during WSDL generation via ?wsdl

2005-01-23 Thread Oleg Lebedev
When I go to http://localhost:8080/calendar3/services/calendar the page says: calendar Hi there, this is an AXIS service! However, when I try to have Axis generate the wsdl for this service by going to http://localhost:8080/calendar3/services/calendar?wsdl I get the following exception:

Re: AxisFault with custom exception

2005-01-22 Thread Lorenzo Dalla Vecchia
I checked the website and tried following its guidelines: nothing. Everything works: the WSDL and the WSDD are correct but at the time the exception is throwed the item of the SOAP response does not contain exception fileds but only that "hostname" thing. http://schemas.xmlsoa

Re: AxisFault with custom exception

2005-01-22 Thread Sunil Kothari
Hi Lorenzo, Let me give the configuration of what I am using. Axis 1.1 running under Tomcat 5.0.27 I think you have to subclass your Exception from AxisFault and then try to catch exception on the client side. Here's how my exception hierarchy looks java.lang.O

AxisFault with custom exception

2005-01-22 Thread Lorenzo Dalla Vecchia
Hello everyone. I'm new to Axis and to this mailing list and I'm having a hard time trying to throw custom exceptions from my Axis web service. I'm working with a simple test project. Here's my exception class: public class MyException extends Exception { private Stri

Re: Please!!! help me on this exception

2005-01-11 Thread James Ludlow
tom chen wrote: D:\axis-1_2RC1\samples\stock>java -cp d:\jakarta-tomcat-5.5.4\webapps\axis.jar;d:\jakarta-tom cat-5.5.4\webapps\commons-discovery.jar;d:\jakarta-tomcat-5.5.4\webapps\commons-logging.jar;d :\jakarta-tomcat-5.5.4\webapps\jaxrpc.jar;d:\jakarta-tomcat-5.5.4\webapps\saaj.jar;d:\jakarta

Re: Please!!! help me on this exception

2005-01-11 Thread Robert Gombotz
is axis.jar in your classpath?   rob - Original Message - From: tom chen To: [EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 6:16 PM Subject: Please!!! help me on this exception Hello All,   I am trying to setup axis in tomcat 5.5.4 with java 5.0

Please!!! help me on this exception

2005-01-11 Thread tom chen
Hello All,   I am trying to setup axis in tomcat 5.5.4 with java 5.0. I got an Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient.    I do not know what is wrong. Please help me!   Thank you very much!   --tom   =

Null Pointer Exception when trying to create Service

2005-01-06 Thread Hewitt, Christopher
Hi, I have a web service setup that has been working fine in testing. I am now trying to incorporate the client code into an application running in Weblogic 8.1 on a different machine, but there is an issue when creating the Service object. This is the call: Service das = new Service(wsdlUrl, n

RE: Service Specific Exception not working

2004-12-30 Thread Westfall, Eric Curtis
help! Eric -Original Message- From: Patrick Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: RE: Service Specific Exception not working I ended up using a dynamic proxy and doing a "little bit of magic" to unpack

RE: Service Specific Exception not working

2004-12-30 Thread Patrick Martin
I ended up using a dynamic proxy and doing a "little bit of magic" to unpack the exceptions. The essential problem is the RemoteException exception specification, but yes, perhaps the cause should be initialised if it were possible. It's not entirely straightforward, though

RE: Service Specific Exception not working

2004-12-30 Thread Westfall, Eric Curtis
" (or "cause") which is an instance of RemoteException, it will throw that instead. That's one of the reasons I was able to get back the desired exception (instead of an AxisFault) when extending RemoteException. 3) When constructing an AxisFault (in the cases of a non-RemoteE

Service Specific Exception not working

2004-12-29 Thread Westfall, Eric Curtis
Hello, I've searched the list for answers to this issue and I haven't been able to find any satisfactory ones. I'm having trouble getting "Service Specific Exceptions" as defined in the JAX-RPC specification to work properly. If I define a custom exception and have

NoSuchMethod exception

2004-12-20 Thread Seaman, Sloan
Title: NoSuchMethod exception I turned on debug logging for org.apache and I noticed: 2004-12-20 13:26:19,966 [http-8080-Processor25] DEBUG org.apache.axis.encoding.ser.BaseDeserializerFactory - Exception: java.lang.NoSuchMethodException: com.ptilabs.commons.ws.ser.ClassDeserFactory.create

SOAP return message not displayed when exception thrown

2004-12-19 Thread Madeleine Wright
I'm curious. I haven't made provision for a SOAP fault in my WSDL but, when I call a service in such a way that it generates an exception, the Axis SOAP Monitor does not show the response message - but I can see through a sniffer I've got running that there is actually a returne

RE: Question on user exception handling on autogenerated clients

2004-12-15 Thread Michael Merz
: Question on user exception handling on autogenerated clients Hi, Michael. Handling service-specific exception is implemented in Axis. In the generated code, > java.lang.Object _resp = _call.invoke(new java.lang.Object[] >{new java.lang.Integer(in0)}); > > if (_res

Re: Question on user exception handling on autogenerated clients

2004-12-15 Thread TMG
Michael, The server services throw a RemoteException, that's what you "catch" in the client. If a handler, either before or after the service is called, throws an exception, it is usually an AxisFault. Tom Gordon Michael Merz wrote: Bcc: [EMAIL PROTECTED] I'm autogenerat

Re: Question on user exception handling on autogenerated clients

2004-12-14 Thread Davanum Srinivas
pls check the test/wsdl/faults example. -- dims On Tue, 14 Dec 2004 10:12:20 -0800, Michael Merz <[EMAIL PROTECTED]> wrote: > Bcc: [EMAIL PROTECTED] > > I'm autogenerating my clients using the wsdl2java ant task. It's working > really well. > > One que

Question on user exception handling on autogenerated clients

2004-12-14 Thread Michael Merz
Bcc: [EMAIL PROTECTED] I'm autogenerating my clients using the wsdl2java ant task. It's working really well. One question regarding exception handling, though: When the server throws a custom exception (subclass of java.lang.Exception), how does the autogenerated client propagate the

Service Exception Problems

2004-12-12 Thread Craig Lindley
Hello, maybe there is someone out there who has seen this problem before. We have a rather large webservice (~100 methods) and many of the methods throw more than one service exception. My question is, can a webservice method declare and throw more than a single checked exception? When we try

Urgent: Exception: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

2004-12-10 Thread Sagar Pidaparthi
Exception: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. Hi, I have a service which works in RPC mode and I converted it to Doc Lit mode and then wrapped modes

Re: Axis exception on deployment

2004-12-02 Thread ANDREW MICONE
Fixed my own problem again. I'm learning more about ant files every day. Steps to compile for other newbies in pain: 1) Switch to J2EE 1.4.2_04 SDK instead of 1.5 2) Make sure tomcat's servlet api jar is in the CLASSPATH. 3) Make sure activation.jar and mail.jar is in WEB-INF/lib 4) Make sure log

Axis exception on deployment

2004-12-02 Thread ANDREW MICONE
On deployment of the latest-greatest CVS daily of Axis from tomcat, the following error appears. If you look in axis.jar you find that the class is indeed not in there. A problem with the build or a problem with the code? I see the source in the java directory but I don't see a class file in the

handeling call timeout exception

2004-11-16 Thread Anatoly Shein
Hi We are using synchronous client to invoke the server API. There is setTimeout method allows change socket timeout. We like to use this to enable cancel operation for invoked call. something like the following :         call.setTimeout( 1000 ); boolean shouldContin

Re: Trouble deploying a web service - Exception:: org.xml.sax.SAXException

2004-11-09 Thread charles . rosa
CTED] 11/09/2004 03:50 cc: PM Subject: Trouble deploying a web service - Exception:: org.xml.sax.SAXExcep

Trouble deploying a web service - Exception:: org.xml.sax.SAXException

2004-11-09 Thread charles . rosa
: Processing file portfoliooptimization_webservice/deploy.wsdd Exception:: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. It seems to be indicating that it's having a hard time serializing and deserializing so

RE: Error connecting to webservice with stub : java.lang.NoSuchMe thod Exception

2004-11-03 Thread John McCosker
;;  public Document createSpreadSheet(MessageContext context, String fileLocation, boolean local)throws Exception{boolean buildDocument = true;  boolean fileCreated = false;  String created = "";  String toAddress = "[EMAIL PROTECTED]";  String fromAddress = "[EMAIL PROTEC

Error connecting to webservice with stub : java.lang.NoSuchMethod Exception

2004-11-03 Thread John McCosker
rValve[ScheduleSystemRoot]: Servlet.service() for servlet ScheduleSystemRoot threw exception java.lang.NoSuchMethodException: com.leocate.spreadSheets.ExcelPublishingService.createSpreadSheet(org.apache.axis.MessageContext, org.w3c.dom.Document)tried class:  com.leocate.spreadSheets.ExcelPublishingService, method

Re: Exception: No deserializer defined for array type ...

2004-11-02 Thread Egor Pervuninski
hen I try to call the "findSecurities" function, an exception "No CS> deserializer defined for array type Security" is raised. I found CS> the section about custom serialization in the Axis User's Guide, CS> but since I'm building a client (and not a server)

Exception: No deserializer defined for array type ...

2004-11-02 Thread Christian Schröder
Hi! I've tried to build a Java client for the wsdl which can be found at http://62.146.42.45/soap/complextest1.wsdl The wsdl file is compiled (using WSDL2Java from axis 1.1) without problems. But when I try to call the "findSecurities" function, an exception "No deserializ

AxisFault: null pointer exception suggestion

2004-11-02 Thread Los Morales
Hi, I've been testing out my newly deployed web service with a client and all I keep getting back is an axis fault with a null pointer exception: Remote Exception: java.lang.NullPointerException AxisFault faultCode: {http://schemas.xmlsoap.org/soap/env

RE: WSDL2Java does not generate custom exception

2004-10-27 Thread Anne Thomas Manes
t that someone file a bug report. So I repeat, please file a bug report. Thanks, Anne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 9:12 AM To: [EMAIL PROTECTED] Subject: RE: WSDL2Java does not generate custom exception Hi Ann

RE: WSDL2Java does not generate custom exception

2004-10-27 Thread smcardle
;s a bug. It is not compliant with the > specifications. > > Please file a bug report. > > Anne > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 4:21 AM > To: [EMAIL PROTECTED] > Subject: RE: WSD

RE: WSDL2Java does not generate custom exception

2004-10-27 Thread Anne Thomas Manes
L2Java does not generate custom exception Hi Anne This is not true. The excepts I included in the previous post are direct extracts from my WSDL. All I did was remove all the other exceptions thrown from my operation and left just the one for brevity. This particular SOAP service has aprox 80 operation

RE: WSDL2Java does not generate custom exception

2004-10-27 Thread smcardle
exceptions. The service is Axis 1.1 and our clients are GLUE. The only problem I encountered with the custome exceptions is that WSDL2Java gives them all the same QName and therefor when looked up in the map for deserialisation only the first exception type would be found. To get over this just

RE: WSDL2Java does not generate custom exception

2004-10-26 Thread Anne Thomas Manes
CTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 11:21 AM To: [EMAIL PROTECTED] Subject: Re: WSDL2Java does not generate custom exception OK First define your exception as a complex type as follows: Next define the message as follows:

Exception while deserializing abstract JavaBean

2004-10-25 Thread Kyle Cronin
ptors() is invoked the following exception is thrown: org.xml.sax.SAXException: Unable to create JavaBean of type com.wrycan.AbstractDescriptor. Missing default constructor? Error was: java.lang.InstantiationException. at org.apache.axis.encoding.ser.BeanDeserializer.startEl

Re: WSDL2Java does not generate custom exception

2004-10-25 Thread smcardle
OK First define your exception as a complex type as follows: Next define the message as follows: N.B. The part name attribute is "fault" Next define the operation in the portType section of your WSDL as follows: Las

WSDL2Java does not generate custom exception

2004-10-25 Thread Los Morales
Hi, I have a question on how Axis 1.1 generates a user-defined fault through the WSDL2Java tool. I have defined a schema for an exception I want to return whenever something wrong happens during Web Service processing. In my custom WSDL, I specified this exception in the message, portType and

Re: Exception: No serializer found for class java.io.File in registry org.apache.axis.encoding.TypeMappingImpl@102b2b6

2004-10-18 Thread Kirubakaran . Pakkirisamy
TED]> 10/18/2004 06:45 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Exception: No serializer found for class java.io.File in registry [EMAIL PROTECTED] Hi, I am trying to write a web service that will read error logs form the server and display it

Exception: No serializer found for class java.io.File in registry org.apache.axis.encoding.TypeMappingImpl@102b2b6

2004-10-18 Thread METIN ZAVRAK
Hi, I am trying to write a web service that will read error logs form the server and display it on the client side. While I  was trying to generate wsdl file using Java2WSDL tool, I received a warning saying that "using anyType in schema instead of java.io.File." I got the wsdl file and deploy m

Why do I get an invalid QName local part exception?

2004-10-15 Thread Thomas Forrester
Hi, Can anyone help explain why I get an exception thrown at the last line of this code snippet: DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.newDocument(); Element root = doc.createElementNS("EnvelopeService",

help with exception explanation

2004-10-14 Thread Michael Engelhart
Hi - I have a SOAP w/ attachments test that works fine except that while it's running through the request/response it generates the following error: java.io.IOException: Resource has been deleted. at org.apache.axis.attachments.ManagedMemoryDataSource$Instream.(Mana gedMemoryDataSource.jav

Faults and exception inheritance.

2004-10-11 Thread Adrian Perez Jorge
es WSDL2Java is used and then exception classes are generated to be used at the client side. Let's say this is a method at the server side: /** * @ejb.interface-method * @axis.method */ public void mymethod() throws BaseException { ... throw

Exception thrown when loading the class org.apache.axis.transport.http.AxisHTTPSessionListener

2004-10-08 Thread Sagar Pidaparthi
] 3cc8d555 WebGroup I SRVE0180I: [Apache-Axis] [/WebServices] [Servlet.LOG]: SOAPMonitorService: init [10/8/04 20:07:42:398 IST] 3cc8d555 SystemErr R Exception thrown when loading the class org.apache.axis.transport.http.AxisHTTPSessionListener [10/8/04 20:07:49:559 IST] 50b85556 SystemOut

Unable to create JavaBean Client side exception

2004-09-10 Thread Sagar Pidaparthi
Hi, I get the following exception on the client which uses proxies. I have created a constructor on the Person class mentioned below. What else can I do on the client to get my client working? The server does not show any exceptions. In fact the SOAP monitor shows that the response message

Fault or Exception

2004-09-07 Thread Thomas Bailey
Hi All,   Ive been trying to figure out the best way of doing exception / error handling. If someone could give me some guidance it would be much appreciated. Ive made some assumptions from reading various docs - please correct me. Im using Axis 1.1 (Java), + latest Tomcat.   As I

Axis exception with JSSE and WS 4.0.3

2004-09-01 Thread claudio cantonetti
Hi, i'm trying to use Axis(1.1) with JSSE in WebSphere 4.0.3 to reach a WebService via SSL, but I got that exception when I call the Service:   2004-08-20 14:24:33,595 DEBUG (AxisClient.java:108) - Enter: AxisClient::invoke 2004-08-20 14:24:33,598 DEBUG (AxisClient.jav

Re: Help in Exception handling...

2004-08-28 Thread
ject getCause() { ^ 1 error C:\axis-1_2beta\samples\faults\samples\faults> 3. Created a test client, I was able to trap the NoSuchEmployeeFault exception. Hope this helps. Note: Thanks for the article, but doing the above I didn't have to manually update

SOAPPart exception w/ Axis

2004-08-27 Thread ericho
= tFactory.newTransformer(); Source spSrc = soapPart.getContent(); - Causes this exception: -- javax.xml.soap.SOAPException: Could not get document from SOAPEnvelope at org.apache.axis.SOAPPart.getContent(SOAPPart.java:709) at SeatMapReq

RE: Exception with Axis 1.1 final

2004-08-25 Thread Sandeep Arshanapally
Title: RE: Exception with Axis 1.1 final Any easy way to log the messaging on the client side? We are using SSL so its not possible to run TCPMon. Sandeep -Original Message- From: Keith Tingle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 25, 2004 11:53 AM To: '[

RE: Exception with Axis 1.1 final

2004-08-25 Thread Keith Tingle
Can you post the contents of the SOAP message axis is attempting to parse? It looks as though the client is not sending XML. Payformance Corporation confidentiality statement *** Notice: This e-mail message, including any atta

Exception with Axis 1.1 final

2004-08-25 Thread Sandeep Arshanapally
Title: Exception with Axis 1.1 final Hi,     We are using Axis 1.1 final with Tomcat 4.1.30 and seeing the following exception happens sometimes. Any idea of what might be wrong??? Thanks in  advance, Sandeep AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope

Re: Help in Exception handling...

2004-08-20 Thread matthew.hawthorne
Ragunath Marudhachalam wrote: I tried customizing exceptions and i had .net on the client. All i can do on the client side is, i can catch the exception as SoapException and get the string from that exception. .net client could not build a class for the custom exceptions in the web reference like

RE: Help in Exception handling...

2004-08-20 Thread Ragunath Marudhachalam
I tried customizing exceptions and i had .net on the client. All i can do on the client side is, i can catch the exception as SoapException and get the string from that exception. .net client could not build a class for the custom exceptions in the web reference like it does for all other objects

Re: Help in Exception handling...

2004-08-20 Thread matthew.hawthorne
I read the article at http://www-106.ibm.com/developerworks/xml/library/ws-tip-jaxrpc.html and made some customizations to my exceptions accordingly. The SOAP looks correct, but I just cannot get Axis to instantiate the exceptions on the client side. They are always returned as Axis faults. I

RE: Help in Exception handling...

2004-08-19 Thread Junaid . Bhatra
cc Please respond to Subject [EMAIL PROTECTED] RE: Help in Exception handlin

RE: Help in Exception handling...

2004-08-18 Thread Vikas Phonsa
matthew.hawthorne [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 4:00 PM To: [EMAIL PROTECTED] Subject: Re: Help in Exception handling... Christophe Roudet wrote: > I am not sure it is possible to skip the stack trace. > I have just looked to the AxisFault code and it seems tha

Re: Help in Exception handling...

2004-08-18 Thread matthew.hawthorne
Christophe Roudet wrote: I am not sure it is possible to skip the stack trace. I have just looked to the AxisFault code and it seems that fault details will always be filled with the stack trace (see the initFromException(Exception target) method). I think there may be a flag you can set that

RE: Help in Exception handling...

2004-08-18 Thread Lin, Zhongwu
Hi, I use: public class MyServiceException extends org.apache.axis.AxisFault implements java.io.Serializable {} On the server side, I call public void setFaultCodeAsString(java.lang.String code) to set faultcode before I return exception to client. In client side faultcode is

RE: Help in Exception handling...

2004-08-18 Thread Christophe Roudet
I am not sure it is possible to skip the stack trace. I have just looked to the AxisFault code and it seems that fault details will always be filled with the stack trace (see the initFromException(Exception target) method). Christophe > -Original Message- > From: Vikas Phonsa [

RE: Help in Exception handling...

2004-08-18 Thread Vikas Phonsa
Christophe, I am doing the exact same thing. Can u post a sample soap message returned to the client when an exception has been thrown by the web service. When I throw an exception after setting its method to a relevant value, I also get the stack trace in my SOAP message. I just want the

RE: Help in Exception handling...

2004-08-18 Thread Christophe Roudet
) ? super.getMessage() : _mess; } } Christophe > -Original Message- > From: matthew.hawthorne [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 18, 2004 4:42 PM > To: [EMAIL PROTECTED] > Subject: Re: Help in Exception handling... > > Ragunath Marudhachalam wrote:

RE: Help in Exception handling...

2004-08-18 Thread Vikas Phonsa
Yeah I need to find answer to this too. Despite all the suggested setting in wsdl and other areas, I have been unable to send just the message of my custom exception. Right now the whole stack traces is being sent to the client. The following article offered some information, but still things

Re: Help in Exception handling...

2004-08-18 Thread matthew.hawthorne
Ragunath Marudhachalam wrote: Is it possible to throw an exception that extends java.lang.Excpetion from a webservice. I found some material that throws AxisFault exception. Also i read it is possible to throw an exception which has getter and setter methods. Any example and tips from anyone who

Help in Exception handling...

2004-08-18 Thread Ragunath Marudhachalam
Hello ALL, Is it possible to throw an exception that extends java.lang.Excpetion from a webservice. I found some material that throws AxisFault exception. Also i read it is possible to throw an exception which has getter and setter methods. Any example and tips from anyone who has already worked

Re: Illegal XML character revisit and ways to handle the exception

2004-07-30 Thread gary . si . grewal
:53 cc: AM Subject: Illegal XML character revisit and ways to handle the exception Ple

Illegal XML character revisit and ways to handle the exception

2004-07-29 Thread Liu, Scott
delimiters like Unicode \u0005 in my data which causing the exception like listed below.   AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseException: Illegal XML character faultActor: faultNode: faultDetail

Need help - SOAPFault converted to exception

2004-07-26 Thread Aoife . Kavanagh
27;m working to says that the fault string will be one of four values and the client needs to be able to determine which of those values caused the error.  According  the Axis installation guide Axis will convert the fault to a Java exception.  I can use getMessage() on the exception to get the Fau

Re: Strange Axis Exception....

2004-07-06 Thread NYY96
an application housed on IBM Websphere Version 5.1 to talk to an Axis WebService housed on IBM Websphere Version 5.0.  Everything works fine, but every once in a while (approx once in every 200 requests or so) we get a Java exception.  I cannot recreate this with increased traffic.  In

Strange Axis Exception....

2004-07-06 Thread Rideout, Chris
Title: Strange Axis Exception Hey Folks, I'm using an Axis client in an application housed on IBM Websphere Version 5.1 to talk to an Axis WebService housed on IBM Websphere Version 5.0.  Everything works fine, but every once in a while (approx once in every 200 requests or so) w

Re: "Content is not allowed in prolog" exception

2004-07-01 Thread NJ Rogers, Learning and Research Technology
i I get a SAX parser exception as "Content is not allowed in prolog" while parsing the response. I have included the response that I receive from the server and the stack trace of the exception. Also there are no junk characters before or after the response. Can someone please explain what can cau

"Content is not allowed in prolog" exception

2004-06-30 Thread Ramya Manian
Hi I get a SAX parser exception as "Content is not allowed in prolog" while parsing the response. I have included the response that I receive from the server and the stack trace of the exception. Also there are no junk characters before or after the response. Can someone please explai

Exception problem

2004-06-29 Thread Henning Mersch
Hi * ! I have a problem throwing an exception, which extends AxisFault. When this exception is located in a external JAR, I get on client side: soapfault: "soapenv:Server.userException" soapdescription: :"java.lang.reflect.InvocationTargetException" including the SAME exce

RE: Call.invoke() and exception handling

2004-06-25 Thread Yu, Joel, Contractor
] Subject: Re: Call.invoke() and exception handling On ÎÎÏ 25 ÎÎÏÎ 2004 21:41, Yu, Joel, Contractor wrote: > being open source, you can get the source code of Call class and > change it. http://cvs.apache.org/viewcvs/ws-axis/ that's not really an option, as it is probably an IBM modified

Re: Call.invoke() and exception handling

2004-06-25 Thread Konstantinos Margaritis
On ÎÎÏ 25 ÎÎÏÎ 2004 21:41, Yu, Joel, Contractor wrote: > being open source, you can get the source code of Call class and > change it. http://cvs.apache.org/viewcvs/ws-axis/ that's not really an option, as it is probably an IBM modified version of axis in WSAD. Even if it isn't, I'm sure you'll a

RE: Call.invoke() and exception handling

2004-06-25 Thread Yu, Joel, Contractor
being open source, you can get the source code of Call class and change it. http://cvs.apache.org/viewcvs/ws-axis/ -Original Message- From: Konstantinos Margaritis [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 2:04 PM To: [EMAIL PROTECTED] Subject: Call.invoke() and exception

Call.invoke() and exception handling

2004-06-25 Thread Konstantinos Margaritis
when there is a timeout in the connection, the system has to report the error and fall back gracefully. Using the stub that WSDL2Java produced I can catch the exception (AxisFault) that is thrown and log the error. But no matter what I do, when Call.invoke() is called, it itself prints the stac

fault/exception handling and stuff

2004-06-15 Thread Vikas Phonsa
Hi Everybody,   I'm trying to develop my first server side implementation of web services. I have developed web service clients in the past using Axis. I have gone thru examples in books and on the internet but most of them deal with getting data. Like I saw getPrice or getStockQuote etc.

Re: facing XML parser exception while using Axis

2004-06-15 Thread Davanum Srinivas
http://demo.mappoint.net/ On Tue, 15 Jun 2004 15:42:14 +0530, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > We are using Axis to connect to the MapPoint service from Microsoft. My application > is throwing an XMLparser exception. I have attached the log be

facing XML parser exception while using Axis

2004-06-15 Thread nishit.kumar
Hi, We are using Axis to connect to the MapPoint service from Microsoft. My application is throwing an XMLparser exception. I have attached the log below. Does anyone have anyidea on this. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode

Exception on listing deployed webservices

2004-06-09 Thread Ding Lei
orry, something seems to have gone wrong... here are the details: Exception - org.apache.axis.ConfigurationException: org.apache.axis.deployment.wsdd.WSDDException: No provider type matches QName '{http://xml.apache.org/axis/wsdd/providers/CPP}RPC' org.apache.axis.deployment.wsdd.WSDDEx

Re: declare exception considere Undeclaredthrowableexception

2004-06-06 Thread Aleksander Slominski
Ofer Baranes wrote: I am using Axis on the Server side and Axis Call (through WSIF) on the Client side : I have a very declared exception on my WebService ,which do appear on the wsdl , BUT , when this exception is throw on the server side ,on the client side it's considere

declare exception considere Undeclaredthrowableexception

2004-06-06 Thread Ofer Baranes
 I am using Axis on the Server side and Axis Call (through WSIF) on the  Client side :  I have a very declared exception on my WebService ,which  do appear on the wsdl , BUT , when this exception is  throw on the server side ,on the client side it's  considere

Re: wsdl2java - got the following exception

2004-06-05 Thread Davanum Srinivas
/> > > > > > > > > > > > - Original Message - > From: Asanka Priyanjitih <[EMAIL PROTECTED]> > Date: Fri, 4 Jun 2004 17:34:18 +0600 > Subject: RE: wsdl2java - got the following exception > To

Re: wsdl2java - got the following exception

2004-06-04 Thread Davanum Srinivas
Priyanjitih <[EMAIL PROTECTED]> Date: Fri, 4 Jun 2004 17:34:18 +0600 Subject: RE: wsdl2java - got the following exception To: [EMAIL PROTECTED] Hi Team I also face same thing, I don't know what a problem is. Please help to us.

RE: wsdl2java - got the following exception

2004-06-04 Thread Asanka Priyanjitih
the following exception   Hi All,   I’m using wsdl2java to generate server side components for Security Token Service in WS-Trust (http://schemas.xmlsoap.org/ws/2004/04/trust/ws-trust.wsdl ) using the following command:   %java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy

RE: wsdl2java - got the following exception

2004-06-04 Thread Anne Thomas Manes
schemas.xmlsoap.org/ws/2004/04/security/trust/CK/PSHA1' />      :enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/HASH' />    :restriction>  :simpleType>     From: Malinda [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 5:44 AM To

RE: wsdl2java - got the following exception

2004-06-04 Thread Anne Thomas Manes
schemas.xmlsoap.org/ws/2004/04/security/trust/CK/PSHA1' />      :enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/HASH' />    :restriction>  :simpleType>     From: Malinda [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 5:44 AM To

  1   2   3   4   5   >