Re: Axis 1.2 with doc/lit implementation

2005-05-24 Thread jayachandra
Hi Anne! Yeah! wrap/lit can be a solution, but... What do you think about Axis's doc/lit wsdl generation. Is it doing it right? For what use case does Axis generate the doc/lit wsdl in such a fashion that it is generating currently? Do you see some scope to better it? If yes, what kind of bettermen

Complex datatypes in SOAP-based Web services (help please)

2005-05-24 Thread Omar Bennani
hi i have to call a service with a complex type in parameter and the same in return ho can i do ? call.addparameter() ? call.setReturnType() ? _ Découvrez le nouveau Yahoo! Mail : 1 Go

Problem in collection with subclasses

2005-05-24 Thread Rafael Ribeiro
Hi, I have a class that I am sending it from the client to the server using axis. The problem is, that class has a Set with a Class or Subclasses of it. When the class gets deserialized all the instances are changed for the same (base) class. Does anyone knows any way I can make Axis serialize each

Re: Axis 1.2 with doc/lit implementation

2005-05-24 Thread Anne Thomas Manes
If you want to interoperate with.NET, then you want to use the wrapped convention (Axis WSDD style="wrapped"). It generates document/literal, and automatically creates the wrapper element that wraps your multiple input parameters. Anne On 5/24/05, Henry Lu <[EMAIL PROTECTED]> wrote: > Here is th

Complex datatypes in SOAP-based Web services

2005-05-24 Thread Omar Bennani
hi i have to call a service with a complex type parameter (customer) how can i do: call.addParameter("o", customer,ParameterMode.IN); _ Découvrez le nouveau Yahoo! Mail : 1 Go d'e

multiRef namespace question

2005-05-24 Thread Mark Ford
In my application, I am deserializing the incoming RPC encoded messages into a DOM and then validating the DOM against the schema. I'm not using any generated code in this process, rather I register a custom deserializer to handle complex types and produce a Document. My problem is that validatio

Basic Authentication

2005-05-24 Thread Jyothishree Honnavalli
Hi,        I’m trying to access Microsoft sharepoint webservice  from an axis client. I need to authenticate using Basic /NTLM authentication. I’m trying to set username and password     call.setUsername("username");     call.setPassword("passwd");   I also tried –  

Some Questions Regarding Wrapped Literal and Axis

2005-05-24 Thread Sagar Pidaparthi
Hi, I have a few questions and would appreciate answers from any one. When I use Wrapped Literal in Axis 1.2, after I generate wsdl using jav2wsdl and run wsdl2java, the deploy.wsdd file contains classes with Method names of the service. It is possible for me deploy my service, if I delete thes

RE: HttpSession argument

2005-05-24 Thread Michael Oliver
I chose the wrapper route and it was fairly straight forward. My wrapper had all the same methods as the target class, but instead of the HttpSession sess, argument of the target class methods, I exposed public methods with (Object httpSession, ...) methods which the Java2WSDL and WSDL2Java utilit

Invitation to join the Web Services Discussion Forum

2005-05-24 Thread John Eliacy
Dear Madam/Sir,We, a group of enthusiastic web services developers and researchers, have started a new discussion forum at http://www.ws-talk.com to bring together academics and industry people interested in the subject of Web Services and related technologies, such as agents, distributed architec

Client .Net for AXIS (provider-MSG)

2005-05-24 Thread Pippo Plutone
Hi all, I want to create a client .Net that it uses an web service Axis (provider="java:MSG" style="document" use="literal"). The method of web service is: public Document echoDocument(Document doc) throws RemoteException { return doc; } I've searched everywhere but nothing. Can you

Error in deserialization

2005-05-24 Thread Plorks mail
Hi all I'm trying to access an external web service and get the error on call.invoke Error in deserialization : failed deserializing value of type {http://www.api.org/schema/par/common/v1_0}EndUserIdentifier into class org.api.www.par.common.EndUserIdentifier Can anyone tell me what this me

HttpSession argument

2005-05-24 Thread Michael Oliver
I have a class that I want to build a web service around, and it has some methods that have an HttpSession argument. The Java2WSDL works fine but the WSDL2Java complains that HttpSession is referenced but not defined. Q1 - Can WSDL2Java handle an HttpSession argument to a method? Q2 - If so, i

Re: java.net.SocketTimeoutException: Read timed out

