SAXParser throws carriage returns away

2003-01-27 Thread Akacem Mohammed
Hello, I have the probleme that the SaxParser when parsing a string is presumely replacing \r\n throught \n. Has someone an idea how I could avoid this? I actually need the carriage return (\r) because the string will be displayed later on on a client (win) . ( now I am simply adding the

RE: How to Override '?WSDL' to generate WSDL file and How to get web service list from Client?

2003-01-27 Thread Christer Holmér
The class path won't matter (at least not in the version of Axis I checked), as a FileInputStream is created with the path to the WSDL file. The path could be absolute or relative to your startup directory. Taken from org.apache.axis.handlers.soap.SOAPService /** * Generate WSDL. If we

Re: SAXParser throws carriage returns away

2003-01-27 Thread Dennis Sosnoski
Akacem Mohammed wrote: I have the probleme that the SaxParser when parsing a string is presumely replacing \r\n throught \n. Has someone an idea how I could avoid this? I actually need the carriage return (\r) because the string will be displayed later on on a client (win) . ( now I am

re: [wsif] attachments!

2003-01-27 Thread Anthony Elder
The SAAJ specification describes the structure of the SOAP message used with attachments. WSIF doesn't work directly with the SOAP message, the WSIF AXIS provider uses AXIS for that, so SAAJ doesn't directly apply to WSIF. The WSIF attachment interface uses the jax-rpc interface which uses the

Re: SAXParser throws carriage returns away

2003-01-27 Thread Aleksander Slominski
Akacem Mohammed wrote: I have the probleme that the SaxParser when parsing a string is presumely replacing \r\n throught \n. Has someone an idea how I could avoid this? I actually need the carriage return (\r) because the string will be displayed later on on a client (win) . ( now I am

RE: Getting the IP Address of a Web Service Client

2003-01-27 Thread Cory Wilkerson
public void someService() { MessageContext mc = MessageContext.getCurrentContext(); String ip = (String)mc.getProperty("remoteaddr"); } -Original Message-From: Nicolas Dinh [mailto:[EMAIL PROTECTED]]Sent: Saturday, January 25, 2003 9:48 AMTo: [EMAIL PROTECTED]Subject:

Trying to get response

2003-01-27 Thread Jens Viebig
I'm trying to call a SOAP method on a python server, which is developed by an other person- Why can't Axis get the return value of the method ? This is my code: Service service = new Service(); Call call = (Call)service.createCall();

MessageContext

2003-01-27 Thread Cory Wilkerson
Is the following thread safe? The fact that this is a static method scares me a bit, ie, will MessageContext.getCurrentContext() hold true in situations like this or is it possible that as two threads enter this method simultaneously...things could get a little funky. public static

RE: MessageContext

2003-01-27 Thread Cory Wilkerson
Yeah...I just ran across that in the source -- agreed -- ThreadLocal is very cool. Of course, that said, I suppose I can't spin off a separate thread and expect to be able to use MessageContext.getCurrentContext() with any reliability. Cory -Original Message- From: Jess Sightler

Re: WSIF 2.0 RC4 available

2003-01-27 Thread David . Pool
I've been looking into WSIF a bit. Is WSIF a client-side only technology? In other words, my server-side SOAP, EJB, JCA, code doesn't change any to be accessible by the client does it? There is no server side component specific to WSIF is there? Is WSIF a java-only product at this point? Do any

Re: WSIF 2.0 RC4 available

2003-01-27 Thread Aleksander Slominski
[EMAIL PROTECTED] wrote: Is WSIF a client-side only technology? In other words, my server-side SOAP, EJB, JCA, code doesn't change any to be accessible by the client does it? There is no server side component specific to WSIF is there? hi David, that is right. WSIF is client-side library.

How to deploy two web services in one web container?

2003-01-27 Thread Naresh Bhatia
Title: How to deploy two web services in one web container? I would like to deploy two web services in the same web container. What is the recommended approach for doing this? I was thinking of two possibilities: 1) One Web App with two services defined in server-config.wsdd. Is this

WSDL invocation

2003-01-27 Thread m . giordano
Hi axis users, I have installed axis with Tomcat 4.1.18. the validate jsp page gives me the result I have included in the attached file. It seems to me that everything is OK. Nevertheless, when I click on the wsdl in the view page I have the download form appearing in my browser... I expected

Programmatic deployment of web services

2003-01-27 Thread James Flagg
Greetings all, According to the Axis documentation, the way to deploy web services using WSDD is to invoke the AdminClient from the command line: % java org.apache.axis.client.AdminClient deploy.wsdd which connects to the Axis servlet on localhost:8080 and registers the service. However, I

Re: Programmatic deployment of web services

2003-01-27 Thread Benjamin Tomasini
I would just modifiy the server-config.wsdd manually. Same effect. On Mon, 2003-01-27 at 14:26, James Flagg wrote: Greetings all, According to the Axis documentation, the way to deploy web services using WSDD is to invoke the AdminClient from the command line: % java

Re: Programmatic deployment of web services

2003-01-27 Thread Benjamin Tomasini
Or, just be sure to use the same server-config.wsdd file for the webapp after each deployment. Any settings in this file will be reloaded when the webapp starts. Auto deploying through the admin client on startup would be redundant and complex - probably more buggy, too. On Mon, 2003-01-27 at

Re: WSIF 2.0 RC4 available

2003-01-27 Thread Jeremy Hughes
David, There is no server side component to WSIF. Each invocation requires the service to be described in WSDL with the necessary WSDL extension. eg we have a WSDL extension for describing the necessary information for a client to call the EJB. Logically (and preferably) the WSDL should be

Re: Simple mapping .asmx to .jws?

2003-01-27 Thread Steve Loughran
- Original Message - From: Randy Belknap [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 25, 2003 11:19 Subject: RE: Simple mapping .asmx to .jws? Does anyone know whether OPTION_JWS_FILE_EXTENSION is implemented? The org.apache.axis.handlers.JWSHandler has this:

re: can't inherit from final class

2003-01-27 Thread James Black
Hello, I am trying to figure out where this error message is, as my web service complains that it Cannot inherit from final class. The last two errors are at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

RE: Programmatic deployment of web services

2003-01-27 Thread James Flagg
I added my services to server-config.wsdd, commented out the admin service, put it in my webapp's WEB-INF directory, and it worked perfectly! Thank you. -Original Message- From: Benjamin Tomasini [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 11:31 AM To: [EMAIL PROTECTED]

Re: WSIF 2.0 RC4 available

2003-01-27 Thread David . Pool
Thanks Alek for the quick answers. I have a question about WSDL and binding. Are the various WSDL tools to generate code going to have problems if there are other bindings available besides soap in the WSDL doc? Is the (remote) WSDL doc retrieved each time a service is invoked? Thanks, David

Sending Map to a server

2003-01-27 Thread Shellman, Joel
In my service, I have a method that accepts a Map as a parameter: public MyObject serviceMethod(Map values) { // impl... } I used Axis to auto generate the WSDL for it and it did generate: s:schema targetNamespace=http://xml.apache.org/xml-soap; s:import

Re: Sending Map to a server

2003-01-27 Thread Benjamin Tomasini
Maps are not typesafe. While it is possible to get it to work, I don't think you want to send a non-typesafe component over a webservice. It would open the door to errors. XML-RPC works the best when your types are expiclity declared. I would avoid anyType declarations. Usually they can be

Probably a simple issue, but can't find it

2003-01-27 Thread Brain, Jim
I have created my web service in AXIS 1.1b, which has two methods. Both take a ConnectInfo classe that is Serializable and has 2 fields (UID, PW) The service deploys fine I create the stubs via wsdl2java, and all is fine. I run the test, and I get: org.xml.sax.SAXException: Deserializing

RE: Simple mapping .asmx to .jws?

2003-01-27 Thread Randy Belknap
Thanks! I will try these. BTW, I got Axis to use .asmx instead of .jws by modifying JWSHandler.java and changing DEFAULT_JWS_FILE_EXTENSION from '.jws' to '.asmx'. There was a small gotcha that some of the substring code assumes a 3 character file extension. There are two places where you

RE: Interoperative attachments

2003-01-27 Thread Mark Mueller
Josh, This was very helpful -- thanks a lot! I've implemented my service this way, and I return the URL of the attachment content-id as the return-value of the call. I have another question. The WSDL created by Java2WSDL doesn't mention the file that I return as an attachment. Should I

www.webservicex.net has gone ?

2003-01-27 Thread Reynardine
I had an axis web service client working using the WebserviceX's stockquote service? Over the weekend the site is now dead. Does anyone know what happened ? -- Rey -- __ Sign-up for your own FREE Personalized E-mail at Mail.com

Re: WSIF 2.0 RC4 available

2003-01-27 Thread Aleksander Slominski
[EMAIL PROTECTED] wrote: I have a question about WSDL and binding. Are the various WSDL tools to generate code going to have problems if there are other bindings available besides soap in the WSDL doc? hi David, that will depend on tools used - theoretically they should ignore unknown

RE: Probably a simple issue, but can't find it

2003-01-27 Thread Brain, Jim
Oh, THANKS! However, this does bring up a question: It seems like AXIS should be able to do this mapping, because it knows the class information (via reflection). Why do I have to add it by hand? Jim Jim Brain, [EMAIL PROTECTED] Researching tomorrow's decisions today. (319) 369-2070 (work)

RE: www.webservicex.net has gone ?

2003-01-27 Thread Norris Merritt
There was a major internet worm incident over the weekend affecting lots of servers, maybe it got hit? -Original Message- From: Reynardine [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 1:34 PM To: [EMAIL PROTECTED] Subject: www.webservicex.net has gone ? I had an axis web

Re: Simple mapping .asmx to .jws?

2003-01-27 Thread Steve Loughran
- Original Message - From: Randy Belknap [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 27, 2003 13:26 Subject: RE: Simple mapping .asmx to .jws? Thanks! I will try these. BTW, I got Axis to use .asmx instead of .jws by modifying JWSHandler.java and changing

SIGNOFF

2003-01-27 Thread Sunil Singh
Please don't send mails to this account.

[ANN] Apache WSIF 2.0

2003-01-27 Thread Aleksander Slominski
Apache WSIF 2.0 Released The Apache WSIF (Web Services Invocation Framework) team is proud to announce the first open release of Apache WSIF. WSIF (the Web Services Invocation Framework) is a WSDL-based API for invoking WSDL-described services. WSIF developers interact