RE: Calling a secure Axis web service with .net client

2002-05-23 Thread Vidyanand Murunikkara
Hi thomas I was doing exactly what you had suggested in your mail. But then for some reason the username and password are not being sent as an header. The only way i could add a header was to override the GetWebRequest() method and then add any header i wanted to add. But i guess there must

NEW TO AXIS

2002-05-23 Thread YOUNG,KEOKI (HP-PaloAlto,ex1)
I am attempting to install AXIS on WLS 5.1 and I continue to get this exception for each of the samples I try to execute. Can anyone help? - Exception: java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.message.RPCElement.(RPCElement.java:106) at or

Type Mappings while using the Emitter Class

2002-05-23 Thread Bihani, Swastik
Hi I wanted to know how to get to the non-default type mappings that the org.apache.axis.wsdl.fromJava.Emitter generates. I could not figure out the API calls that I would use to get there. E.g. If you have a user-defined class as a parameter to one of the methods of the class being exposed, i

Re: Access to HttpSession

2002-05-23 Thread Simon Tuffs
I just found another reply on this list which tells about org.apache.axis.MessageContext.getCurrentContext(), which ends up using a thread-local inside the Axis engine to get you the message context. Better than hacking the providers. Simon. - Original Message - From: "Simon Tuffs" <[E

Re: Question about Arrays

2002-05-23 Thread Simon Tuffs
I ran into the very same problem myself today, and digging around in the code it seems that there is some decoupling between the type-mapping code which is used to create WSDL, and the code which is used to perform serialization/deserialization. I'm trying to hack my way around it and figure out

Re: Access to HttpSession

2002-05-23 Thread Simon Tuffs
Unfortunately (as far as I can tell) there is no propagation of the current MessageContext into a service when you're using a provider such as RPCProvider. I hacked my version of the RPCProvider to stuff the message context into a ThreadLocal variable before invoking the method in the Java code, b

Design guidelines for web service interfaces?

2002-05-23 Thread Ronald Hütter
Does anybody know about some guidelines on how to design web service interfaces? I'm facing a couple of problems when translating object oriented interfaces into traditional RPCs. Thanks, Ronald

normal Array in XML, how ?

2002-05-23 Thread Houman Moshtagh
Hello all,   I try to use an one-dimensional array in a WSDL file. It shouldn’t be as hard to realize that.   I couldn't find anything useful about array but in http://www.w3.org/TR/wsdl. So I've tried to correct my code.  It looks now almost the same as the wc3 example. But it still do

Problem with starting tomcat with SecurityManager

2002-05-23 Thread Dennis Reil
I want to start Tomcat with a security manager, so that I can access a rmi registry. I start tomcat with catalina run -security   It works fine. the server starts without a problem, but as soon as I install the axis engine / my web service, the server didn't start anymore with the security-O

Problems starting tomcat with security manager and AXIS

2002-05-23 Thread Dennis Reil
I want to start Tomcat with a security manager, so that I can access a rmi registry. I start tomcat with catalina run -security   It works fine. the server starts without a problem, but as soon as I install the axis engine / my web service, the server didn't start anymore with the security-

Operation namespaces

2002-05-23 Thread Jim Dibble
I notice that in axis beta 1, the namespace for the body of the operation input message is, by default, the URL to reach the web service.  For example, the namespace of the input message’s body for the StockQuoteService’s getQuote operation is: ”http://localhost:8080/axisb1/StockQuoteServic

Re: Classpath problems

2002-05-23 Thread Heitzso
Assuming you're having trouble finding axis classes ... Try running with jdk 1.4.0 and using -Djava.endorsed.dirs=axis/lib in jdk invocation. You may not want to do this, but unfortunately axis is trying to be standards compliant and hence requires use of javax.blat classes, but those s

Re: Classpath problems

2002-05-23 Thread Dan Chisholm
Title: Classpath problems Which version of Java are you running?  If you are using Java 2 Standard Edition version 1.4 (J2SE v1.4), then you might be having a problem with the endorsed standards override mechanism.  If that's the case, then you could try step 3 of the following modified ver

RE: wsdl4j help required

2002-05-23 Thread Brenda Bell
Title: RE: wsdl4j help required I did a little bit of work with WSTK -- sounds like you and I are headed down similar paths. I can tell you that your primary point of interest is probably com.ibm.wsdl.xml.WSDLReader.  If you generate the JavaDoc for wsdl4j, it should give you a little help.

RE: wsdl4j help required

2002-05-23 Thread Gold, Laurence (MLIM)
Paul - I just picked up the book Professional java web services- wrox. And there is some good examples/docs in the book - Also Russell has been very helpful on this board answering previous questions. Lastly download the wskt from ibm and look at the WSDLExplorer sample application. It also

Classpath problems

2002-05-23 Thread Wörner Till
Title: Classpath problems Hi, I have big problems with classes I want to access from axis. I am testing with JRun 3.0 but Tomcat was the same...None of the handlers I have written and none of my web service classes can find the classes sitting under the WEB-INF directory where my web servi

Re: wsdl4j help required

2002-05-23 Thread Russell Butek
You're not missing anything obvious (at least not that I'm aware of). WDL4J is a work in progress, so there's not much documentation out there. The AXIS tools WSDL2Java and Java2WSDL (in package org.apache.axis.wsdl) use WSDL4J fairly heavily to read and create WSDL. You might learn something fro