2005-05-24 Thread Henry Lu
(http://www.xmethods.net/sd/2001/BabelFishService.wsdl) String endpoint = "http://services.xmethods.net:80/perl/soaplite.cgi";; Look, you have two different url. -Henry >>> [EMAIL PROTECTED] 5/24/2005 10:45:36 AM >>> Dear All, Every call i try to make to an extenal web service i get the er

java.net.SocketTimeoutException: Read timed out

2005-05-24 Thread Plorks mail
Dear All, Every call i try to make to an extenal web service i get the error java.net.SocketTimeoutException: Read timed out Is anyone able to expalin this to me Do i need to set some timeouts, if so where do i set them? Code is from an example (http://www.xmethods.net/sd/2001/BabelFishSer

Re: Axis 1.2 with doc/lit implementation

2005-05-24 Thread Henry Lu
Here is the wsdl file generated by .NET with the same interface: http://schemas.xmlsoap.org/wsdl/http/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:s0="http://tempuri.org/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns

RE: Axis 1.2 with doc/lit implementation

2005-05-24 Thread Henry Lu
It is not a good idea to manually change the wsdl file in that way. I think Axis develop team should fix this bug ASAP. -Henry >>> [EMAIL PROTECTED] 5/24/2005 9:59:21 AM >>> Hi Henry I don't think the java2WSDL properly generates document/literal WSDL in Axis 1.1, but I haven't tried this in 1.

RE: Axis 1.2 with doc/lit implementation

2005-05-24 Thread Harrison Tim
Title: RE: Axis 1.2 with doc/lit implementation Hi Henry I don't think the java2WSDL properly generates document/literal WSDL in  Axis 1.1, but I haven't tried this in 1.2. I have always needed to edit the WSDL output, change the style/encoding and use a single complex type as the request a

Re: Axis 1.2 with doc/lit implementation

2005-05-24 Thread jayachandra
Hi Henry! Can you point to the jira issue number, if you logged one. I'll see if I can help the Axis team with my effort. It will expedite the whole process if you can attach the .NET generated wsdl for the said interface in your reply (if it's already attached at the jira site then no need). Than

Re: Axis 1.2 with doc/lit implementation

2005-05-24 Thread Henry Lu
You are right. But if you look at the wsdl file generated by the java2wsdl of Axis1.2, it still comes out with multiple parts. If you look at a wsdl file generated by .NET from the same interface, it implements correctly. I'd raised this issue for years and put it in the request a couple of times

Re: Axis 1.2 with doc/lit implementation

2005-05-24 Thread jayachandra
Hi Henry! I remember once there was a long discussion (around 3months back) about this thing (Thanks to Anne's several informative inputs). In a nutshell the conclusion as I remember it is that... if you want to publish your service as doc/lit you shouldn't have method signatures that accept more t

Axis 1.2 with doc/lit implementation

2005-05-24 Thread Henry Lu
Is there any one can implement the following interface with server/client examples with style/use of DOC/Lit in AXIS 1.2? public interface Echo { public String echoString(String arg); public String echoString_double(String arg1, String arg2); } I got the following result: echoString(Str

RE: axis + vb .net

2005-05-24 Thread Henry Lu
And also, AXIS 1.2 stil has bug in the doc/lit implementation not fixed yet. -Henry >>> [EMAIL PROTECTED] 5/24/2005 9:08:03 AM >>> I am using Axis 1.2 and ran into a problem similar to this. I figured out that Visual Studio .NET does not understand the Version 1.2 type mapping. What I found work

RE: axis + vb .net

2005-05-24 Thread Henry Lu
There are something you need to know before coding: 1. in .NET, defult use/style is Doc/Lit. 2. in Axis, defule is rpc/encoding. If you want to comunicate between two, you have to make sure both style and use must be matched. -Henry >>> [EMAIL PROTECTED] 5/24/2005 9:08:03 AM >>> I am using Axis

RE: axis + vb .net

2005-05-24 Thread Grimm_Clifford
I am using Axis 1.2 and ran into a problem similar to this. I figured out that Visual Studio .NET does not understand the Version 1.2 type mapping. What I found worked is to change the deploy.wsdd so that the typeMappingVerison is 1.1. For example. I'm not sure if something else needs to

axis and JAAS

2005-05-24 Thread BVG
Hi there, I have a problem with Axis when I'm in a JAAS module. When I invoke a Web Service call I get a CastClassException. If I call a Web Service out of the JAAS module, everything works fine. Now, I must call the Authentication Web Service in the JAAS module, how it can be done? :( When I

AW: (405) Method not allowed

2005-05-24 Thread Ferruh Zamangoer
Sorry for the empty mail :=) I'am not sure, but it sounds like that you have deployed your service wrong. How have you deployed your service. Look at your .wsdd File under allowedMethods if you choose * and deploy your service every method is available for every client call. Reg

AW: (405) Method not allowed

2005-05-24 Thread Ferruh Zamangoer
-Ursprüngliche Nachricht- Von: Plorks mail [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 24. Mai 2005 11:55 An: axis-user@ws.apache.org Betreff: (405) Method not allowed Dear All, I'm trying to call a method from an external web service using this code But i get the error (405) Met

(405) Method not allowed

2005-05-24 Thread Plorks mail
Dear All, I'm trying to call a method from an external web service using this code But i get the error (405) Method not allowed Is anyone able to tell me what this error means, can anyone see anything wrong with my code Many thanks or your help String a = "12345" String b = "12345" in

Reading DIME response problem in no wait mode!

2005-05-24 Thread Alessandro Busato
Hello, I've made a client to webservice for calling a method which return value is a file (i.e. wsdl base64binary definition) . The file has been returned in a dime encapsulation way using http1.1 chunked mode (in the soap body the response element has the refs to dime attachment). The client (u

axis + vb .net

2005-05-24 Thread Pippo Plutone
Hi all, I have a problem when I using AXIS with client VB .Net. I have a web service with AXIS (provider="java:RPC") and a client VB .Net; it works while when I have a web service with AXIS (provider="java:MSG" style="document" use="literal") with a client VB .Net I have a problem: “An unhand