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
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
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
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
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
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:
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();
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
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
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
[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.
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
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
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
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
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
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
- 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:
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)
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]
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
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
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
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
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
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
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
[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
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)
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
- 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
Please don't send mails to this account.
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
33 matches
Mail list logo