RE : Unable to understand this exception !

2005-02-08 Thread Faucher, Christian
[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, I am using JiBX

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

Re: Axis exception while deploying a WAR

2005-02-07 Thread Davanum Srinivas
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 - Exception: java.lang.NoSuchMethodException

Unable to understand this exception !

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

Re: Unable to understand this exception !

2005-02-07 Thread babloosony
SAXException(error in JiBX deserialization : + e.getMessage(), e); } catch(Exception e) { throw new SAXException(Error reading element text: + e.getMessage(), e); } } } private static Log s_log; private QName m_xmlType; private

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 AxisFaultfaultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode: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

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 faultDetail

no serializer found exception

2005-01-26 Thread Lubomir ILanovsky
=ns:localAcount xmlns:ns=myBank languageSpecificType=java:Acount/ Everything work 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

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.NullPointerException

exception during WSDL generation via ?wsdl

2005-01-23 Thread Oleg Lebedev
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: {http

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 String nome1; private

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.Object

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 detail item of the SOAP response does not contain exception fileds but only that hostname thing. soapenv:Envelope xmlns:soapenv

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 === D:\a

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

Re: Please!!! help me on this exception

2005-01-11 Thread James Ludlow
tom chen wrote: D:\axis-1_2RC1\samples\stockjava -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

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,

RE: Service Specific Exception not working

2004-12-30 Thread Westfall, Eric Curtis
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-RemoteException server-specific exception), the detail

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, the following questions

RE: Service Specific Exception not working

2004-12-30 Thread Westfall, Eric Curtis
-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 the exceptions. The essential

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 it extend RemoteException

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 returned SOAP message

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 autogenerating my clients using

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 results

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 question regarding exception handling, though: When

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

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

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

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 shouldContinue = true;

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 some

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

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

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

2004-11-03 Thread John McCosker
() 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 name: createSpreadSheet

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

2004-11-03 Thread John McCosker
c 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 PROTECTED]";String subject

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/envelope

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 deserializer defined for array type

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

2004-11-02 Thread Egor Pervuninski
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) I don't think CS that a WSDD file is a solution for me. What can I

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-27 Thread Anne Thomas Manes
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 operations and all

RE: WSDL2Java does not generate custom exception

2004-10-27 Thread smcardle
report. Anne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 4:21 AM To: [EMAIL PROTECTED] Subject: RE: WSDL2Java does not generate custom exception Hi Anne This is not true. The excepts I included in the previous

RE: WSDL2Java does not generate custom exception

2004-10-27 Thread Anne Thomas Manes
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 Anne, I appreciate

RE: WSDL2Java does not generate custom exception

2004-10-26 Thread Anne Thomas Manes
PROTECTED] Subject: Re: WSDL2Java does not generate custom exception OK First define your exception as a complex type as follows: complexType name=SystemFailureException sequence element name=sourceException nillable=true type=xsd:anyType/ /sequence /complexType Next

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

Exception while deserializing abstract JavaBean

2004-10-25 Thread Kyle Cronin
() 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.startElement

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 my

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

