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 En

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 I

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 gives

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 enc

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 fi

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 axis-u

Re: attachments not getting stored.

2005-03-01 Thread Oteniya Olumide
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 receipt of attachment file . I am getting the data from > cl

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. - htt

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 recei

ws-security

2005-03-01 Thread Daniela CLARO
Hello,  I am to know if anybody knows any example that works with ws-security with Axis? Where can I find it?   Thank you Daniela

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 approac

Connection reset in Axis?

2005-03-01 Thread Dan O'Neill
I'm really sorry about this email but I've hit a brick wall and can't get past. First off I'm using Axis 1.2RC with tomcat 4.1.31. I have a test system that communicates with a service and thats all it does. But theres a handler thats invoked when the service is invoked. This handler then makes a

Weak-Typed Collections and .Net, got it!

2005-03-01 Thread Muhammad Alsebaeyie
Hi, I had a specific problem that I wanted to make an axis service that sends a complex object containing weak-typed collections, specifically java.util.Set and java.util.List... I needed the service to interoperate with .Net and I had no control over the class structure. Everything I read said

RE: ws-security

2005-03-01 Thread Daniela CLARO
One more question... How can I encrypt the soap header in order to guarantee the encryption between soap message, from a client requisition to a web service.  Can I do that using W3C Enc?   Thank you again Daniela

RE: "no serializer found" when using custom serializer problems

2005-03-01 Thread Jay Glanville
I changed my server-config.wsdd to the following: testing of service functionality http://test.admin.epi.slt.nci.com"; languageSpecificType="java:com.nci.slt.epi.admin.test.Obj" serializer="com.nci.slt.epi.admin.te

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. Lea

RE: java stand-alone axis client

2005-03-01 Thread JR Ruggentaler
For very small Web service client that interoperates with Axis you may want to consider kSoap. KSoap seems to be a good choice for J2ME and works on J2SE. The jar is about 100k and contains everything. http://ksoap.objectweb.org/ J.R. -Original Message- From: Kevin Duffey [mailto:[EMAI

ANNOUNCE : Axis 1.2 Release Candidate 3

