Re: replacing DefaultSocketFactory

2003-04-03 Thread Steven Gollery
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

Re: replacing DefaultSocketFactory

2003-04-03 Thread Steven Gollery
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-

replacing DefaultSocketFactory

2003-04-03 Thread Steven Gollery
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]

Re: xml document as string

2002-11-19 Thread Steven Gollery
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

Re: Axis with Amazon Web Services

2002-11-15 Thread Steven Gollery
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.

Re: Axis with Amazon Web Services

2002-11-15 Thread Steven Gollery
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

Re: Axis with Amazon Web Services

2002-11-15 Thread Steven Gollery
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

Re: How to deploy permanently?

2002-11-14 Thread Steven Gollery
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

Re: Packaging question

2002-11-12 Thread Steven Gollery
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

Re: Adding/Setting a SOAPAction

2002-11-12 Thread Steven Gollery
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();

Re: (Chained) Exceptions and beanMapping

2002-11-12 Thread Steven Gollery
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

Re: How I can send a XML file using AXIS

2002-11-12 Thread Steven Gollery
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

Re: java.lang.NoClassDefFoundError is plaguing me

2002-11-12 Thread Steven Gollery
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

Re: REPOST5 PLEASE HELP! WSDL2Java generates uncompilable code

2002-10-30 Thread Steven Gollery
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

Re: XML and web services

2002-10-30 Thread Steven Gollery
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

servlet accessing SOAP service from behind firewall

2002-10-30 Thread Steven Gollery
otten it to work. Thanks, Steven Gollery [EMAIL PROTECTED]

Re: XML and web services

2002-10-30 Thread Steven Gollery
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

can a web service find out its own url?

2002-07-18 Thread Steven Gollery
?" 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]

mixing rpc and msg

2002-07-16 Thread Steven Gollery
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]

RE: Document style service with two methods

2002-04-02 Thread Steven Gollery
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

document-style messaging and XML files

2002-03-12 Thread Steven Gollery
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]

Re: problem running the message example of the nightlybuild

2002-03-05 Thread Steven Gollery
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

Re: looking for Axis messages example

2002-03-05 Thread Steven Gollery
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

Re: axis message example

2002-03-05 Thread Steven Gollery
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 &

Re: Newbie install problem - alpha3

2002-03-01 Thread Steven Gollery
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 >

Re: Newbie install problem - alpha3

2002-02-28 Thread Steven Gollery
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 >

Re: RPC in, Document out?

2002-02-27 Thread Steven Gollery
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

Re: How to get leading zeros into ...

2002-02-27 Thread Steven Gollery
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

Re: How to get leading zeros into ...

2002-02-26 Thread Steven Gollery
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

Re: web service returning XML Document

2002-02-26 Thread Steven Gollery
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

Re: web service returning XML Document

2002-02-26 Thread Steven Gollery
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

Re: web service returning XML Document

2002-02-26 Thread Steven Gollery
"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

Re: How to get leading zeros into ...

2002-02-26 Thread Steven Gollery
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

Re: web service returning XML Document

2002-02-26 Thread Steven Gollery
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:

web service returning XML Document

2002-02-25 Thread Steven Gollery
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]

RPC in, Document out?

2002-02-25 Thread Steven Gollery
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]

property files for services

2002-02-21 Thread Steven Gollery
lying on a hard-coded path? Steven Gollery [EMAIL PROTECTED]

RE: serializing Arrays, ArrayLists, Vectors

2002-02-05 Thread Steven Gollery
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

serializing Arrays, ArrayLists, Vectors

2002-02-04 Thread Steven Gollery
, 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]