RE: WSDL2Java problem / Solution

2004-01-29 Thread Ransel Lopez
command that I showed earlier... (>set CLASSPATH=%CLASSPATH%%CLASSPATH1%)   Have fun!!! Safdar.   - Original Message - From: Ransel Lopez To: [EMAIL PROTECTED] Sent: Monday, January 26, 2004 5:07

RE: WSDL2Java problem

2004-01-26 Thread Ransel Lopez
Title: Message Hi Safdar,   I have the same problem. I sent the same question and I didn't get any answer. Please, if you find the solution let me know. I'll do the same.   Thank you very much Ransel López, Web Services Developer Time Industrial, Inc. An Outsourced Contractor Time and Cos

axis-wsdl2java Ant Task usage

2004-01-21 Thread Ransel Lopez
Title: Message Hi everyone,   I am trying to execute an Ant Task to get java classes from my service. The problem is that I am having problem with the classpath, because when I execute my task I get java.lang.NoClassDefFoundError: javax.wsdl.Definition. I am following the steps to execute th

NoClassDefFoundError running axis-wsdl2java as an Ant Task

2004-01-20 Thread Ransel Lopez
Title: Message Hi everyone,   I am trying to execute an Ant Task to get java classes from my service. The problem is that I am having problem with the classpath, because when I execute my task I get java.lang.NoClassDefFoundError: javax.wsdl.Definition. I am following the steps to execute the

Header in wsdd

2004-01-16 Thread Ransel Lopez
Title: Message Hi all,   I have been trying to deploy a web service using the inHeader option for a parameter using Axis 1.1. I do get a WSDL but the parameter is specified as part of the body of the request.   The relevant fragment of the WSDD is specified below:         http://www.w3.org/

WSDD and explicit header

2004-01-15 Thread Ransel Lopez
Title: Message Hi,    I've been trying to find a way to specified explicit headers in a WSDD. I want these headers to appear in the WSDL document axis generates for my web service.    Is there any way to do this? Can someone point me to an example?    Thank you very much Ransel López, Web Ser

RE: Mapping exceptions to faults using Doc Literal

2004-01-15 Thread Ransel Lopez
I am having the same problem... If you find the way to do that, please, let me know... Right now I am catching the Java exception, creating my AxisFault from the Java Exception by myself, and throwing it again... I don't like it a lot, then if you find something else let me know... Thanks in ad

Simulating client request

2004-01-14 Thread Ransel Lopez
Title: Message Hi all,   Is there anyway to simulate a client request??? I have my class which implements a BasicHandler and I would like to test if the header reading is well done. How can I create a class to simulate a client request to excecute my handle.invoke?? I need that the request

Accessing SOAP Message Header

2004-01-13 Thread Ransel Lopez
Title: Message Hi all:   How can I access to the header of a client request?? I mean, for example: my client always send me some information and I don't need it like a parameter (for example a sessionID). Clients are going to send that info as a header parameter. How can I acces that info a

RE: Throwing Axis Faults

2004-01-13 Thread Ransel Lopez
You can provide org.w3c.dom.Element[] like this: DOMImplementationImpl DOM = new DOMImplementationImpl(); DocumentType docType = DOM.createDocumentType("test", "", "test.dtd"); Document doc = new DocumentImpl(d

RE: Building custom faults...

2004-01-09 Thread Ransel Lopez
AxisFault has c'tors that allow you to specify your faultCode, faultString etc. Ajay "Ransel Lopez" <[EMAIL PROTECTED]> 01/08/2004 09:55 PM Please respond

Building custom faults...

2004-01-08 Thread Ransel Lopez
Title: Message Hello everybody.   I would like to know if there is any way to overwrite the handler which create the SOAP fault when an exception is raised... When an exception is raised my client get a SOAP Fault with faultcode Server.userException and faultString "whatever"... Is there a

Building custom faults...

2004-01-08 Thread Ransel Lopez
Title: Message Hello everybody.   I would like to know if there is any way to overwrite the handler which create the SOAP fault when an exception is raised... When an exception is raised my client get a SOAP Fault with faultcode Server.userException and faultString "whatever"... Is there an

Overwriting Handler...

2004-01-07 Thread Ransel Lopez
Title: Message Now I know that if I create a customized exception that extends AxisFault and implements Serializable I can get my own FaultCode and FaultString and... But, I would like to know if there is any way to do the same overwriting a handler. I mean, When an exceptions is raised I ge

Building custom faults in Java...

2004-01-06 Thread Ransel Lopez
Title: Message Hi, everybodyI am a starter with SOAP.My problem is that I want to modify what I get in the client side when an exception is raised. I want to get my own faultcode, my own faultstring and some other information in the detail. Can anyone explain what should I do?? Some examples