More problems with document style

2002-05-21 Thread Murray Spork
Hi all, I've read through the recent threads on document-style calls and I've also been through the source for AdminClient (as was suggested) but I'm still having trouble getting document-style SOAP calls to work in Axis Beta 2. I'm getting the exception message "The AXIS engine could not fin

customize the attachments temporary folder?

2002-05-21 Thread xi kun simon
Hi, When I write my program to pass attachment referring to the attachments example,I find out that when it send the attachment,it will generate the temporary file in the %TOMCAT_HOME%\axis\WEB-INF\attachments folder. So if the both client and service run on one computer,it works well. But If

Re: Failing on step 5 of install steps

2002-05-21 Thread Dan Chisholm
Chris,   Which version of Java are you running?  If you are using Java 2 Standard Edition version 1.4 (J2SE v1.4), then you might be having a problem with the endorsed standards override mechanism.  If that's the case, then you could try step 3 of the following modified version of the instal

Failing on step 5 of install steps

2002-05-21 Thread Carver, Christopher
Hi,   I can’t get seem to get step five of the Axis installation to work. I receive the following error:   C:\ws\xml-axis-beta2\samples\stock>java org.apache.axis.client.AdminClient -l  http://localhost:8080/axis/services/AdminService deploy.wsdd Exception in thread "main" java.lang.No

Re: Clients using GET and POST

2002-05-21 Thread Steve Loughran
- Original Message - From: "Tako Schotanus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 4:06 PM Subject: RE: Clients using GET and POST > Why did it work in beta 1 and not in beta 2? no idea. > Did the people working on AXIS development think the same thing

RE: Clients using GET and POST

2002-05-21 Thread Tako Schotanus
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED]] > Sent: woensdag 22 mei 2002 0:07 > To: [EMAIL PROTECTED] > Subject: Re: Clients using GET and POST > > > > - Original Message - > From: "Mark Young" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: T

encoding for Array of Datahandler objects

2002-05-21 Thread robert rowntree
one of the IBM WSTK samples ( attachments ) using RPC has an existing SOAP "parts" list of : 1.string 2.string [] 3.dataHandler for a java class 4.dataHandler for a jpg file 5.dataHandler for an Html file The practical effect of the sample is to transfer files in above parts 3, 4, and 5 fro

Re: Clients using GET and POST

2002-05-21 Thread Steve Loughran
- Original Message - From: "Mark Young" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 12:34 PM Subject: Re: Clients using GET and POST > Hi Andrew and Sudhir: > > Reading through this thread, I think there's a bit of confusion (it could be > mine of course). >

RE: Clients using GET and POST

2002-05-21 Thread Romin Irani
Here is the article from Paul Prescod that argues for the REST architecture. http://www.xml.com/pub/a/2002/04/24/google.html The basic question(s) that come to my mind is the following: Q. If someone gives me an accessible URL like http://www.mysite.com/GetOrderStatus?OrderNumber=100, isnt that a

Re: Clients using GET and POST

2002-05-21 Thread Andrew Vardeman
the missing URL: http://www.codebump.com/services/ZipCodeLookup.asmx?op=GetZipCodeCoordinates At 03:10 PM 5/21/2002 -0500, you wrote: >Mark, > >Thanks for the clarification; sorry to everybody for the noise. I'd seen >a demo of the .NET GET-based request but didn't realize it wasn't >returnin

Re: Clients using GET and POST

2002-05-21 Thread Andrew Vardeman
Mark, Thanks for the clarification; sorry to everybody for the noise. I'd seen a demo of the .NET GET-based request but didn't realize it wasn't returning a SOAP envelope. Here is a sample service I found that accepts GET and POST requests of the type you describe, as well as SOAP requests.

using SOAP header in the WSDL2Java command

2002-05-21 Thread Robert Jago
Hello. I am looking at attempting to build a webservice that will take advantage of the SOAP Header constructs. 1) how do I go about generating the wsdl file support this? 2) how do I test the WSDL2Java command from beta 2 to ensure that I am creating the SOAP header values correctly? 3)

Re: Does Apache support messaging?

2002-05-21 Thread Andrew Vardeman
couldn't tell you. browsed the source for Call and MessageContext and all I see is a property with getter/setter methods. Setting this property in the Call object sets a corresponding property in MessageContext, which is the "bag" that holds all the useful information about a SOAP Envelope/t

Re: Clients using GET and POST