2004-10-18 Thread Kirubakaran . Pakkirisamy
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 on the client side. While I was trying

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,getDetail

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.init(Mana

Faults and exception inheritance.

2004-10-11 Thread Adrian Perez Jorge
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 new DerivedException

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 understand

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.java:123

Re: Help in Exception handling...

2004-08-28 Thread
() { ^ 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 the wsdl file. -d

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: 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

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: '[EMAIL

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
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

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: 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

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 Christophe Roudet
. public String getMessage() { return (_mess == null) ? 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

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

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 [mailto

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

RE: Help in Exception handling...

2004-08-18 Thread Vikas Phonsa
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 that fault details will always be filled

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

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

Illegal XML character revisit and ways to handle the exception

2004-07-29 Thread Liu, Scott
that there are 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 #x5; faultActor: faultNode: faultDetail

Need help - SOAPFault converted to exception

2004-07-26 Thread Aoife . Kavanagh
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 Fault string but what's the best way of getting

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 explain what can

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 exception (just changing

Call.invoke() and exception handling

2004-06-25 Thread Konstantinos Margaritis
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 stack trace

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

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 version of axis

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

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 below. Does anyone have anyidea

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.

Exception on listing deployed webservices

2004-06-09 Thread Ding Lei
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.WSDDException: No provider type

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: 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

Re: wsdl2java - got the following exception

2004-06-05 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. G J Asanka Priyanjith -Original Message- From

wsdl2java - got the following exception

2004-06-04 Thread Malinda
downloaded all the XSD files required and change them properly to reference them locally. I got the following exception org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: org\xml soap\schemas\ws\_2004\_04\trust\ComputedKeyEnum.java. Hint: you may have mapped two namespaces

RE: wsdl2java - got the following exception

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

RE: wsdl2java - got the following exception

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

RE: wsdl2java - got the following exception

2004-06-04 Thread Asanka Priyanjitih
the following exception Hi All, Im 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 true ws

Re: wsdl2java - got the following exception

2004-06-04 Thread Davanum Srinivas
='ComputedKeyOpenEnum' xs:union memberTypes='wst:ComputedKeyEnum xs:anyURI' / /xs:simpleType - Original Message - From: Asanka Priyanjitih [EMAIL PROTECTED] Date: Fri, 4 Jun 2004 17:34:18 +0600 Subject: RE: wsdl2java - got the following exception To: [EMAIL PROTECTED

Null Pointer Exception while creating Java Skeletons and Stubs usin g WSDL2Java Tool

2004-05-17 Thread Dhanush Gopinath
Hi, I am getting the following exception while running the WSDL2Java tool. I have modified myWSDL file to MIME encode the attachment. java.lang.NullPointerExceptionat org.apache.axis.wsdl.symbolTable.SymbolTable.addMIMETypes(SymbolTable.java:2084

Re: Null Pointer Exception while creating Java Skeletons and Stubs usin g WSDL2Java Tool

2004-05-17 Thread Davanum Srinivas
Pointer Exception while creating Java Skeletons and Stubs usin g WSDL2Java Tool To: [EMAIL PROTECTED] Hi, I am getting the following exception while running the WSDL2Java tool. I have modified my WSDL file to MIME encode the attachment. java.lang.NullPointerException

Sending Attachments - A Null Pointer Exception

2004-05-13 Thread Dhanush Gopinath
Hi All, I tried deploying the EchoAttachementsService and managed to call the WebService from the Client. But i am getting a exception java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.Message.createAttachmentPart(Message.java:620

User Defined Exceptions being returned from Web Service as Invocation Target Exception

2004-05-05 Thread Canham Michael
as a java.lang.reflect.InvocationTargetException instead of my user defined exception. The user exceptions are returned as expected when accessing the web services on the windows box. On windows I am using Eclipse (but I am deploying the web services and starting Tomcat with the startup scripts), Tomcat Version 5.0

RE: No Classloader found Exception for custom authentication handler

2004-04-30 Thread Vinod Patil
Sorry the exception that i get is org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: No ClassLoaders found for: EchoService.authenticator.MyAuthenticationHandler the classes.EchoService.authenticator.MyAuthenticatonHandler in the prev mail was incorrect -Original

No Classloader found Exception for custom authentication handler

2004-04-29 Thread Vinod Patil
/ -- handler type=java:EchoService.authenticator.MyAuthenticationHandler/ /requestFlow /service /deployment I get the exception org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: No ClassLoaders found

NoSuchMethod Exception

2004-04-21 Thread Sivakumar Jagadeesan
Hi All: I am getting this following exception when making a call through Axis generated Stubs java.lang.NoSuchMethodError at org.apache.axis.deployment.wsdd.WSDDDocument.init(WSDDDocument.java:101) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209

Axis :: Array deserialization :: Exception !! ['Watchdog': checked] ['Watchdog': Virus checked]

2004-04-19 Thread KKanagaraj
an exception: org.xml.sax.SAXException, It says it could not deserialize the array type String. Why is it not able to deserialize it ? What should I do to deserialize it, I even supplied the typeMapping tag in deployment descriptor (mentioned both ser and deser in that), Even then it is not working

overriding exception mapping for all methods?

2004-03-27 Thread Nelson Minar
Is there a way in Axis 1.1 to override Axis' exception handling mechanism? Basically I'd like to override AxisFault.makeFault() or the thing that calls it after invoking my code. But I can't find the way to override it. Right now I'm doing this inside every method: public Foo myServiceMethod

Exception

2004-03-22 Thread Vivek Nagulapati
Hello All, I have handcrafted a SOAP-request message and tried sending the message over the wire. But once my Axis web service receives the request it is throwing the following error. org.xml.sax.SAXParseException: Content is not allowed in prolog. Did anyone encounter similar problem before?

  1   2   3   4   >