RE: AW: AW: AW: MessageContext.getCurrentContext() returns null

2004-04-02 Thread
Hi, sorry this is a newbie question. I wanted to get the source code from Thomas Dorner to work(sending a gif file as an attachment back to the caller of a web service). But I'm stuck with the client code. I did the following 0. Ran Java2WSDL on AXIS_HOME%/samples/userguide/example6. This

error calling .NET WebService using axis

2004-04-02 Thread nilesh
Hi all, i am using axis API for writting my SOAP Client. i need to call .NET based web service. i have written the axis client but i am not sure is this a correct way.. The web service is using complextype.. public class New1TestClient { public static String msg ="http://www.w3.org/2001/XMLSc

RE: Exception Handling - possible solution

2004-04-02 Thread sacha
> Axis now uses the element in the fault to locate the correct > Exception class. A table of QNames to Exception class names is kept and > each child element of is looked up in this table until we find a > match (or don't, then we throw an AxisFault). Well, as I saw in source code, there's no p

Re: WSDL file defination question (complexType)

2004-04-02 Thread Anne Thomas Manes
You need to provide a definition for the complex type. At 07:04 AM 4/2/2004, you wrote: Hi all, I got one WSDL file with the following defination: ... Then I genarate the java files with WSDL2Java. I wonder what does it means with no more defination within the complexType? Ho

Re: Where can I find "org.w3.www._2001.XMLSchema.Any" class

2004-04-02 Thread Davanum Srinivas
Akshay, Try using Axis 1.2 Beta, if you still have a problem log a bug. -- dims --- akshay kumar <[EMAIL PROTECTED]> wrote: - Hi All; I have used WSDL2Java to generate server side skeleton code. AXIS generates the following signature for one of the operations:

Re: WSDL2Java - can't use mime:multipartRelated in wsdl:output element

2004-04-02 Thread Davanum Srinivas
Please log a bug - http://issues.apache.org/jira/ --- William Bug <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm having trouble creating an appropriate WSDL file to create a > service that returns a large set of binary attachments. > > I've been trying to combine what I could pull from the docum

Re: WSDL2Java - can't use mime:multipartRelated in wsdl:output element

2004-04-02 Thread William Bug
Many thanks for you feedback, Davanum. Are you sure this is a bug? Since your on the Apache webservices team, I'll take your word for it. I was expecting I'm just doing something wrong, though if there's a right way to do this, I can't find it documented anywhere. Is there really no way to

Emply xmlns attribute

2004-04-02 Thread Nicholas Remy
Group, The following code snippet:             SOAPFactory sf = SOAPFactory.newInstance();             Name bodyName = sf.createName("getImage", "i", "http://www.mycompany.com");             SOAPBodyElement sbe = soapBody.addBodyElement(bodyName);                         Name usrName = sf.cre

Re: WSDL2Java - can't use mime:multipartRelated in wsdl:output element

2004-04-02 Thread Nicholas Remy
Bill, First, thanks for the great article link!  I'm just starting on a project that forces me to dig a little deeper into WS than I've had to previously.  Until now, I've gotten away with some *very* simple JAX-RPC code...but new requirements have me exploring (while learning at the same time!)

Re: WSDL2Java - can't use mime:multipartRelated in wsdl:output element

2004-04-02 Thread Davanum Srinivas
Supported Scenario is to return javax.activation.DataHandler[] instead of File[] even that has a problem. http://nagoya.apache.org/jira/browse/AXIS-1138 -- dims --- William Bug <[EMAIL PROTECTED]> wrote: > Many thanks for you feedback, Davanum. > > Are you sure this is a bug? Since your on the

Naming of parameters in generated WSDL

2004-04-02 Thread Thomas.Duehrsen
Title: Naming of parameters in generated WSDL Hi all I have a simple document/literal WS. I use java2wsdl Ant task to generate a WSDL from my interface class which represents the service. Previously, the names used for the parameters in the WSDL matched the names of the parameters i use in

RE: Naming of parameters in generated WSDL

2004-04-02 Thread Ekbote, Niranjan
Title: Message I believe there is a "-i" switch for java2wsdl which takes the name of the class that implements the interface you are using to generate the WSDL. The dedug info for that class is used to get the parameter names. Also when you compile that class make sure you compile it with d

Re: NullPointerException urgent!

2004-04-02 Thread Yoojin Hong
Thank you. This time, I tried to call to the method searchPerson with a pre-fixed value.(no change to pass null parameter) But, sill have the error. I believe that there have been no change in programs or others related to my web service. There may be a change for others sharing a computer to modif

RE: Naming of parameters in generated WSDL

2004-04-02 Thread Yakulis, Ross (Ross)
Title: Message I remember that used to work, but I do not believe this works any longer. Though I would like to be proven wrong!   Ross -Original Message-From: Ekbote, Niranjan [mailto:[EMAIL PROTECTED]Sent: Friday, April 02, 2004 7:51 AMTo: [EMAIL PROTECTED]Subject: RE: Namin

Re: No serializer found for class javax.activation.DataHandler

2004-04-02 Thread Sivakumar Jagadeesan
Yah thanx, I was missing mail.jar :( Now it is working. But still I am getting the first problem I mentioned, I am not able to see the WSDL Rgds, -Siva From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: No serializer found for class javax.activation.DataHa

.NET Client -> Axis Web service -Issue with "anyType"

2004-04-02 Thread Pillai, Ranjith
Hi Axis Community,     This is not generally an Axis question, .NET Client question. But there are many experts here who already done .NET Client -> Axis Web service invocation, hope someone can help me.     The problem is my Axis web service returns an XML Document object

RE: Naming of parameters in generated WSDL

2004-04-02 Thread Yakulis, Ross (Ross)
Title: Message Here is the catch, if you are just using a Java interface and no implementation class, you get the in0, in1, , you must have an implementation class.  That is run java2WSDL on an implementation class file  ( public class MyClass {... ) and not an interface class file (

Error accessing WSDL-- makeTypeElement() error

2004-04-02 Thread akshay kumar
Hi All; I have hosted a web service using Axis with Tomcat. I can see the service hosted pretty well with all its exposed functions in the http://localhost:8080/axis/servlet/AxisServlet page. I can even invoke the functions from the browser. However i cant access the WSDL by clicking on the WSDL h

RE: Naming of parameters in generated WSDL

2004-04-02 Thread Ekbote, Niranjan
Title: RE: Naming of parameters in generated WSDL I think thats what I said below. Compiled interfaces and abstract class do not have that much information in the class files for axis to use reflection and find out parameter names. That is the java compiler does not include this parameter inf

Re: Classpath help?

2004-04-02 Thread chudzikr
Unfortunately, that didn't seem to work. I tried %AXIS_HOME%/samples and %AXIS_HOME%/samples/userguide Any other suggestions? Thanks for the help. -Rob -- [EMAIL PROTECTED] > Hi > > The samples aren't on the classpath. > > To do that , just add something like ;%AXIS_HOME%/samples > > to

Re: Error accessing WSDL-- makeTypeElement() error

2004-04-02 Thread Davanum Srinivas
Akshay, try axis 1.2 Beta, if you still have a problem open a bug report in jira with your code/wsdl (for us to recreate the problem) -- dims --- akshay kumar <[EMAIL PROTECTED]> wrote: - Hi All; I have hosted a web service using Axis with Tomcat. I can see th

Re: .NET Client -> Axis Web service -Issue with "anyType"

2004-04-02 Thread Chris Haddad
if the XML document conforms to a XML Schema definition, just replace the anyType reference in the WSDL with the schema element reference. /Chris -- Original Message -- From: "Pillai, Ranjith" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 2 A