SV: Deploying Providers ?

2003-11-13 Thread Uwe Kubosch
Hey, it worked! Thanks a lot! donV > -Opprinnelig melding- > Fra: Thomas Bayer [mailto:[EMAIL PROTECTED] > Sendt: 12. november 2003 16:43 > Til: [EMAIL PROTECTED] > Emne: AW: Deploying Providers ? > > > Hi, > > Axis supports also plugable Providers. New Providers could be > used with

Install/Deploy Axis 1.1 under WebSphere 5

2003-11-13 Thread Herman Susantio
Dear all, I've just started exploring Apache Axis 1.1 with Tomcat 4.X. Now, for production, we will be using IBM WebSphere 5.0 my questions are : 1. I read it somewhere that IBM WebSphere came built in with Axis 1.0 But after installing WebSphere , I couldn;t find it anywhere, eg :axis.jar i

RE: Install/Deploy Axis 1.1 under WebSphere 5

2003-11-13 Thread Leo de Blaauw
Title: RE: Install/Deploy Axis 1.1 under WebSphere 5 Hi, 1. I read it somewhere that IBM WebSphere came built in with Axis 1.0    But after installing WebSphere , I couldn;t find it anywhere, eg :axis.jar    is it really there or did I miss out something during installation ? Not true, IBM

RE: Install/Deploy Axis 1.1 under WebSphere 5

2003-11-13 Thread Herman Susantio
Title: RE: Install/Deploy Axis 1.1 under WebSphere 5 Hi Leo,   Thanks for the reply. If I wanted to run SOAP server inside IBM HTTP Server, can I just follow as you have suggested ?   I'm not familiar with IBM HTTP Server, how do we make web application ? is it ju

RE: Install/Deploy Axis 1.1 under WebSphere 5

2003-11-13 Thread Leo de Blaauw
Title: RE: Install/Deploy Axis 1.1 under WebSphere 5 Hi,     Thanks for the reply. If I wanted to run SOAP server inside IBM HTTP Server, can I just follow as you have suggested ?   You cant basically the http server is just that and an http server, no

RE: problems

2003-11-13 Thread Wolfgang Vullhorst
This problem was already posted yesterday. Please read the mailing list archive for further info. > -Ursprungliche Nachricht- > Von: Pradeep Jonnalagadda [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 12. November 2003 20:42 > An: [EMAIL PROTECTED] > Betreff: RE: problems > > > > Thanks a

Intermediary node

2003-11-13 Thread Borut Bolcina
Hi, again since I had no luck, nobody answered to my question posted a month ago (subject WebServices chaining), i'll try again. Can you please help me understand just how can one implement this 'simple' scenario. CLIENT ---> INTERMEDIARY ---> ENDPOINT Many clients will connect with differe

Re: Changing the flow of SOAP

2003-11-13 Thread Mark
Chris Thanks for your reply. Basically I want to do the last two " the invocation of an alternative Java class as theservice endpoint  and calling an alternative method on the registeredservice endpoint class " Pls point me to any code samples..TIA Mark   Mark -It depends at what level you would li

AW: Intermediary node

2003-11-13 Thread Wolfgang Vullhorst
Hi, am a bit confused by some of your statements. Perhaps you can help me with that... Wolfgang Borut Bolcina [mailto:[EMAIL PROTECTED] wrote: > > Hi, again > > since I had no luck, nobody answered to my question posted a > month ago > (subject WebServices chaining), i'll try again. > > > > Can

DOCUMENT LITERAL and Java2WSDL error - Attempted to write schema for bad QName (no namespace) : fault

2003-11-13 Thread Stuart Barlow
I have just come across the bad QName error when trying to create a DOCUMENT/LITERAL service using AXIS and Java2WSDL... Attempted to write schema for bad QName (no namespace) : fault Is there a workaround? I could not see a mention of any in the mailing list. Or will I need to wait for a 1.2 rele

RE: [URGENT] Call.invoke() always returns null

2003-11-13 Thread Lukas Bradley
I apologize for bothering the AXIS group.  It was a PHP problem.   The register method should have been.   $s->register(   'queryLogin',   array('accesspassword'=>'string','username'=>'string','password'=>'string'),   array('queryLoginResult'=>'xsd:string'),   $NAMESPACE);   L

RE: problems

2003-11-13 Thread asif . jiwani
Title: RE: problems Are you using Castor? I had the same problem when trying to use it with Castor, haven't had a resolution yet. I am looking into it; there was a bug id (17439) created for it a while back. If you have found a solution please let us know. I suspect we are missing some castor

RE: Usage with WSAD5.1

2003-11-13 Thread asif . jiwani
Title: RE: Usage with WSAD5.1 Look at these responses. Make sure to restart your server after deploying the service. http://marc.theaimsgroup.com/?l=axis-user&m=105722046600432&w=2 http://marc.theaimsgroup.com/?l=axis-user&m=105672058600755&w=2 -Original Message- From: Pradeep Jo

RE: Install/Deploy Axis 1.1 under WebSphere 5

2003-11-13 Thread asif . jiwani
Title: RE: Install/Deploy Axis 1.1 under WebSphere 5 Read the following post, this should help you. http://marc.theaimsgroup.com/?l=axis-user&m=105672058600755&w=2 -Original Message- From: Herman Susantio [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 13, 2003 2:17 AM To: [EM

AW: problems

2003-11-13 Thread Wolfgang Vullhorst
Hi, I will have a closer look at this problem in a few hours. I don't think that classes are missing as in the code one can read that missing classes result in a ClassNotFoundException. Wolfgang

Connection refused

2003-11-13 Thread Rosén Håkan
Hi, I have deployed a axis-service in Tomcat and written a small java-client that connects and calls methods in the service. This works fine when I run the client on my local machine, but when I try to run it from another machine the connection is refused, have I missed something here ? this is wh

RE: Connection refused

2003-11-13 Thread Thompson, Eugene
When you created the service, what did you specify for the location (-l param of the Java2WSDL call)? If it is localhost, the client code is probably looking for the service on the same machine (not where it is running). Look in the XXXServiceLocator.java file and set the XXXaddress member accordin

Re: Connection refused

2003-11-13 Thread Christoph Tratter
Hi Håkan! Have you created the stub using WSDL2Java? Then maybe the problem is that in the WSDL-file there's something like: http://localhost:8080/axis/services/HakansService"; /> By letting WSDL2Java create the stubs automatically, then of course the location in s

Perl vs Axis

2003-11-13 Thread Rosén Håkan
I've just started to modify a web application so that parts can be accessed thru Axis, now a collegue want´s to write the gui in Perl. Is this possible and where can I get more information regards /Håkan

RE: problems

2003-11-13 Thread Pradeep Jonnalagadda
Guys, I found the answer to below problem. Very simple i downloaded castor jar from castor website and included it in the class path. pradeep. This is a PRIVATE message. If you are not the inten

RE: Axis

2003-11-13 Thread PARLEY,THUNDER (HP-MountainView,ex1)
Hola: En su WEB-INF/server-config.wsdd en caribe.udea.edu.co:9090 necesita: http://xml.apache.org/axis/wsdd/ --Thunder PS En el futuro, utilice solamente el inglés. -Original Message- From: Administrador Servicios Web Educativos [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: Perl vs Axis

2003-11-13 Thread Anne Thomas Manes
See http://www.soaplite.com/ At 10:24 AM 11/13/2003, you wrote: I've just started to modify a web application so that parts can be accessed thru Axis, now a collegue want´s to write the gui in Perl. Is this possible and where can I get more information regards /Håkan

Re: Perl vs Axis

2003-11-13 Thread alex
[EMAIL PROTECTED] wrote: > I've just started to modify a web application so that parts can be = > accessed thru Axis, > now a collegue want´s to write the gui in Perl. > Is this possible and where can I get more information Axis is a SOAP server right? and accessing SOAP in perl is easy - so just

Authentication (was RE: Services sharing same session)

2003-11-13 Thread chris
Andre - authentication is orthogonal to session management You may choose to secure the web service in the same manner as normal web applications. Axis does have an authentication plug-point that may be used to hook in a specific *application-level* security mechanisms for authorization and a

RE: Changing the flow of SOAP

2003-11-13 Thread chris
Mark –   Changing the service class could be performed by either a custom provider, or, re-mapping the service information via a handler.   If using a custom provider:   Because there is currently a one-to-one relationship between the service object and the service endpoint class (See

RE: Usage with WSAD5.1

2003-11-13 Thread Pradeep Jonnalagadda
i want to do this bcos wsad 5.1 does not support axis1.1 which has support for castor This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by

Re: Install/Deploy Axis 1.1 under WebSphere 5

2003-11-13 Thread matthew_f_hamburger
Herman, One way to do this is by deploying an EAR to Websphere 5.0. 1. Create a war. 2. Put the Axis jars in the war in WEB-INF\lib 3. Put server-confi.wsdd in web-inf in the war. 4. Add the axis classes to your web.xml as in the attached web.xml. 5. Make an EAR containing your war. 6. Deploy

Client accessing MessageContext?

2003-11-13 Thread Greg Hess
Hi All,   Can anyone provide me with an example of a client reading an attachment by hand. My service does not expose DataHandlers in the method signature and just adds/receives the attachments by hand.   I have followed the Fear Of Attachments example in the implementation. All is work

How to define document/literal service with multiple operations

2003-11-13 Thread Michael Woinoski
How can I define a document/literal service with multiple operations? Because there's no wrapper element around the input message parts, Axis seems to have a problem invoking the correct service method. If I add a value for SOAPAction in the service's binding, the client stubs set SOAPAction in

RE: How to define document/literal service with multiple operatio ns

2003-11-13 Thread PILLAI,RANJITH (HP-PaloAlto,ex1)
Hi Michael, I hope you are using Message style service here. I don't how to add this to axis client. But u can edit your SOAP message directly if you are using tcpmon. So in tcpmon add another element(your operation name)directly under soap body. For some reason axis client is not doing this(if yo

RE: Client accessing MessageContext?

2003-11-13 Thread I-Sampige, Srinivas
Well, I am doing a similar thing..my code for receiving attachments works - Client snippet... String[] array = new String[1]; array[0] = "hello"; org.apache.axis.MessageContext messageContext = call.getMessageContext(); org.apache.axis.Message currentMessag

RE: Chris, the example doesn't work, why?

2003-11-13 Thread Yan Lin
Hi, Chris, I tried to use the example you gave out and it didn't work. I always got NullPointerException from line "Long oId = getSessionId(oCqServiceLocator);" because there is no session id ever set. Do you know what possible caused the problem? Thanks! Gloria

MessageContext doesn't work at client side?

2003-11-13 Thread Yan Lin
Hi, I have created a service and successfully deployed. At client side, I created a ClientMain.java which only contains a "main" method for the purpose of testing. I tried to use "MessageContext.getCurrentContext()", but I always get NullPointerException. Does MessageContext only exist with

RE: How to define document/literal service with multiple operations

2003-11-13 Thread Keith Bohnenberger
With document/literal web services you need to define your schema in such a way that the "wrapper" element or root element will lead you to the business function. So you are not just defining the data that needs to be sent but also a wrapper element that suggests the operation to be performed. Rea

Re: How to define document/literal service with multiple operatio ns

2003-11-13 Thread Michael Woinoski
Hi, Ranjith. What you are suggesting is basically an rpc-literal operation. Several postings to this list have mentioned that rpc-literal is not (yet) supported by all Web service implementations (even though it is recommended in the WS-I Basic Profile), so I'd prefer to avoid rpc-literal for in

RE: How to define document/literal service with multiple operatio ns

2003-11-13 Thread PILLAI,RANJITH (HP-PaloAlto,ex1)
Hi Michael, I didn't suggest it for rpc/literal operation. I meant Document/Literal(Message Style in axis). The operation name should match wrapper element name for successful invocation of web service methods. Thanks, Ranjith Pillai. -Original Message- From: Michael Woinoski [mailto:[E

Re: How to define document/literal service with multiple operations

2003-11-13 Thread Michael Woinoski
Keith, With document/literal web services you need to define your schema in such a way that the "wrapper" element or root element will lead you to the business function. So you are not just defining the data that needs to be sent but also a wrapper element that suggests the operation to be perform

RE: How to define document/literal service with multiple operatio ns

2003-11-13 Thread PILLAI,RANJITH (HP-PaloAlto,ex1)
Hi Mike, If I am right, wrapper element around your actual document is not specific to Axis. That is the way Weblogic also works, Weblogic determines which method to invoke, based on this wrapper element (root element of your xml payload). Thanks, Ranjith Pillai. -Original Message-

RE: How to define document/literal service with multiple operations

2003-11-13 Thread Keith Bohnenberger
Mike, I agree with all of your points. I dont understand web services well enough yet so this question may be a lame one. The SOAPAction is in the WSDL. How does that translate to the actual SOAP message that is being sent over the wire? My uneducated guess is that it doesn't. My guess is that

RE: How to define document/literal service with multiple operatio ns

2003-11-13 Thread Keith Bohnenberger
Mike, Can you cut and paste the part of the WS-I profile that recommends RPC/literal? I missed that when I read it. Its interesting that the JAX-RPC spec says that an implementation may support RPC/literal but doesnt have to. That right there would be enough for me to never implement RPC/litera

Re: How to define document/literal service with multiple operatio ns

2003-11-13 Thread Michael Woinoski
Hi, Ranjith. Actually, I don't think document/literal and message-style are exactly equivalent. Document/literal is defined by the WSDL spec and is general term that applies to all web services, whether implemented with Axis, JWSDP, .NET, etc. Message-style is an Axis-specific technique for hand

Setting SOAP:Header in Doc/Literal service

2003-11-13 Thread Mehta, Saurabh
Currently, I am trying to consume a service using WSDL2Java tool in Axis. We have a document based service using EbXML Message. We have certain authentication details that we send through the SOAP Headers. However, I could not find a way to set the SOAP:Headers in the generated Proxy class when

How to kill a session?

2003-11-13 Thread Cassio
Hi, I would like to know if there is a method inside Axis that kills a session, with the session id (JSESSIONID) as parameter? So that the client can't use this cookie anymore... Thanks, Cassio

Re: How to define document/literal service with multiple operatio ns

2003-11-13 Thread Michael Woinoski
Keith, Can you cut and paste the part of the WS-I profile that recommends RPC/literal? I missed that when I read it. R2705 A wsdl:binding in a DESCRIPTION MUST use either be a rpc-literal binding or a document-literal binding. I should have said "the WS-I Basic Profile forbids rpc-enco

Re: How to define document/literal service with multiple operatio ns

2003-11-13 Thread Michael Woinoski
Hi, Ranjith. If I am right, wrapper element around your actual document is not specific to Axis. That is the way Weblogic also works, Weblogic determines which method to invoke, based on this wrapper element (root element of your xml payload). You're right, but it would nice to have an alternati

RE: Install/Deploy Axis 1.1 under WebSphere 5

2003-11-13 Thread Herman Susantio
Thanks Matthew, I have just confirmed my requirement, we wanted to have SOAP server at web server side, which will be using IBM HTTP Server, I remembered when we deployod Axis into Apache Tomcat, we only need to modify one configuration file, server.xml can we just do similiar thing with IBM HTT

Re: How to define document/literal service with multiple operations

2003-11-13 Thread Michael Woinoski
Keith, I agree with all of your points. I dont understand web services well enough yet so this question may be a lame one. The SOAPAction is in the WSDL. How does that translate to the actual SOAP message that is being sent over the wire? The soapAction attribute value in the WSDL is the value

Re: How to define document/literal service with multiple operations

2003-11-13 Thread Michael Woinoski
The plot thickens...after poking around in the source, I found where the AxisServlet stores the SOAPAction value: org.apache.axis.transport.http.AxisServlet.java, line 835: soapAction = getSoapAction(req); if (soapAction != null) { msgContext.setUseSOAPAction(true); msgC

Re : How to define document/literal service with multiple operations

2003-11-13 Thread Dimuthu Leelarathne
Hi Mike, You are correct in saying that "there's no wrapper element around the input message parts". The "message part" should be the immediate child element of the SOAPBody. You are also right in saynig that there is no way of mapping between "message part" and method. Axis solve this problem u

Re: problems

2003-11-13 Thread Dimuthu Leelarathne
Hi Pradeep, Have you set the class path correct? I get this error when I have not set the classpath correctly. Regards, Dimuthu. -- Lanka Software Foundation http://www.opensource.lk > Hi Guys, > I'm trying to change the server-config.wsdd with the > deploy.wsdd by running admin

Re: AW: Intermediary node

2003-11-13 Thread Dimuthu Leelarathne
Hi Bob, I would like to comment on the following line. CLIENT ---> INTERMEDIARY ---> ENDPOINT Are you talking about the "INTERMEDIARY" mentioned in the SOAP specification? We (myself and my team mates) had a long discussion \ arguments on this matter few months back. The question was What is t

Connection refused-Server is up and running

2003-11-13 Thread Pradeep Jonnalagadda
Could any one tell how to deal with connection refused exception. I have searched the mailing list archive but of no use.Any insights would be of great help I'm able to goto my end point http://localhost:9080/axis/services/StockQuoteSOAPPort on the browser. But when i wrote the client code

Re: Connection refused-Server is up and running

2003-11-13 Thread Pradeep Jonnalagadda
Guys, I solved this problem by changing the end point url in StockQuoteServiceLocator. pradeep. This is a PRIVATE message. If you are not the intended recipient, please delete without copying an

Re: How to define document/literal service with multiple operatio ns

2003-11-13 Thread Aleksander Slominski
Keith Bohnenberger wrote: It seems to me that the SOAP spec needs a SOAPOperation part that loosely (more loosely than rpc with methods and parameters but tighter than the "wrapper" element convention that is not defined anywhere). The SOAPOperation section of the SOAP message would provide the op

Re: How to define document/literal service with multiple operations

2003-11-13 Thread Dimuthu Leelarathne
Hi Mike, No it's not less sleep, or more coffee, or anything else :-). Correct me if I am wrong, but I am under the impression that axis does not use SOAP action at all when invoking a service. If someone wants to use doc\literal service to have multiple operations he has to explicity map the op