RE: Using axis ant task with typed enums

2005-03-01 Thread Ulrich Ackermann
Hi, I tried to follow Paul's advice, but the results weren't as expected: I had no entries of my EnumTest class in the WSDL and WSDD files. My class looked as follows: public class EnumTest implements Serializable { private String value = null; // Constructor protected

WSS4J in WebSphere 5.1.2??????

2005-03-01 Thread anshuk pal chaudhuri
I have a simple Web Service in WebSphere which is working fine. Now I want to secure that service using wss4j UserName Token. I have included the wss4j jar. Then what is the code and way to go ahead to secure the service using the wss4j apis? I have been trying this for a lot many days.But still

Re: Problem with Wrapped Literal style in .NET client

2005-03-01 Thread Murad
Dear Anne, Thanks for your kind response.Following is the service class definition. With this service class I provided two sets of service definitions in the wsdd file which are enclosed below along with their corresponding generated wsdl.Scenario 1 is with the wrapped/literal encoding which

Re: Document/Literal problem with .NET client

2005-03-01 Thread Murad
Dear Dino, Thank you very much for your valuable response.Following is the service class definition.With this service class I provided two sets of service definitions in the wsdd file which are enclosed below along with their corresponding generated wsdl.Scenario 1 is with the document/literal

Using ant task to deploy services

2005-03-01 Thread Koney, Satish
Hi All, Can someone tell me what is the ideal way of deploying a web service using ant task? Following is how I am doing it now: (Each step is a separate task) 1. compile the project and build the war file 2. copy the war file into JBoss server/default/deploy/webapps directory (This is

RE: Using axis ant task with typed enums

2005-03-01 Thread Ulrich Ackermann
Hi, Please forget my last post, forgot to use the EnumTest class in the WS interface... *sigh* Ulrich axis-user@ws.apache.org schrieb am 01.03.05 09:45:22: Hi, I tried to follow Paul's advice, but the results weren't as expected: I had no entries of my EnumTest class in the WSDL and WSDD

RE: Adding a custom handler

2005-03-01 Thread J . Sugrue
Thanks - That worked perfectly. I had made the mistake of extending the wrong handler (BasicHandler) which doesn't seem to appear in the handler chain. Thanks for the solution. James Alick Buckley [EMAIL PROTECTED] 28/02/2005 21:14 Please respond to axis-user@ws.apache.org To

why Axis doesn't preserve Inheritance ?

2005-03-01 Thread babloosony
Hi All, I am using AXIS 1.2 RC2 and trying to expose an EJB as web service with below wsdl which is somewhat handcrafted to support java collections using my custom AXIS (De)Serialzers. -

Re: attachments not getting stored.

2005-03-01 Thread Krthekeyan Suriyanarayanan
Yes I am using SwA. Oteniya Olumide wrote: krthekeyan, Are u using SwA? I would like to know. On Tue, 01 Mar 2005 10:58:16 +0530, Krthekeyan Suriyanarayanan [EMAIL PROTECTED] wrote: HI all, I am trying to send attachments through webservice , When I try to figure out the

Axis2: RPC - Message advantages

2005-03-01 Thread Eugene Prokopiev
Hi, In http://ws.apache.org/axis2/ I read: Another driving force for Axis2 is to move away from RPC oriented Web services towards more document-oriented, message style asynchronous service interactions. Where is adavatages of this approach in case of using HTTP as transport layer? Is this

How to reflect changes made in wsdl

2005-03-01 Thread Terance Dias
Hi, I'm using WSAD5.1.2 and deploying a simple service using IBM websphere v5 runtime. After the wsdl is generated, if I make changes in it, how can I get the service to reflect it? Any help will be appreciated Terance. Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn

Re: why Axis doesn't preserve Inheritance ?

2005-03-01 Thread Eugene Shershnev
It must be complexType/complexContent (you don't have complexContent) Something like this: complexType name=EmailDocument complexContent extension base=tns1:Document sequence element name=sender nillable=true type=xsd:string/ element name=recipient nillable=true

where to put the wsdd

2005-03-01 Thread Paul Thomas
Hi there, To what directory should I deploy the deploy.wsdd file. I am using Tomcat 5.0.28 Thanks a million, Paul

ANNOUNCE: WSABI For Axis v1.0 RC1 has been released

2005-03-01 Thread Mike Barton
Hello Axis Users, WSABI For Axis 1.0 RC1, a new version of the leading open source Web services management (WSM) product has been released. It is now available in source and binary form Source Forge pages at Source Forge. The latest version of WSABI For Axis includes a brand new security

Does there exist a patch for Axis Ant Task 1.1 ?

2005-03-01 Thread Sebastien Mayemba Mbokoso
All is in the title. Because no compatibility between stubs generated by Axis 1.2RC2 and Axis 1.1. I have to use Axis 1.1 Ant Tasks. I noticed i can't use the Ant script i created for Axis 1.2RC2 with the Axis 1.1 Ant Tasks : Java2WSDL: [echo] ==] Generation du WSDL en cours...

newbie: serializing deserializing nested custom object

2005-03-01 Thread fabrizio picca
This is my first post, i'm new to axis, so excuse the eventual oddness of this question. i wanna call a remote service like this setTrigger(hashtable triggerMap,String urlRef,String ipRef) The hashtable triggerMap contains Trigger custom objects. Those Triggers are made of String and another

RE: where to put the wsdd

2005-03-01 Thread Dino Chiesa
I don't think it matters? It is not handled by the server runtime. Instead it is a param you pass to the AXIS AdminClient , so deploy.wsdd needs to be accessible from the command line when you run: $ java org.apache.axis.client.AdminClient deploy.wsdd BUT,(grinding that axe again) if

axis 1.1 Document and Wrapped style work properly?

2005-03-01 Thread Leonardo Ciman
Title: axis 1.1 Document and Wrapped style work properly? In an article (http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-wsstyles.html) I had read that axis doesn't support document and wrapped style: Our Axis walkthrough will travel down several different avenues towards a

Re: axis 1.1 Document and Wrapped style work properly?

2005-03-01 Thread Eugene Shershnev
Title: axis 1.1 Document and Wrapped style work properly? That article is 15 month old :-) - Original Message - From: Leonardo Ciman To: 'axis-user@ws.apache.org' Sent: Tuesday, March 01, 2005 1:00p Subject: axis 1.1 Document and Wrapped style work properly? In

Re: Handmade WSDL?

2005-03-01 Thread Anne Thomas Manes
Ah -- I see. This DataSet is coming from a .NET service (probably generated by ADO.NET), and then stuffed into the SOAP message as a string. Unfortunately, because the string starts with the ?xml declaration, you won't be able to get Axis to process it for you. You are going to have to extract the

Re: axis 1.1 Document and Wrapped style work properly?

2005-03-01 Thread Anne Thomas Manes
Axis 1.1 has very poor support for document/literal. Axis 1.2 is much better. On Tue, 1 Mar 2005 13:38:24 -0500, Eugene Shershnev [EMAIL PROTECTED] wrote: That article is 15 month old :-) - Original Message - From: Leonardo Ciman To: 'axis-user@ws.apache.org' Sent:

Re: Handmade WSDL?

2005-03-01 Thread Elaine Nance
Thank you so very much. I suspected something like this, especially after investigating a well-formed SOAP service (from Melissa Data) and working through the client code generated by WSDL2Java for it. I'm pretty new to all of this so I have to keep looking up everything. And it seems that

Axis Handler tutorial?

2005-03-01 Thread Dan O'Neill
Hi everyone... As you can see from my earlier email I'm having some problems with my Axis handlers. As in every time I call one tomcat decides its wants to be a toaster and leaves without a word of warning. All I get is connection reset! But I think its something I'm doing in the basics thats

Re: Handmade WSDL?

2005-03-01 Thread Airline Pedestal
Hi Anne, Could you provide an example how to extract that? Thanks, A --- Anne Thomas Manes [EMAIL PROTECTED] wrote: Ah -- I see. This DataSet is coming from a .NET service (probably generated by ADO.NET), and then stuffed into the SOAP message as a string. Unfortunately, because the

Doubts on WSDL design

2005-03-01 Thread Ana Carolina Chaves Machado
Hi, I need implement the Web Service using the Document/Literal style (WSDL) based in following Java interface: public class AccessControlFacade { public IServices getInstance(); public User authenticateUser(String login, String password); public boolean authorizeService(User user,

Re: Doubts on WSDL design

2005-03-01 Thread Bill Keese
Hi Ana, You should use an arrays rather than collections. I recommend Document-Literal Wrapped . As per the usual recommendation, you should write your WSDL file first, rather than writing the java classes first as you have done. (Since you have already written java classes, I suggest you

SOAP-Faults/Java Exception Mapping and Handling.

2005-03-01 Thread Brian Abbott
Title: Message Hi, I am wondering how I register in wsdd a Java Exception to be serialized and deserialized by the client and represented as the correct exception type with the correct specific fields on the client side. Thank you, Brian

stub and skelton

2005-03-01 Thread Pavan Kumar Choukhada
hi where do axis use generated stub and skelton. since we just send soap message and it call respective handler and invoke method using reflection. thanks with regards pavan -- Netcore Solutions Pvt. Ltd. Website:

RE: newbie: serializing deserializing nested custom object

2005-03-01 Thread Dino Chiesa
Fabrizio, mi scusi, man non parlo o scritto l'italiano bene. If you look at some of the recent discussion on the axis-user list, you'll see some recommendations such as: 1- stay away from custom collections (such as Hashtable) in web services interfaces 2- define your WSDL first, primo.

RE: Handmade WSDL?

2005-03-01 Thread Dino Chiesa
Don't waste the effort! Instead, fix it at the source. . . -Original Message- From: Airline Pedestal [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 6:29 PM To: axis-user@ws.apache.org; Anne Thomas Manes Subject: Re: Handmade WSDL? Hi Anne, Could you provide an example how

RE: Document/Literal problem with .NET client

2005-03-01 Thread Dino Chiesa
I apologize, what you sent was a bit too much information for me. Maybe this will help. Here's a working example of an AXIS web service that is consumable by a .NET client. The source is available, too. http://dinoch.dyndns.org:7070/axis1.2/AboutCtService.jsp What I did: Started with

RE: stub and skelton

2005-03-01 Thread Shahi, Ashutosh
Pavan, The skeleton code is used at the server for delegating the work to the actual java class. The stubs are used at the client end if u r using static invocation, which I think you r not using, so u can do without them at client. Ashutosh -Original Message- From: Pavan Kumar

Re: object as parameter

2005-03-01 Thread jayachandra
There is Call.registerTypeMapping method. First register your bean to some XMLType QName and then use that XMLType in the addParameter. That should do the job. e.g. /* obtain instances of BeanSerializerFactory and BeanDeserializerFactory as sf and df respecitively */ MyXMLType = new

Handling XML response in SOAP client

2005-03-01 Thread Jaidev Nair
Hi All, I have a small problem with my code. Can any one tell me how to create a SOAP client using axis which gets a response from a remote server in XML fromat.I mean my request is in String but the response given by the service is in XML with the content which is double. How can i retreive

Re: Doubts on beanMapping

2005-03-01 Thread jayachandra
Even though AdminClient replies back saying processingDone PRocessing/processing deployment may not be successful. I'd suggest you look into the Tomcat logs directory %CATALINA_HOME%/logs and open the log corresponding to the appropriate date. There you would see the detailed server side error

Using Axis to wrap an XML response in it's required class

2005-03-01 Thread Matt Robinson
Hello. I am interacting with a .NET based web service and have used the Apache Axis WSDL2Java emitter to generate the required classes. One of the operations (authenticate) takes a user and password and returns a string. However this string is actually XML that describes a User Profile,

Re: Axis2: RPC - Message advantages

2005-03-01 Thread Eugene Prokopiev
I am not much sure about what you mean; anyway I will try Sorry for my english ;) I try to know about SOAP and Axis evolution and about reasons of it Another driving force for Axis2 is to move away from RPC oriented Web services towards more document-oriented, message style asynchronous service

any exp. to share w.r.t custom types that use inheritance

2005-03-01 Thread babloosony
Hi All, Does anybody have experiences to share regarding using custom types that includes inheritance (java extends keyword) handling and java Collections handling may be using custom AXIS (De)Serializers that can use Castor,JiBX,JAXB in POJO/EJB to be exposed as document literal style web

Re: ANNOUNCE : Axis 1.2 Release Candidate 3

2005-03-01 Thread Dennis Sosnoski
It looks like the servlet no longer creates a server-config.wsdd the first time it's run - you have to actually deploy a service using the Admin tool in order to get this generated. Many developers have been using the shortcut of modifying the server-config.wsdd file directly to include their