wsdl4j help required

2002-05-23 Thread Paul Hunnisett
Does anyone know of any good resources/tutorials for getting to grips with wsdl4j? I have looked through docs after docs and found nothing. I have downloaded the IBM Web Service tooolKit and gone through those docs, but I can't see anything except API docs. All I want to know is if I can manipu

RE: SSL & Digest authentication

2002-05-23 Thread KUMAR,PANKAJ (HP-Cupertino,ex1)
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > 2. This is a bit off-topic, but maybe not so much. > I want to use SSL with my Axis client. No problem here. > I even managed to enable client authentication, everything > runs ok. But how can I configure my

RE: an access to a MessageContext

2002-05-23 Thread Martin Senger
> Is it not what org.apache.axis.MessageContext.getCurrentContext() is for? > Perfect! I have missed it - but it seems "The" solution I was looking for. Thanks, Martin -- Martin Senger EMBL Outstation - Hinxton[EMAIL PROTECTED] European Bioinformatics Institute

RE: attachment confusion

2002-05-23 Thread robert rowntree
i've used the "attachment" sample from IBM's Webservice site. http://www.alphaworks.ibm.com/tech/webservicestoolkit its different from the "echoattachment" sample, but it seems to be a good SOAP/RPC implementation for attaching files and getting them to the server. And it's WSDL describes the

Re: String[] as return type

2002-05-23 Thread kerouac76
Hi Erik, thanks to you I made one step... but I still need help... I switched the .Net service to use the RPC/encoded style, but now I get the following exception: "Server was unable to read request. --> There is an error in XML document (4, 4). --> was not expected

RE: IllegalAccessException