2002-05-21 Thread Mark Young
Hi Andrew and Sudhir: Reading through this thread, I think there's a bit of confusion (it could be mine of course). I don't believe that it is true that all web service requests and responses must be sent in SOAP. When the WSDL 1.1 spec talks about HTTP GET/POST bindings, I don't think it is ta

Re: Does Apache support messaging?

2002-05-21 Thread Sudhir
what is the significance of call.setOperationStyle("rpc/document") then? I am confused. :( sudhir - Original Message - From: "Andrew Vardeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 12:14 PM Subject: Re: Does Apache support messaging? > At 08:12 PM 5/21

Re: Does Apache support messaging?

2002-05-21 Thread Andrew Vardeman
At 08:12 PM 5/21/2002 +0100, you wrote: >Thanks - I am sure that you may well be right. Does anyone know any >sites I could look at which would help me figure out how to send simple >SOAP messages? there's a messaging example in the Axis samples (xml-axis-beta2/samples/message) that should get

Re: Does Apache support messaging?

2002-05-21 Thread Paul Hunnisett
Thanks - I am sure that you may well be right. Does anyone know any sites I could look at which would help me figure out how to send simple SOAP messages? On Tue, 2002-05-21 at 20:08, Sudhir wrote: > If I am not mistaken, call.setOperationStyle("document") can be used to > invoke the SOAP docume

Re: Does Apache support messaging?

2002-05-21 Thread Sudhir
If I am not mistaken, call.setOperationStyle("document") can be used to invoke the SOAP document based services. Correct me if I am wrong sudhir - Original Message - From: "Paul Hunnisett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 4:06 AM Subject: Does Apach

RE: Changing the target URL for an Axis web service (Tomcat)

2002-05-21 Thread thomas . cherel
Title: Message look at the javadoc of the process method of the AdminClient class in the API doc of Axis. -Original Message-From: Jim Dibble [mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 21, 2002 12:26 PMTo: [EMAIL PROTECTED]Subject: RE: Changing the target URL for an Axis w

Re: WSDL2JAVA problem

2002-05-21 Thread Steve Loughran
- Original Message - From: "Alan Moore" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 9:38 AM Subject: RE: WSDL2JAVA problem > I didn't use the ant task but instead used the task. It has a > fork option that I found was required in order to get things to work

Re: return types of void

2002-05-21 Thread Russell Butek
I would have guessed that this message clause is illegal. I could be wrong, but try this instead: Russell Butek [EMAIL PROTECTED] "Agrawal, Anuj (Anuj)** CTR **" <[EMAIL PROTECTED]> on 05/21/2002 10:39:49 AM Please respond to [EMAIL PROTECTED] To:"'Axis User Mailing List'" <[EMAIL PROT

RE: WSDL2JAVA problem

2002-05-21 Thread Agrawal, Anuj (Anuj)** CTR **
Alan - thanks for your email. I had actually started with the task, but had (?) to switch to using because i was not allowed (?) to specify *.wsdl when using the task. I have a directory of wsdl files which need to be run through the WSDL2Java tool. I tried using filterset and stuff like

RE: WSDL2JAVA problem

2002-05-21 Thread Alan Moore
I didn't use the ant task but instead used the task. It has a fork option that I found was required in order to get things to work properly (someone else might be able to explain why...) Here is my WSDL2Java build steps (one for server-side, one for the client):

RE: Changing the target URL for an Axis web service (Tomcat)

2002-05-21 Thread Jim Dibble
Title: Message Thanks.  Is there documentation for the options available on the AdminClient (and other utilities)?  When I enter: java org.axis.apache.client.AdminClient –help I only get the following:     - Usage:  AdminClient xml-files | list   -Original Message- Fro

RE: Proxy setting in Axis

2002-05-21 Thread WhyTheHellWouldIGiveMSMyName MSWouldJustSellIt
I have found that this does not always work (for some reason) and have not found out why. If setting the system properties does not work for you try doing it via the command line. java -Dhttp.proxyHost=yourProxy -Dhttp.proxyPort=yourPort That should at least allow you to do some testing. >Fr

RE: Proxy setting in Axis

2002-05-21 Thread Gold, Laurence (MLIM)
Just use the following lines in your code System.setProperty("http.proxyHost", "your proxy host name or ip here"); System.setProperty("http.proxyPort", "your proxy port here"); Larry Gold -Original Message- From: Glyn Normington [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 8:

return types of void

2002-05-21 Thread Agrawal, Anuj (Anuj)** CTR **
We have a WSDL file which defines a method that has a void return type, so the WSDL snippet looks like: This is where we're getting a NullPointerException when generating the server-side code (see stacktrace below): [apply] java.lang.NullPointerException [apply] at org.apac

Re: SOAP Versioning question

2002-05-21 Thread Steve Pannier
My question below has been answered. I should have done more digging first before submitting it to the list. I even made a wrong statement in my original post. The statement below about "URI_CURRENT_SOAP_ENV" and "URIS_SOAP_ENV" not being used in the AXIS sourcecode is not true. My apologies t

RE: WSDL2JAVA problem

2002-05-21 Thread Han Wang
AXIS users, Perhaps I should have mentioned it in my previous post, but we do have a few wsdl files that were emitted successfully in the same batch. (Thus implying that our xml parser setup is correct). Certain files fail with the null pointer exception for unknown reasons. I suppose I have to w

Using RMI-Server with Axis

2002-05-21 Thread Dennis Reil
Is it possible to use a rmi-server with axis ? How do I have to start it ? For example the name of the rmi-server class is RMIServer. Normally I'll start it with java -Djava.rmi.server.codebase=... -Djava.security=... RMIServer, but how do I do this, when calling from a web service?   Any id

Is there a workaround for unsupported types ?

2002-05-21 Thread Ulf Pietruschka
Hi there,   as already discussed, some XML-Schema types are not yet supported by Axis (unsignedInt, unsignedLong, time, etc.). In the case, I want to use some service, which provides a WSDL (which uses those types), which I can't change by myself: is there a workaround to use this service (

RE: javascript SOAP clients

2002-05-21 Thread Newman, Scott
How exactly? Using WASP? Just curious. :) Scott -Original Message- From: Heitzso [mailto:[EMAIL PROTECTED]] Sent: 21 May, 2002 7:35 AM To: [EMAIL PROTECTED] Subject: Re: javascript SOAP clients I managed to do this with mozilla-javascript last night. > - Original Message -

RE: beta2 attachments bug?

2002-05-21 Thread Blumenkrantz, Jason
Bob- I've had the same experience with attachment handlings in Axis, I've posted about it before and haven't found a solution to date. This happens because MIMEUtils is reading the entire stream to determine the content length for the response, if the DataSource is not a FileDataSource. What I've

Re: javascript SOAP clients

2002-05-21 Thread Heitzso
I managed to do this with mozilla-javascript last night. > - Original Message - > From: "robert woodley" <[EMAIL PROTECTED]> > > > Dear All - > > > > I need to write a AXIS SOAP client in javascript. Has > > anybody had any success doing this? Are there toolkits > > to do this? Any insi

Re: Proxy setting in Axis

2002-05-21 Thread Glyn Normington
There are some clues in the developer's guide (in the docs directory or off the Axis home page). Glyn Kumar Raj

AW: Document service

2002-05-21 Thread Kolodziej, Erik
Hi, OK, I solved my problem. I used a 0-length array of SOAPBodyElements as a parameter for invoke(). So Axis doesn´t recognize, that I want to use messaging. But another question: The request to my service methode is RPC-like (a int parameter is needed) and the response is a XML document. Is th

Does Apache support messaging?

2002-05-21 Thread Paul Hunnisett
I hope this isn't a really stupid question, but how far does Axis go in supporting messaging as opposed to RPC? I know I can do RPC, but what if I want to just send some XML as part of a SOAP message? If this is supported can someone please let me know of any good resources in learning how to d

deploy web service with wsdd error(the public methods are not list)

2002-05-21 Thread William Guo
Hi,    I deploy my web service with the following wsdd, however the service's public methods are not list.   xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">                   I use the following URL and find those public methods are not list at all. http

Document service

2002-05-21 Thread Kolodziej, Erik
Hi, I have problems getting a XML document from a web service. I tried the message example but I always get the exception: org.xml.sax.SAXException: SimpleDeser cannot handle structured data! Is there any property I have to set? Erik

Re: WSDL2Java: how to manage schema restriction/facets

2002-05-21 Thread dev
Hello, this is a repost. I hope somebody can help me: How to perform a validation of the resquest parameters against according to the wsdl schema ? am writing wsdl to generate both client and server side java code. wsdl is xml and supporte schemas. With schema we can apply some restrictions als

Re: javascript SOAP clients

2002-05-21 Thread dev
You can have a look at: http://www.systinet.com/eap/jsstack/ " Systinet WASP JavaScript SOAP Client enables Web Service scripting using JavaScript. JavaScript serves as a powerful scripting language for flexible Web Service automation. WASP JavaScript SOAP Client may be used directly in a brow