RE: java.io.IOException: Type XXXX is referenced but not defined.

2003-09-18 Thread Zhang, Leslie Zhang (ICT Centre, ANU - Acton)
I have encountered this kind of problems before. Have a look at the namespaces in your wsdl and make sure that there are correct. Make sure types are fully qualified. Les, -Original Message- From: Josh Rehman [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 7:01 AM To: [EMAIL

How to send java-serialized in-memory objects as attachments

2003-09-18 Thread Yuvraj Waswani
-Original Message- From: Yuvraj Waswani [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 5:13 PM To: [EMAIL PROTECTED] (E-mail); [EMAIL PROTECTED] (E-mail) Subject: Sending Jav-Serialized Objects as Attachments Hi, Need some help over sending attachments :-- 1. Due to perf

Re: Usage of ParameterMode.OUT with Call.invoke()

2003-09-18 Thread jkumaran
Hi Venu, I have bit confused with your question. What is the error you exactly get?. If the string value is null that seems it is correct. Because you set the String as null and it is an OUT parameter. Actually the OUT parameter means, in wsdl If a part name appears in only the output message, it

RE: removing stack traces from log files...

2003-09-18 Thread Gary L Peskin
If you're using AxisServlet on the server side, it should strip the stackTrace except for development Axis servers. Do you have the axis.development.system property set? What version of Axis are you running on the server? Gary > -Original Message- > From: Josh Emmons [mailto:[EMAIL PROT

RE: SerializationTester and Vector serialization

2003-09-18 Thread Toshiyuki Kimura
Hi Wolfgang and Stephanie, Thank you for using my SerializationTester. I was sad underneath because it seemed that no one has an interest in the package. :) But, some of folks are using the file and it's been maintained. Great!! That's open source! -- Toshi <[EMAIL PROTECTED]> -Origin

RE: set a new endpointURL with client-config.wsdd ?

2003-09-18 Thread Gary L Peskin
I would like to help answer this question but I don't really understand what you're asking. Are you saying that the client is requesting a certain URL but you want them to request a different URL? Perhaps you can handle this with a request handler. If you clarify what you're trying to do, I can

EJB provider and JSR109

2003-09-18 Thread Srinath Perera
Hi All Am looking at the JSR109 spec. I see that the axis has EJB provider with it. I want to know does EJB provider gives the minimal functionalty or is it powerful enough to supply the EJB functionalities the JSR109 speaks about. I am only started with it. But to continue it will be very help

Re: WSDL to HTML documentation generator

2003-09-18 Thread Srinath Perera
Hi Pablo it is possible. (answer depend on what type of doc u r expecting .. yet theoritically if you can exact the information from the wsdl u can genarate the document u need we know there is a mechanisum to get this information as wsdl4j exists :) ) I do not know abut is there a one alre

Re: java.io.IOException: Type XXXX is referenced but not defined.

2003-09-18 Thread Josh Rehman
The problem was with java2wsdl not adding any type definition to the wsdl document, so I was trying to generate java from an ambiguous wsdl. I posted about that in a seperate message, but I'll include the short-short version: Why doesn't java2wsdl support generation off of interfaces? Why does

java.io.IOException: Type XXXX is referenced but not defined.

2003-09-18 Thread Josh Rehman
Has anyone ever recieved this error on wsdl2java? [java] java.io.IOException: Type UserView is referenced but not defined. [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:522) [java] at org.apache.axis.wsdl.symbolTable.SymbolTable

Using Handler to Remove Attachment

2003-09-18 Thread Dean Hutchins
Is there a way to remove an attachment from a Soap Message from within a request handler.  The Handler is called and the attachment doesn't appear to have been written to the defined axis attachment directory.  Code in Handler like:   public void invoke(MessageContext arg0) throws AxisFault

RE:Axis 1.1 + WebLogic 7.0 + Sun-JSSE/Certicom-SSL

2003-09-18 Thread [EMAIL PROTECTED]
Hi, I know this is a more-than-2-month old thread but really need some help here. I have the similar config as you do, but can't get pass the log4j problem. I tried your solution by putting the system property by using -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog in s

Re: Holders

2003-09-18 Thread Michael Mangeng
Hi Hmmm... can anyone give me a very short example how to add a typemapping for a holder object on server side (or give me a url where this is explained) ? I cannot find anything about this in the docs/google... thanks, mike - Original Message - From: "Hansen, Richard" <[EMAIL PROTECTED]

RE: Holders

2003-09-18 Thread Hansen, Richard
No, java does not support changing the value of parameters to methods. You need to wrap in/outs in a holder object. While the value of the holder cannot be changed, its attributes can be. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 1

WSDL to HTML documentation generator

2003-09-18 Thread Pablo
Hi, I need a tool to generate the HTML documentation from a WSDL like a "javadoc" for wsdl. Is it possible? I'm looking for something free... Can somebody help me? Thanks a lot! Pablo

RE: Feature question/request: AXIS over JMS with C++ Binding

2003-09-18 Thread Jaime Meritt
Piero, I am unaware of any JMS transport support in the C++ Axis client. Granted, I am unfamiliar with the C++ implementation so I cannot say that decisively. However, if you are interested in testing out a C++ JMS client for inclusion with Axis, we provide one at Sonic Software. I would be mo

Feature question/request: AXIS over JMS with C++ Binding

2003-09-18 Thread Piero Campanelli
Hi, i am trying to understand if this feature exists. I want to use SOAP over JMS to get a decent QoS for my service. However I need to attach in the future clients from different platforms (this is the scope of web service technology:). If I adopt Axis over JMS, does exist some tool that generat

RE: AxisServlet and the init() method

2003-09-18 Thread Keith Hatton
A subclass (or implementation of an interface) is allowed to omit exceptions that its own implementation does not throw, so I don't think this is a bug. It shouldn't prevent what you want to do.   Can you provide more detail if you have a specific problem?   Hope this helps Keith   -

Holders

2003-09-18 Thread m1k3
Hi I´ve got an additional question: Why does WSDL2Java generate method with holders as parameters in stub & skeleton? I thought they were only needed for de/serialization purposes because java does not understand out/inout parameters... thanks, mike

Different WSDL for different providers or styles?

2003-09-18 Thread Adhamh Findlay
Hello, If I use different providers (java:RPC, java:MSG) or different styles (document, wrapped, message) should I see that different WSDL is generated when I use Java2WSDL? I'm currently not seeing this and it makes me think something is wrong... Thanks! Adhamh

RE: SerializationTester and Vector serialization

2003-09-18 Thread Kroll, Stephanie
Hi Wolfgang, I was able to get sub-elements to serialize in-line by adding these two lines to the serialize method of class SerializationTester: MessageContext msgContext = new MessageContext( service.getEngine() ); added-> msgContext.setPropert

Usage of ParameterMode.OUT with Call.invoke()

2003-09-18 Thread Ambekar Venu
Guys, I am having issues to retrieve the output parameters(ParameterMode.OUT/ParameterMode.INOUT) after calling invoke (). Appreciate if anyone can tell me what I am doing wrong or point me to a sample code. Thanks a ton, Venu. My code looks as follows: Service service = new Service

Re: wsdl2java - shortcomings?

2003-09-18 Thread Dan Christopherson
Thank you very much. I was surprised when I didn't find anything, but once I'd figured out what was going on, I kinda stopped looking, too. James Black wrote: Dan Christopherson wrote: Now if there were (or is) a way to tell wsdl2java to use a different name for the 'Impl' class (which is a del

AxisServlet and the init() method

2003-09-18 Thread Wayne Ross
Hi,   I'd like to extend the AxisServlet class and if/when init() fails I would like the servlet to throw javax.servlet.UnavailableException. However, AxisServlet (and AxisServletBase) define their init() method as   public void init()   and not   public void init() throws ServletException  

set a new endpointURL with client-config.wsdd ?

2003-09-18 Thread Guillaume Sauthier
Hi All In our effort to integrate Axis in our J2EE platform JOnAS, we have to change the endpointURL of a generated class. The only way to do it programmatically seems to be the getPort(URL) no ? The problem is that from our J2EE platform view, we can just handle the Service implementation, not th

Re: wsdl2java - shortcomings?

2003-09-18 Thread James Black
Dan Christopherson wrote: Now if there were (or is) a way to tell wsdl2java to use a different name for the 'Impl' class (which is a delegate by the way), that would have saved me some similar consternation and grumbling. In the java2wsdl tag I use -- "We do not lose our identity in our relati

RE: Remote DTD/Schema referencing

2003-09-18 Thread Yuvraj Waswani
I get an indication that it depends upon the kind of parser used by Axis, whether it picks up remotely located schemas or not (validating/non-validating parser). The question now is ..is it possible to configure Axis to use validating/non-validating parser explicitly ?? It seems that right now, (i

RE: Remote DTD/Schema referencing

2003-09-18 Thread Mike Burati
I hate replying to my own mail messages :-) but I just ran across the reference after sending that previous message: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14105 -Original Message- From: Mike Burati Sent: Thursday, September 18, 2003 10:38 AM To: '[EMAIL PROTECTED]' Cc: '[EM

Re: wsdl2java - shortcomings?

2003-09-18 Thread Dan Christopherson
Josh Rehman wrote: Hi, Still new to all this, so I'm not sure if this observation is accurate. It seems to be that wsdl2java could vastly improved if all of it's concrete classes were generated with delegate code pointing to some user specified implimentation. As it stands, I am forced to gener

RE: Remote DTD/Schema referencing

2003-09-18 Thread Mike Burati
Automagically fetching remote entities from an incoming SOAP message is a known security issue and attack point (can't find the references I had about that at the moment). AXIS at some point introduced a DefaultEntityResolver which implements org.xml.sax.EntityResolver which basically does nothin

RE: removing stack traces from log files...

2003-09-18 Thread Hansen, Richard
I doubt if you can do anything through configuration. The last time I checked if an exception is sent to a log4j file logger, the stack trace is automatically logged. You could write your own custom appender that did not log the exceptions. > -Original Message- > From: Josh Emmons [mailto:

geting sender's address

2003-09-18 Thread Martin Linhart
Hi, I have generated stub and skeleton with axis tool. Is it now possible to get somewhere callers address on server side? I can't found some solution. Many thnaks Martin Linhart

WSDD deployment probs

2003-09-18 Thread Featherstone, Richard
Hi,   I'm new to using AXIS and am trying to get to grips with the basics.  I have deployed a simple web service using a .jws extension to a simple java class.  What I am now trying to do is deploy the same service using a standard class and a wsdd file.  When I run the AdminClient I get.

Holders/inout params/Code generation

2003-09-18 Thread m1k3
Hi all I´ve got a problem with parameter deserialization on server side because WSDL2Java does not generate mapping code for the generated skeleton nor does it generate entries in the wsdd file. Now i´ve copied a part of the Stub into the skeleton and added some custome code to add the typemappin

HowTo use an untyped primitive array as parameter (not using proxies)?

2003-09-18 Thread Thomas Börkel
HI! If I am not using a proxy and I use call.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE) then Axis sends the parameters untyped like this: http://schemas.xmlsoap.org/soap/encoding/";> 1 2 3.5 Test true So far, so good. But how about arrays? If I have a primitive array as

wsdl2java - shortcomings?

2003-09-18 Thread Josh Rehman
Hi, Still new to all this, so I'm not sure if this observation is accurate. It seems to be that wsdl2java could vastly improved if all of it's concrete classes were generated with delegate code pointing to some user specified implimentation. As it stands, I am forced to generate code, copy it

Sending Jav-Serialized Objects as Attachments

2003-09-18 Thread Yuvraj Waswani
Hi, Need some help over sending attachments :-- 1. Due to performance reasons (my bean objects being immensely bulky), I wish to send my object as an attachment after Java-serializing it through ObjectOutputStream. How do I do it? How can I use ObjectOutputStream to first serialize my object and

Compiling:new to WSDL

2003-09-18 Thread Panayiotis Periorellis
Hello all, I just download axis and set the classpath. I downloaded some java classes from a wsdl source by doing Java org.apache.axis.wsdl.WSDL2Java http://../file.wsdl This built a number of java files. When however im trying to compile them I get several errors. Is there something obv

How to serialize Color?

2003-09-18 Thread Josh Rehman
If I try to use a "Color" member of a bean, things generate fine (albeit with a warning: generate-wsdl: [java] 1 [main] WARN fromJava.Types - The class java.awt.Color is defined in a java or javax package and cannot be converted into an xml schema type. An xml schema anyType will be used

[WSIF]Exception in thread "main" org.apache.wsif.WSIFException: Cannot get Object part 'person'.

2003-09-18 Thread Prashant Rais
Hi,   I have modified some part of Dynamic invoker and am using it to invoke my web services written using WSDL and JAX-RPC.   I get the above error when I invoke my service from this client.   Attached is client code Best Regards, Prashant Rais MphasiS BFL Limited139/1, Adithya ComplexH

Re: samples for ArrayList

2003-09-18 Thread Tania Durán
Hi, i´m facing the same problem, and, apart from this, do i have to put any extra code in the service wsdd file? Thanks. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 8:17 PM Subject: RE: samples for ArrayList > > Nuts, I was l

SerializationTester and Vector serialization

2003-09-18 Thread Wolfgang Vullhorst
Hi, a few days ago I found a SerializationTester in this list (written by Toshiyuki Kimura). It works fine but I have a problem with the serialization of an object "AnalysisRequest" that contains a Vector of "AnalysisRequestElement" objects. I registered the type mappings for "Request", "Request

RE: Remote DTD/Schema referencing

2003-09-18 Thread Yuvraj Waswani
I know :) but despite all the experimentation and proofs, I am a little skeptic to push the statistics critical to my production environment, unless I witness some veto assurance on this group regarding the same and be able to collect similar valuable experiences from users of this group in coheren

Re: Remote DTD/Schema referencing

2003-09-18 Thread Stephen Gordon
AFAICS you've answered you're own question :P Yuvraj Waswani wrote: I am making use of Xerces 2 parser. But again, the question takes form of whether Axis makes use of validating or non validating parser? Even if it does make use of validating parser, does it or does the parser try to FETCH the Sc

RE: Remote DTD/Schema referencing

2003-09-18 Thread Yuvraj Waswani
I am making use of Xerces 2 parser. But again, the question takes form of whether Axis makes use of validating or non validating parser? Even if it does make use of validating parser, does it or does the parser try to FETCH the Schema/DTD from remote location specified by the URLs ? Arent the URLs

RE: Remote DTD/Schema referencing

2003-09-18 Thread Koller, Shmuel
I think this issue should be routed to the XML parser used by Axis. First suggestion is to make sure Axis uses latest Xerces (not Crimson). Then look at the performance of the best/latest parser utilized. Shmuel Koller -Original Message- From: Yuvraj Waswani [mailto:[EMAIL PROTECTED] Sent: