Newbie Instantiation question

2002-04-15 Thread Torsten RĂ¼ger
Moi, so I just got my "hello world" (userguide/example3) to work and all looks fine. But for real life, I want to access existing objects. So axis wouldn't intantiate the object, especially not for every call to the service. Is there a way to describe this using the wsdd. For example to speci

TCPMon and "Building Web Services with Java" examples in Beta1

2002-04-15 Thread Ivan Filippenko
Hi all, I'm trying to adapt the examples from the book "Building Web Services with Java" to AXIS Beta1, and am encountering a couple of strange behaviors with respect to TCPMon. For one thing, rather quickly I begin getting the following exceptions in the TCPMon process: java.net.SocketExceptio

RE: how to disable multiref

2002-04-15 Thread Vidyanand Murunikkara
add this line call.setOption( org.apache.axis.AxisEngine.PROP_DOMULTIREFS, new java.lang.Boolean( false) ); before u call invoke -Original Message- From: Munjal [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 4:52 PM To: [EMAIL PROTECTED] Subject: how to disable multiref H

how to disable multiref

2002-04-15 Thread Munjal
Hi, can someone tell me how to disable multiref in an axis client? I am having problems invoking a service wherein i need to pass an array of a class. Thanks, Munjal

RE: XML as a Parameter

2002-04-15 Thread Chris Haddad
Mark - see attached zip for an example of an Axis client and Axis server passing a XML document via an RPC parameter of type Element Have fun, /Chris -Original Message- From: Mark Kurley [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 5:45 PM To: '[EMAIL PROTECTED]' Subject

RE: XML as a Parameter

2002-04-15 Thread Mark Kurley
Thanks Chris. Now I it can be done I just have to figure out how. Does anyone have any examples of passing Element? Thanks mark -Original Message- From: Chris Haddad [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 2:14 PM To: [EMAIL PROTECTED] Subject: RE: XML as a Parameter

RE: Problem getting sample GetQuote application to run due to authentication problems...

2002-04-15 Thread Walden Mathews
CHeck the GetQuote java source; it requires username and password arguments. > -Original Message- > From: Jesse D. Sightler [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 15, 2002 4:25 PM > To: [EMAIL PROTECTED] > Subject: Problem getting sample GetQuote application to run due to > auth

Problem getting sample GetQuote application to run due toauthentication problems...

2002-04-15 Thread Jesse D. Sightler
Hi, Is the Authentication mechanism documented anywhere? Or is this just a red-herring when the actual problem is something else? [jsight@localhost xml-axis-beta1]$ java samples.stock.GetQuote AAPL AxisFault faultCode: ns1:Server.Unauthenticated faultString: User 'null' not authenticated (unk

RE: style="document" rulz!

2002-04-15 Thread Esposito, Francis (Exchange)
I couldn't agree more with the usage of document based messaging over RPC. If you own both ends of the pipe, RPC can work, but if you don't...look out. You are taking the support nightmare of Corba and DCOM and extending it to federated systems over the net. No Thanks! If you look at successful v

RE: XML as a Parameter

2002-04-15 Thread Chris Haddad
Mark - yes, Axis supports passing 'Element' both from a client and server perspective. The implementation will then not escape the parameter value. How's interop on the MS side with Element? /Chris -Original Message- From: Mark Kurley [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15

RE: Kindly help me out - Posting twice !!!

2002-04-15 Thread Vidyanand Murunikkara
The error points to the fact that the java file was not compiled. Figure out why it is not compiling. One possibility IT might be needing some classes that are not in the classpaht of tomcat. Vidyanand. -Original Message- From: Jitender Singh Singh [mailto:[EMAIL PROTECTED]] Sent: Monday

RE: WSDL and XML Spy

2002-04-15 Thread Liu, C.C
I just tried XML Spy 4.2, it works without error nor complain. C.C. Liu -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 12:17 PM To: [EMAIL PROTECTED] Subject: Re: WSDL and XML Spy Quick answer: no. Longer answer: the WSDL that

Proxy-Authorization

2002-04-15 Thread Thomas . Langer
Hello, How can i access a WebService when i need a Proxy-Authorization with Axis ? I try to use : System.getProperties().put("proxySet","true"); System.getProperties().put("http.proxyHost","xx.xx.xx.xxx"); System.getProperties().put("http.proxyPort",""); String authString = "username:p

Re: WSDL and XML Spy

2002-04-15 Thread Russell Butek
Quick answer: no. Longer answer: the WSDL that Java2WSDL generates, while perhaps a bit odd, is perfectly legal. Sounds like XML Spy has a little failing. This is probably more than you wanted to know, but I'll ramble on anyway... Since we have the attribute: xmlns:wsdl ="http://schemas.xmls

RE: Processing of headers

2002-04-15 Thread St-Germain, Sylvain
FYI, I am currently working on client side header support. Won't help you for now. I believe you could certainly use a handler to get the work done on the server. Sylvain. -Original Message- From: Ramon Turnes [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:14 AM To: '[EMA

WSDL and XML Spy

2002-04-15 Thread Till Woerner
Hi, When I open a WSDL-file generated with Java2WSDL with the SOAP tool in XML Spy it cannot find any methods to invoke. I looked at my WSDL and found out that Java2WSDL generates wdsl-prefixes for all elements associated with namespace "http://schemas.xmlsoap.org/wsdl/";. When I delete those pre

Processing of headers

2002-04-15 Thread Ramon Turnes
Hi, my Web Service needs to process some SOAP headers targeteed at http://schemas.xmlsoap.org/soap/actor.next and with mustUnderstand set to 1. I get an axis exception on the server side because the headers are not processed. Should I write a handler to process the headers before they are del

RE: XML as a Parameter

2002-04-15 Thread Mark Kurley
Chris Thanks for the help. I was working with this an noticed that it will escape the "xml" because it is a string parameter. When using the NS_URI_LITERAL_XML in Apache-Soap it would add the xml to the soap body. Something like this. This would be an xml doc

RE: XML as a Parameter

2002-04-15 Thread Chris Haddad
Mark - Yes, an xml document can be passed as a parameter to an RPC style call. You can simple make the parameter a java.lang.String in your service handler method. Deploy the service, and pull the wsdl using ?wsdl or running Java2WSDL. A client stub generated using WSDL2Java then defines thi

RE: Client examples for arrays and Collections

2002-04-15 Thread St-Germain, Sylvain
Have a look a the Message sample in the distribution. Sylvain. -Original Message- From: Keld Helbig Hansen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 3:02 AM To: [EMAIL PROTECTED] Subject: Client examples for arrays and Collections I'm a newbie to Axis, SOAP and Web Service

RE: RE: Kindly help me out - Posting twice !!!

2002-04-15 Thread Newman, Scott
Hi Jitender You may want to try compiling your Authenticate.java and put the corresponding .class file into the same directory as the jws file. I have to tell you, that I've had a lot of problems when working with the jws files. Although the jws method is very fast, it will save you many headac

Re: RE: Kindly help me out - Posting twice !!!

2002-04-15 Thread Jitender Singh Singh
Hi Newman , Authenticate.java is a web service only. Functionality it achieves : It reads an XML which contains configuration for connecting to a database which contains username password in a table and thus authenticates the user dependi

Transport and server using AMI

2002-04-15 Thread jsimpson2
I am in the process of building a transport and server using the AMI API for Message Oriented Middleware (MOM). MOM's include such products as MQSeries and Tuxedo. When I am done most likely (I can't promise for sure yet) that we will be interested in submitting my work to the AXIS project. Woul

XML as a Parameter

2002-04-15 Thread Mark Kurley
Is it possible to pass an xml document as a parameter for an RPC call in axis. With Apache-SOAP you can pass xml as a parameter using the Constants.NS_URI_LITERAL_XML. I am looking for the equivalent in axis. Thanks for the help in advance. -mark Visit our website at http://www.p21.com/vis

RE: Kindly help me out - Posting twice !!!

2002-04-15 Thread Newman, Scott
Hi Jintender The usual place to keep xml files would be in your WEB-INF folder. Here is a quote from the jakarta documentation about the issue: --- web/WEB-INF/ - The special configuration files required for your application

RE: Hiding access to Admin Servlet

2002-04-15 Thread Ramon Turnes
But how do I go about limiting access to individual web services? Basically I am interesed in the following two cases: 1. How can I limit the access to the AdminService 2. I want to administer my Web Services so I would they could actually have a broader interface for administrators (let's say

RE: Document/Literal v RPC/Encoded

2002-04-15 Thread Ramon Turnes
Take a look at this one: http://www.learnxmlws.com/tutors/rpcmsg/rpcmsg.aspx Regards. Ramon. > -Original Message- > From: Adam.Leggett [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 15, 2002 10:56 AM > To: Axis User ([EMAIL PROTECTED]) > Subject: Document/Literal v RPC/Encoded > >

Kindly help me out - Posting twice !!!

2002-04-15 Thread Jitender Singh Singh
Hi , I have posted my query 2 days back but has not received any reply so far. I am novice in axis. Kindly find time to answer my query. From my end i have used all permutation combinations to solve the same. I have deployed my web service using the JWS Files -Instant Deployment and

Document/Literal v RPC/Encoded

2002-04-15 Thread Adam.Leggett
Hello, Can anyone point me in the direction of a good article explaining the detailed differences between SOAP Document/literal style and RPC. Ive had a fair bit of exposure to SOAP-RPC and encoding and have been advocating this approach. However ,im particularly interested in the merits/advant