Re: SimpleDeserializer problem

2004-12-03 Thread tony . q . weddle
Kibaya, My guess is that you have specified the exchangeRequest message as being of type xsd:anyType and Axis can't do anything except assume that it is a simple type. This means that Axis is expecting no child elements of the RequestSecurityToken element. But you have lots of child elements. As

Re: byte[] incorrectly converted to xsd:byte in wsdl

2004-12-03 Thread WAJSBERG Julien RD-BIZZ
I also have a service returning byte[], and it is correctly serialized as xsd:base64Binary (both in wrapped/literal and rpc/encoded styles) . James Black a écrit : I am using Axis 1.2RC2 and I have a function: public byte[] lookupSelectLocationsString(Item input) ~From the wsdl file I have this:

Client side AXIS without aplication server

2004-12-03 Thread Markus Wahl XA (KC/EMW)
I would like to invoke a web service (reciding on the internet somewhere) from my java program. The web service is produced by the wasp platform. Can I invoke a web service using AXIS without installing or using an AXIS application server? What I would like to do is this: 1. Save the WSDL of

Asynchronous Web Service call possible in Axis?

2004-12-03 Thread Luca Manganelli
Hi, I want to make an asynchronous web service call in Axis. In particular, can call.invoke(...) return an object that will be filled in the future with the webservice's response? There's a way to do call.invoke() and do other computation (without the use of Threads in my source)?

Re: Client side AXIS without application server

2004-12-03 Thread tony . q . weddle
Axis can be used on the client, or the server, or both. So you should have no problem. There is no real installation to do, on the client. Just use the axis.jar file, plus some associated jar files, that come with the distribution, and program as normal. You can either generate client code using

RE: Client side AXIS without aplication server

2004-12-03 Thread Patrick Martin
From what little I know: Yes - there are examples of this on the Sun Site for pure JAX-RPC, and I've found AXIS seems to support this fine. Have look at Chapter 11 in http://java.sun.com/webservices/docs/1.1/tutorial/doc/ And specifically, A Dynamic Proxy Client Example in there. You will

RE: Asynchronous Web Service call possible in Axis?

2004-12-03 Thread Patrick Martin
I'm interested in this too: In org.apache.axis.client.async There is a class AsyncCall and some supporting classes and interfaces. There's a test in test.client :TestAsyncCall which seems to demonstrate a couple of useful techniques. Question: could anyone comment on usage of these classes?

Multiple methods in a single web service (message style)

2004-12-03 Thread Eyad Garelnabi
Hi, Im interested in having the client call one of two (or three) methods that are within the same web service. Im using currently using message style webservices and through the research Ive done so far it seems to me that with message style I cant have multiple methods in a single web

Re: Multiple methods in a single web service (message style)

2004-12-03 Thread WAJSBERG Julien RD-BIZZ
Eyad Garelnabi a crit : Hi, Im interested in having the client call one of two (or three) methods that are within the same web service. Im using currently using message style webservices and through the research Ive done so far it seems to me that with message style I cant have multiple methods

RE: Multiple methods in a single web service (message style)

2004-12-03 Thread Eyad Garelnabi
You mean have a gateway method that would parse the message and then route it to the appropriate method to handle it? Yeah...that would be a way to do it. Isn't there a way to send from the client directly to the required method though? -Original Message- From: WAJSBERG Julien

document style problem

2004-12-03 Thread Madeleine Wright
I'm currently using axis-1_2RC1 and have encountered a behaviour I can't explain. I have been experimenting with the different types of programming styles available in Axis. I have no problem with the RPC default or the wrapped/literal styles but when I use exactly the same wsdd file but

WSDL+Castor+complex schema = design or WSDL2Java issue

2004-12-03 Thread Chris Kelly
I have a doc-lit service that mostly uses WSDL2Java-generated classes. However, for a parameter to one method I use Castor instead of the Axis-generated classes. That parameter is defined in a large (1000+ lines), third-party schema. Let's call that parameter BigParam. To make things easier,

Apache WSS4J's WS Security Implementation - WSS Licensing Requirements?

2004-12-03 Thread Tony Opatha
Hi, It seems that WS Security requires licensing arrangements from Microsoft, Verisign, and IBM based on OASIS WS Security TC IPR statement http://www.oasis-open.org/committees/wss/ipr.php So, can someone please clarify: 1)if the users who to develop and deploy AXIS clients(using WS Security

Re: Apache WSS4J's WS Security Implementation - WSS Licensing Requirements?

2004-12-03 Thread Davanum Srinivas
Tony, Apache has not signed anything with anyone. Thanks, dims On Fri, 3 Dec 2004 13:45:33 -0800 (PST), Tony Opatha [EMAIL PROTECTED] wrote: Hi, It seems that WS Security requires licensing arrangements from Microsoft, Verisign, and IBM based on OASIS WS Security TC IPR

Using custom TrustManager in Apache Axis for Java

2004-12-03 Thread John Maynard
Greetings all, Ive been smashing my head against a wall for the better part of 3 days now trying to get Axis to use a custom TrustManager. I initialize the SSL context (in javas JSSE) with my own list of trusted certs, with no luck. Ive also attempted to implement my own

RE: Using custom TrustManager in Apache Axis for Java

2004-12-03 Thread Rajal Shah
Unfortuntely, I have dont have an answer to your question.. But just wanted to let you know that I hear you.. and were all struggling to get this thingy working without any proper documentation or understanding.. I wish, some of the authors of the Axis modules would respond to basic

RE: Using custom TrustManager in Apache Axis for Java

2004-12-03 Thread John Maynard
Oh no! This is most unfortunate. Has anyone here tried using Javas JAX-RPC? I would assume they use their own SSL contexts. Then I could use this: protected void initFactory() throws IOException { // Create a trust manager that does not validate certificate chains TrustManager[]

RE: Using custom TrustManager in Apache Axis for Java

2004-12-03 Thread Mike Burati
John, I haven't tried this myself, but it sounds like you could use somepainrelief for that head smashing,so I'll throw a couple ideas across the pond (Ames pond that is :-)... Searching on this topic (your own socket factory), I found the following related thread in the archive:

WSDL2JAVA Problem

2004-12-03 Thread Conrad
I am having problems with the following. I have used WSDL2Java to generate client code. I am not able to send a xml document without the following problem. I am sending help/help but the code sends lt;helpgt;lt;/helpgt; here is the code Object part = (Object) help/help; javax.xml.rpc.Service

Getting an IndexOutOfBoundsException

2004-12-03 Thread Kunal Gandhi
Hi I am trying to deploy a Messaging Web Service which communicates with another Web Service using RPC. Following is my Messaging Service code. - public Element[] ReactionSearch(Element [] SOAPElements) { try{ //getting the