either set a property or create a service config file.
Check out the xml-axis/docs/integration-guide.html file for info on this.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: Steven Gollery [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 4:17 PM
To: [EMAIL
wrote:
This is the kind of thing that you need to use the commons-discovery code to do. You can either set a property or create a service config file.
Check out the xml-axis/docs/integration-guide.html file for info on this.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
ll a remote web service, then
formats the results into html.
So: should this work? Is there a better way to do this? Am I completely
off track here?
Thanks,
Steven Gollery
[EMAIL PROTECTED]
Tom,
There's a reasonably simple way to find out for sure: construct a web
service that takes a string parameter and then pass "" and
see what happens.
Looking through the code, parameters become instances of RPCParam, and
serializing strings in RPCParam results in them being encoded.
So it l
ation. Thanks for the answer.
Steve
James Black wrote:
Steven Gollery wrote:
But when we call the same code from a JSP, we get exceptions. We've
tried setting CATALINA_OPTS to define the proxyhost and proxyport, as
people on the Tomcat list suggested, but that doesn't work for us either.
the same Axis classes from the Amazon sample
code to query the Amazon service and format the results into html.
Unfortunately we haven't been able to get it to work, but I think
that's
due to firewall issues.
Hope that helps.
Steven Gollery
[EMAIL PROTECTED]
Michael Fecina wrote:
Ha
haven't been able to get it to work, but I think that's
due to firewall issues.
Hope that helps.
Steven Gollery
[EMAIL PROTECTED]
Michael Fecina wrote:
Has anyone used Amazon's Web Services in conjunctino with Axis?
From looking on the web, I found a tutorial that uses the two
David,
Deployment through the AdminClient should be permanent -- at least it
always has been for us. If you have to re-deploy every time you restart
Tomcat, there might be something with your setup -- file permissions, maybe?
Steven Gollery
korz, david wrote:
What is the preferred method of
Barry,
I usually put all the jars in the WEB-INF/lib directory under whatever
directory my web service is in. I think there was some discussion at one
point about what to do when multiple web services share the same
libraries, but I don't remember what the consensus was (if any).
S
Dave.
Would it work to do this:
msg.getSOAPPart().getMessage().getMessageContext().setSOAPActionURI(
"/ftr/xml/submit");
Steven Gollery
David Orriss Jr wrote:
I'm trying the following code to set a SOAPAction:
MessageFactory msgFactory = MessageFactory.newInstance();
pects currently, including the exceptions.
Of course, I have no idea if this fits your situation. But it seems like
it might be something to consider.
Steven Gollery
[EMAIL PROTECTED] wrote:
Can anyone explain clearly WHY developers are forced
to inherit from AxisFault class?
It is a huge problem
Amit,
In the samples/message directory, there is an example of how to send and
return XML. The example operation uses a Vector and an array of Element
objects, but you can send and receive Document objects just as easily.
Be sure to notice in the deploy.wsdd file that provider is "java:MSG",
n
I've also had similar problems with compiling JSPs under TOMCAT. I think
what's happening is that, since a JSP has to be compiled, TOMCAT runs
javac. But javac obviously doesn't use the same custom class loader that
Axis uses, so in order to make those jars visible to the compiler, they
have to
Peter,
I couldn't find all these bug reports and previous posts that Alan Moore
told you to look for, so I poked around and found that if your WSDL file
doesn't "overload" the word getNotifications (as a type, an element
name, and an operation name), the generated files do include a
GetNotific
nks for the response. So how do you manage the provider, is this a
parameter in the Java2WSDL class?
Thanks!
-Original Message-
From: Steven Gollery [mailto:
Sent: Wednesday, October 30, 2002 12:00 PM
To: [EMAIL PROTECTED]
Subject: Re: XML and web services
Barry,
We've used serv
otten it to work.
Thanks,
Steven Gollery
[EMAIL PROTECTED]
ne method, or all methods.
We also couldn't figure out how to deploy a service where one method was
message-centric and others were RPC. But both these problems might be
just something we couldn't get right.
Hope this helps.
Steven Gollery
[EMAIL PROTECTED]
Barry Lulas wrote:
I g
?" question from run-time to deployment time.
Hopefully this looks more complicated to me than it really is, and
someone can think of a way to manage this. Or another idea for how to
arrange one web service to tell another one how to call back.
Thanks,
Steven Gollery
[EMAIL PROTECTED]
Is it possible to create a .wsdl file that allows some of the operations
of a service to be RPC, while others are MSG-based? If so, can somebody
show me -- or point me to -- an example of this?
Thanks,
Steven Gollery
[EMAIL PROTECTED]
Ramon,
I have the same problem -- I've been hoping that someone with more Axis
experience than I have would jump in and either tell us how to do this
or confirm that it can't be done for some reason.
The only solution I've been able to come up with is one that you've
probably already considered
t going through the step of parsing it into
a Document. But I can't see how to do this: it looks to me like Axis
requires that I return a Document (or an array of Element objects) in
this situation.
Any ideas?
Steven Gollery
[EMAIL PROTECTED]
Frank,
Are you running the nightly build, or alpha 3?
Steven Gollery
Frank van Lingen wrote:
> Hi,
>
> I am trying to run the message example of the nightlybuild version. I
> get an error message when I run the client:
>
> Exception in thread "main" no 'meth
Marcel,
If you're using alpha 3, you might want to take a look at my response to
a similar question in the "axis message example" thread. Basically, the
nightly build example doesn't work with alpha 3.
Steven Gollery
[EMAIL PROTECTED] wrote:
>
> The only example is i
nd what to do with messages was to go to the CVS
archive and get the version of Admin.java and AdminClient.java that existed at
the time alpha3 was built.
Hope this helps.
Steven Gollery
Doug Davis wrote:
> Look at the latest version of the code - there's a messaging sample in
&
1-676-7613 Fax: 781-676-2420
> Email: [EMAIL PROTECTED]
> http: www.rational.com
>
> -Original Message-
> From: Steven Gollery [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 28, 2002 6:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Newbie install problem - alpha3
>
Len,
DeserializationContext is in axis.jar. If you didn't get that as part of your
download, then, yes, I'd say you are missing something ;-)
Steve Gollery
[EMAIL PROTECTED]
"DiMaggio, Len" wrote:
> Hi everyone,
>
>I'm missing something basic in trying to get Step 5 in the install guide
>
hat on the response replacesResponseMessage
> with correct one.
> Ex handler:
> public void invoke(MessageContext context) throws AxisFault
> {
> if (context.getPastPivot()) {
> // This is a response.
>
> Message msg = context.getResponse
the web service,
> explained my situation, and I am now allowed to send strings containing the
> phone number. Thanks for your guidance.
>
> Regards,
> Mark.
> -Original Message-
> From: Steven Gollery [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 27 February 2002 1
phone number to be
considered as an integer, since you are unlikely to perform arithmetic on it.
If someone else has control of the web service definition, you might ask them
how their service handles phone numbers with leading zeroes. They may already
be dealing with this issue internally.
S
new Object[] {} ).
> -Dug
>
> Steven Gollery <[EMAIL PROTECTED]> on 02/25/2002 08:32:43 PM
>
> Please respond to [EMAIL PROTECTED]
>
> To:[EMAIL PROTECTED]
> cc:
> Subject:web service returning XML Document
>
> I understand in principle the concepts of documen
able for me. The last build I got was 2/20.
>
> Jeff
>
> -Original Message-
> From: Steven Gollery [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 26, 2002 12:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: web service returning XML Document
>
> Jeff,
>
&g
"message" sample or even the AdminClient - they but use
> msg instead of rpc. Invoking a service with no parameters is no different
> than one with parameters, just pass in an empty array of for the param list
> (ie. new Object[] {} ).
> -Dug
>
> Steven Gollery ?[EMAI
Mark,
Have you tried making the phone number a String as you did in the version 2.2
sample?
Steven Gollery
[EMAIL PROTECTED]
"Walsh, Mark" wrote:
> Hi,
>
> I have a java xml client that uses Apache SOAP version 2.2 (eg
> org.apache.soap...) that can send a phone numbe
vices?
Thanks for the help,
Steve Gollery
[EMAIL PROTECTED]
"Gunderson, Jeff" wrote:
> You will find a message sample in the nightly builds. It is not available
> in the
> December alpha release.
>
> Jeff
>
> -Original Message-
> From: Steven Gollery [mailto:
d return values, and doesn't use
any deprecated classes?
I could also use some code that demonstrates invoking a service that has
no parameters.
Thanks in advance,
Steven Gollery
[EMAIL PROTECTED]
eturn value.
So I'm wondering: Is it possible to deploy a service that uses RPC for
the input arguments and returns an XML document? And if so, how?
Steven Gollery
[EMAIL PROTECTED]
lying on a
hard-coded path?
Steven Gollery
[EMAIL PROTECTED]
rom the samples
directory.
Sylvain.
-Original Message-
From: Steven Gollery [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 1:41 PM
To: [EMAIL PROTECTED]
Subject: serializing Arrays, ArrayLists, Vectors
Hello,
It appears that serializing and deserializing Java Arrays, ArrayList
, and vice versa). I would assume that I need to write custom
serializers for arrays and Vectors. Is this right? Has anyone done this,
or can give me some advice?
Thanks in advance,
Steven Gollery
[EMAIL PROTECTED]
39 matches
Mail list logo