HelloWorld HOWTO

2002-05-07 Thread Arno Puder
Hi, I've tried to come up with a simple, step-by-step HOWTO for a first SOAP application that starts from a vanilla Axis beta 2 installation. When I try to run the client, I get the following error: "The AXIS engine could not find a target service to invoke! targetService is null" Would som

Problems with SOAP request element ordering

2002-05-07 Thread Torstein Talleraas (Ekstern konsulent)
The problem: My Java SOAP client (generated by Axis WSDL2Java) produces a SOAP/XML message with elements *not* ordered as defined by the WSDL. I am using Axis beta-2, xerces 2.0.1, JDK 1.3.1_01 on a Win 2000 PC, building both a "pure" Java test program and EJB's to be deployed on WLS 6.1 (SP2).

stateful service example (no cookies)

2002-05-07 Thread Andrew Vardeman
Thanks to everyone for the tips and good advice in the thread, "how to implement sessions, persistent objects, etc. ?". I've got an example message-based stateful service that I figured might be of interest to people. It's application scoped and keeps track of session data via SOAP headers r

Re: in/out parameter

2002-05-07 Thread Sax
the book Building Web Services With Java says Axis handles this via holder classes. Apparently if you try WSDL2Java on a WSDL with inout parameters, you'll get some example code to work with. Andrew At 07:41 PM 5/7/2002 +0200, you wrote: >Hi > >I didn't find int the axis B1 & B2 docs a word a

in/out parameter

2002-05-07 Thread Dom
Hi I didn't find int the axis B1 & B2 docs a word about inout parameters Is it not implemented yet or some doc is missing ? Where can I find any information ? Dom

Problems registering custom Provider

2002-05-07 Thread Bob Cotton
This is against the CVS version, today May 07, 10am MST. I'm trying to register a custom provider that know how to get EJB's from our framework. I modeled the Provider from org.apache.axis.providers.java.EJBProvider. My wsdd looks like this: ... But I keep getting

RE: A problem in Axis Beta2 when the EJB is called

2002-05-07 Thread Vidyanand Murunikkara
Hi michael I dont have much information on this issue other than the fact that i get a "No such operation" error. When i last looked into it it was finding the service .. just that something happenign with finding the operations. I checked to see if the allowed methods paramaters was casuing it

Re: FW: Derivation from anyType

2002-05-07 Thread Mike Spreitzer
Simon - I am only an Axis user, not developer --- so I can only appreciate your problem, not solve it. In general, I want Axis and .NET interoperability. Developers should not be given the dilemma you face. FYI, I think that it is only restriction, not extension, that makes sense when deriv

Ant tasks

2002-05-07 Thread Simon McClenahan
The Axis build.xml ant file references an Ant task for wsdl2java . I am trying to build my own ant file that uses this Ant task. Will test.wsdl.Wsdl2javaAntTask be included in the axis.jar binary distribution? Right now I have to compile the source myself. Looking at the source Wsdl2javaAntTas

RE: Derivation from anyType

2002-05-07 Thread St-Germain, Sylvain
I see, I read your email too quickly. ;-( Good luck. Sylvain. -Original Message- From: Simon McClenahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 10:48 AM To: [EMAIL PROTECTED] Subject: RE: Derivation from anyType The Schema in the WSDL generated by gSOAP for our service f

RE: A problem in Axis Beta2 when the EJB is called

2002-05-07 Thread Michael K. Dean
We are also experiencing this Issue. When we tried to beta 2 release we found that Axis would no longer find the services. I will be looking into this today but does anybody have any information of this issue? Michael

RE: Derivation from anyType

2002-05-07 Thread Simon McClenahan
The Schema in the WSDL generated by gSOAP for our service for some reason derives from anyType by restriction, i.e. Like I said, with my limited Schema knowledge deriving by restriction from anyType doesn't make sense to me, but gSOAP does it,

RE: Questions????

2002-05-07 Thread St-Germain, Sylvain
I do not think this is Axis related, looks like you are running out of memory... Maybe should try starting your VMs with those... -Xmsset initial Java heap size -Xmxset maximum Java heap size -Xssset java thread stack size have a look at java non-standard opt

RE: Derivation from anyType

2002-05-07 Thread St-Germain, Sylvain
If my memory serves me right it is JAX-RPC (which Axis implements) that do not define any java mapping for the XML xsd:anyType type. I simply avoided using it. May I ask what is the purpose of extending xsd:anyType? If you need an abstract layer maybe you should do something like:

Re: How to Use WSDL2Java

2002-05-07 Thread Russell Butek
CLOptionDescription is in clutil.jar. Verify that your CLASSPATH correctly contains this jar. Russell Butek [EMAIL PROTECTED] "Wang, XD (Xiao Dong)" <[EMAIL PROTECTED]> on 05/07/2002 07:10:16 AM Please respond to [EMAIL PROTECTED] To:"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject:

Re: How to Use WSDL2Java

2002-05-07 Thread Daniel Chisholm
Xiao, I am not an axis expert. I'm just a guy that can look at some jar files with winzip. I noticed that clutil.jar contains the following class. org/apache/avalon/excalibur/cli/CLOptionDescriptor. Your email refers to a class named CLOptionDescription, but it is possible that you typed the

Questions????

2002-05-07 Thread Patricia Doyle
How can I get the real name of file that is sent through DataHandler object as Axis save it with Axisx file name. Using tcp monitor tool I could not find the file name in the SOAP response. I am trying to send a files which are around 2MB in size but after transfering one or two files I get

FW: Derivation from anyType

2002-05-07 Thread Simon McClenahan
Previously posted, but unanswered: In my WSDL I have types that are derived from anyType. By changing the derivation from anyType from by extension to by restriction, my Java code generated by WSDL2Java has no getters/setters, resulting in compilation errors in my client code. Apparently DevSt

initialization of complex type into complex type

2002-05-07 Thread Oleg Smirnov
Hello. Help me please solve the next problem. I have a services which take a complex parameter "Struct2". I get a complex type parameters description in wsdl (by Java2Wsdl) which contain element with complex type into itself. This is a piece of wsdl file: After Ws

How to Use WSDL2Java

2002-05-07 Thread Wang, XD (Xiao Dong)
As the instruction in the user-guide(Version Beta1), some jar files(axis.jar, jaxrpc.jar, clutil.jar, commons-logging.jar, tt-bytecode.jar, wsdl4j.jar and log4j-core.jar) have been set in CLASSPATH. When running java org.apache.axis.wsdl.WSDL2Java a exception displayed on screen just like: Excep

AW: Compatibility with Microsoft toolkit

2002-05-07 Thread Joachim Riedel
> wscript.echo soapclient.add(1, 2) > java.lang.IllegalArgumentException: argument type mismatch Visual Basic assumes that every number is a "double" but the Webservice expects Integer. Visual Basic: "Appending the literal type character I to a literal forces it to the Integer data type. Appe

Re: Compatibility with Microsoft toolkit

2002-05-07 Thread Gaetan Frenoy
Hello, On http://www.intranetjournal.com/articles/200103/id_03_21_01b.html, I found this: "The Apache system requires all the arguments to be typed using the xsi:type attribute, while the Microsoft system does not require this. The next version of Apache SOAP (2.1) should be able to guarantee in