2005-03-01 Thread Glen Daniels
Hi all: The Axis team would like to announce the release of Axis 1.2's third (and final) Release Candidate. This will be the LAST RC before 1.2 goes out. We expect to cut the final release in about a week's time (March 9th-10th). This release has passed the JAX-RPC and SAAJ TCKs (barring a cou

RE: ANNOUNCE : Axis 1.2 Release Candidate 3

2005-03-01 Thread Ephemeris Lappis
Hello, Axis Team ! I had reported some bugs few months ago (all about document/literal style). Since i have had no notification from JIRA about these issues, should somebody confirm that they are all fixed in this very new version. In this case, closing fixed issue should help all the community...

RE: ANNOUNCE : Axis 1.2 Release Candidate 3

2005-03-01 Thread Jay Glanville
Glen & Axis development team. If I could make a minor suggestion: could you put the changelog.html file in the binary distribution? The release-notes.html file has a link to the changelog.html file, but apparently that's only distributed with the src distribution. JDG > -Original Message---

Re: How to reflect changes made in wsdl

2005-03-01 Thread Terance Dias
Hi, I have a wsdl that looks something like this:   xml version="1.0" encoding="UTF-8"?>

RE: "no serializer found" when using custom serializer problems

2005-03-01 Thread Airline Pedestal
Which method are you calling? getObjs? getObj? getObjs doesn't return Obj. maybe that's the problem? --- Jay Glanville <[EMAIL PROTECTED]> wrote: > I changed my server-config.wsdd to the following: > style="rpc"> > > testing of service functionality > >

RE: Dime Attachments

2005-03-01 Thread Shawn Konopinsky
Is there anything special which has to be done at the client end to receive DIME attachments (in comparison to what is done to get MIME attachments)? Shawn. > -Original Message- > From: Flores, Raul [mailto:[EMAIL PROTECTED] > Sent: Monday, February 28, 2005 5:16 PM > To: axis-user@ws.apa

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: - Original Message - From: "babloosony" <[EMAIL PROTECTED]> To: ; Sent: Tuesday, March 01, 2005 7:02a Subject: why Axis doesn't preserve Inherita

error when trying to connect to ws generated using axis

2005-03-01 Thread Paul Thomas
Hi there, this is my first mail to the list, so please forgive me if this is old hack. I’m a bit green behind the ears when it comes to this mailing list.   The story is that I am receiving the following error when I try to connect to my web service. The error is the following:   [Axis

RE: "no serializer found" when using custom serializer problems

2005-03-01 Thread Jay Glanville
It doesn't matter witch method I call. I've tried both methods using both http://jglanville01/webadmin/services/test?method=getObj&i=1 for getObj(int) and http://jglanville01/webadmin/services/test?method=getObjs for getObjs(), and both times, I get the "no serializable found" error. Thanks JDG

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

Dime and WSDL

2005-03-01 Thread Shawn Konopinsky
Right now I have a SOAP service where the user is able to request the attachment type (MIME vs DIME), via the soap call, that data should be sent back as. When the user requests the MIME attachment, it works without any problem. When the user requests DIME attachment, the attachment seems to be cr

Re : Using ant task to deploy services

2005-03-01 Thread Sebastien Mayemba Mbokoso
While deploying a war on JBoss, if your war doesn't contain a server-config.wdd, Axis engine creates it automatically in its tmp directories. So deploy all your web services. Then copy the server-config.wsdd generated in your WEB-INF. Repackage your war and redeploy it in Jboss. On Tue, 1 Mar 2005

object as parameter

2005-03-01 Thread Suzy Fynes
  Hi,   Can anyone tell if there is a different approach to adding a java bean (simple types) as a parameter for an axis web service using a java client.   For strings and ints the following is used   call.addParameter("name", XMLType.XSD_STRING, ParameterMode.IN);   what would be

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 modul

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 c

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 aga

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 document/l

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 a

Re: Handmade WSDL?

2005-03-01 Thread Elaine Nance
Thanks for the input, I truly, truly appreciate the help. I am working on setting up the client as an Axis app so I can use the tcpmon and capture the SOAP streams. (So far I've pretty much been using the command-line.) When I get it up I'll post the message with SOAP headers and all. ITMT, h

Document Based Dynamic Client with complex Types

2005-03-01 Thread Kiran Devaram
Hi All, I just downloaded Axis 1.1 and was browsing the samples. I find the DynamicInvoker.java which works fine for a simple type document based services. But, I was wondering if there is a sample implementation for a complexType input/output to a document based web service where in the client ta

Re: Dime Attachments

2005-03-01 Thread Jim Collins
Hi Raul, Could you please post the client code as well. Thanks Jim. - Original Message - From: "Flores, Raul" <[EMAIL PROTECTED]> To: Sent: Monday, February 28, 2005 10:15 PM Subject: RE: Dime Attachments > > I used the following test code to return various size files formated > DIM

axis client consuming an ejb service

2005-03-01 Thread fabrizio picca
i'm wondering how can a Axis Client send a custom object to an ejb service. Could someone be of some help? thanks a lot. Fabrizio

RE: Dime Attachments

2005-03-01 Thread Flores, Raul
Here is the wsdl and the client code. Although I have named this swa... this is not really an SwA implementation. If I recall, I was trying to implement SwA(bp1) with Axis and doc/lit. Raul -Original Message- From: Jim Collins [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 3:3

Re: Dime Attachments

2005-03-01 Thread Jim Collins
Thanks Raul. - Original Message - From: "Flores, Raul" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 01, 2005 9:29 PM Subject: RE: Dime Attachments > Here is the wsdl and the client code. > > Although I have named this swa... this is not really an SwA > implementation. > If I recall, I

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 declaration, you won't be able to get Axis to process it for you. You are going to have to extract the stri

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' > Se

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 eve

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 wr

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, becaus

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, Ser

Doubts on beanMapping

2005-03-01 Thread Soti, Dheeraj
Hi, I am new to webservices. I have a following class structure Employee (Interface) | | -- | | | | PermanentEmployee (Implements E

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 ru

Re: Axis2: RPC -> Message advantages

2005-03-01 Thread Srinath Perera
Hi Eugene; I am not much sure about what you mean; anyway I will try > > 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

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: http://www.netcore.co.

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. Bef

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 to

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 WSD

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 Ch

RE: stub and skelton

2005-03-01 Thread Pavan Kumar Choukhada
that's true i am not using static invocation. but i think we do not require skelton on server. because as i mentioned earlier using RPCProvider axis invoke java class via reflection. On Wed, 2005-03-02 at 11:04, Shahi, Ashutosh wrote: > Pavan, > The skeleton code is used at the server for de

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 QName("http://

Re: stub and skelton

2005-03-01 Thread jayachandra
Not that easy buddy. Even for RPCProvider how is it to know from the plain SOAP message to which Java classes the XML need to be deserialized before invoking the java class. There comes the need for skeleton code. Jayachandra On Wed, 02 Mar 2005 11:23:44 +0530, Pavan Kumar Choukhada <[EMAIL PROTE

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 the

Re: Doubts on beanMapping

2005-03-01 Thread jayachandra
Even though AdminClient replies back saying Done 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 log. You can deal with t

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, which

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 i

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 servi

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 a