2002-05-23 Thread Jason D. Lee
I removed the tag and updated to the latest nightly drop and the ?wsdl worked. When I run my client, however, I get the same error. I used the WSDL2Java to create the client stubs, and then make these calls: try { CraftsWeb stub = new CraftsWebServiceLocator().getCraftsWeb();

RE: How do I access a webservice via HTTPS?

2002-05-23 Thread KUMAR,PANKAJ (HP-Cupertino,ex1)
Hi, I have some documentation of the steps I carried out at http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html You may find this helpful. /Pankaj. -Original Message- From: Nuno Guerreiro [ mailto:[EMAIL PROTECTED] ] Sent: Thursday, May 23, 2002 4:26 AM

RE: Question regarding deploying service using deploy.wsdd

2002-05-23 Thread Chaudhri Rohit-CRC037
As specified in the documentation, I used the tag to specify the methods that I should be exposed in the Web Service. But still after I deploy the web service & copy the jar files in the webapps/axis/lib directory, all the methods of the class & its super class get exposed (the super class inheri

RE: IllegalAccessException

2002-05-23 Thread Cédric Chabanois
I tried your sample (without modifying anything) and it worked ... I got the wsdl ... I used the 05-22-2002 version Cédric Chabanois > -Message d'origine- > De : Jason D. Lee [mailto:[EMAIL PROTECTED]] > Envoyé : jeudi 23 mai 2002 15:52 > À : '[EMAIL PROTECTED]' > Objet : IllegalAccessE

RE: IllegalAccessException

2002-05-23 Thread Cédric Chabanois
Are you sure you want to use the SimpleAuthenticationHandler ? () In this case, make sure you don't forget users.lst and perms.lst Hope it helps ... Cédric Chabanois > > I'm trying to deploy an extremely simple web service under > Tomcat 4.0, but > I'm not having much luck. When I try to acc

RE: javascript SOAP clients

2002-05-23 Thread Heitzso
current Mozilla supports javascript-soap directly, without needing a plugin. My simple javascript function to send a test word to an echo test service (apache axis beta 2 on server side) follows. You'll note that it appears to be modeled on apache soap 2.2. ===

IllegalAccessException

2002-05-23 Thread Jason D. Lee
I'm trying to deploy an extremely simple web service under Tomcat 4.0, but I'm not having much luck. When I try to access the URL http://localhost:8080/axis/services/CraftsWeb?wsdl, I get the following error: java.lang.IllegalAccessException: craftsweb.CraftsWeb Here's the service code: packag

RE: How do I access a webservice via HTTPS?

2002-05-23 Thread thomas . cherel
Title: RE: How do I access a webservice via HTTPS? It has nothing to do with Axis. This is a feature of your servlet container (for example Tomcat). The JSSE is required if you use JDK 1.3 and older. With JDK1.4 you do not need JSSE. With Tomcat and JDK1.4, no custom code to write. Tomcat conf

RE: Web Service and EJB with Axis and JBoss

2002-05-23 Thread thomas . cherel
Title: Web Service and EJB with Axis and JBoss It seems that a couple of people got a corrupted zip. I suspect that this is coming from the .vbs file included in the zip and some mailers trying to remove it (considered as a virus). There is a new zip with a .vbscript instead of .vbs. That sh

RE: an access to a MessageContext

2002-05-23 Thread thomas . cherel
Title: RE: an access to a MessageContext Is it not what org.apache.axis.MessageContext.getCurrentContext() is for? -Original Message- From: Martin Senger [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 4:12 AM To: [EMAIL PROTECTED] Subject: an access to a MessageContext I

SSL & Digest authentication

2002-05-23 Thread Geza.Szocs
Hi, Two more questions: 1. Did anyone try to implement HTTP Digest authentication with Axis ? If you did, please give me some hints. The problem is that I have to make a conversation between clinet/server in order to get the necessary values to generate a digest. I can do this if I rewrite HT

AW: String[] as return type

2002-05-23 Thread Kolodziej, Erik
Hi, Do you use a document/literal web service (default in .NET)? Switch to RPC/encoded (attribute SoapRpcService) and it should work. Or let WSDL2Java generate the proxy and data classes. Erik -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet am: Donn

String[] as return type

2002-05-23 Thread kerouac76
Ciao! Hi all! I'm new to axis and web services... so I need some help... I'm trying to implement a client which invokes a remote method returning an array of strings. The server is implemented in .Net At run-time I get the following exception: "org.xml.sax.SAXException: SimpleDeser cannot handl

How do I access a webservice via HTTPS?

2002-05-23 Thread Nuno Guerreiro
Hi, I need to develop a client to access a Web Service via HTTPS. Is it possible to do so in Axis? Or do I have to use JSSE to develop custom code? Many thanks, Nuno Guerreiro __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://lau

Turning back

2002-05-23 Thread Geza.Szocs
Hi, I have a stupid question: is there any way in Axis to turn back (the message flow) from a handler ? This may sound stupid, but look what I want to to: My client sends a message. It goes through a handler, gets to the server, which gives back an error response (let's say unathorized or sm

an access to a MessageContext

2002-05-23 Thread Martin Senger
I haven't got any reply to my question posted earlier as "more services represented by the same class". I am afraid that my question was not clear. So I am trying now in a simpler way: Is there a way how my class, loaded by a normal java:RPC provider, can find in which context it was called?

Re: Question regarding deploying service using deploy.wsdd

2002-05-23 Thread Martin Senger
> > The auto-generated WSDL contains information > (types/portTypes/messages) for all the methods (& their parameters & return > types). How do I prevent this from happening? > The documentation says: "...we could also have restricted the SOAP-accessible methods by using a space or comma separ