Java2WSDL -o option in Ant target

2006-08-31 Thread Gabsaga Tata
The following ant target creates the helloworld.wsdl in the same directory as the build.xml file which is C:\Eclipse_Projects\workspace\Mungaka\build             But when I try to specify a different location is fails with the following error:     Java2WSDL: [java] java.io.

WSDL2Java Ant Target

2006-08-31 Thread Gabsaga Tata
I have the following WSDL2Java Ant target. When I run it, I get the error   WSDL2Java: [java] java.io.FileNotFoundException: C:\Eclipse_Projects\workspace\Mungaka\build\helloworld.wsdl (The system cannot find the file specified)   but the file is present in that location.   Any ideas why?    

Re: Java2WSDL -y option in Ant Target

2006-08-31 Thread Gabsaga Tata
Thanks Anne. It works now. >-Original Message->From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]>Sent: Thursday, August 31, 2006 07:18 AM>To: axis-user@ws.apache.org>Subject: Re: Java2WSDL -y option in Ant Target>>Remove the space.>>On 8/31/06, Gabsaga Tat

Java2WSDL -y option in Ant Target

2006-08-30 Thread Gabsaga Tata
The following ant target works just fine.       But when I added the option "-y WRAPPED" like the following:         I get the following error:   Java2WSDL: [java] The value of --style must be DOCUMENT, RPC, or WRAPPED. [java] Java Result: 1

Decrytion with WSS4J

2006-08-01 Thread Gabsaga Tata
I found this example on the web http://www.devx.com/Java/Article/28816/0/page/4  how WSS4J can be used to encrypt SOAP messages. Can anyone help me with a sample code on how to Decrypt a SOAP message using WSS4J? I have searched with no luck for such an example.   Thanks.   Gabsaga           packag

Re: web service client ip address

2005-12-05 Thread Gabsaga Tata
See Wes's response below.     -Original Message-From: Wesley MacDonald [mailto:[EMAIL PROTECTED]Sent: Monday, December 5, 2005 03:30 PMTo: axis-user@ws.apache.orgSubject: RE: web service client ip address import org.apache.axis.Constants;import org.apache.axis.MessageContext;     MessageCon

Re: Base 64 decoding in web service

2005-11-30 Thread Gabsaga Tata
gt;                        throw new ServiceLocatorException(ex.getMessage());>                }>                return id;>        }>>The id as a string is passed as a return value, mapped as a String in a wsdl >complex object. So I know its possible. >>BTW, my base64 is from org/apache/

Re: Base 64 decoding in web service

2005-11-30 Thread Gabsaga Tata
ng in web service I'd check and see if this class is returning what's expected before it sends it across the wire. If it works when standing alone I'm guessing it's not the problem.   - Doug From: Gabsaga Tata [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2

Base 64 decoding in web service

2005-11-30 Thread Gabsaga Tata
I am using the package org.apache.soap.encoding.soapenc.Base64 to decode base 64 encoded data. Below is my decode method in my webservice app.     public byte[] base64DecodeData(String data)     {    byte[] bytes = null;      Base64 base64 = new Base64();    try    {

Send XML String across the wire

2005-11-29 Thread Gabsaga Tata
I have an XML string that I want to send to my web service so that the service can process it.   String xmlString = "MeYouHello";   How can a client send this to a web service and the service convert this into a DOM Object for processing?   I tried the following but it didn't work. Any help will be

Re: Newbie - file upload with axis2?

2005-10-11 Thread Gabsaga Tata
You can use SAAJ and have the client application send the file to the web service as a SOAP attachment and the service will retreive the attachment and store it on the server. >-Original Message->From: Antony Grinyer [mailto:[EMAIL PROTECTED]>Sent: Tuesday, October 11, 2005 05:59 AM>To: axi

Re: Response of SOAP message wtih Attachment

2005-10-04 Thread Gabsaga Tata
: +43 1 329 50 161Software AG Österreich Fax: +43 1 329 50 171Guglgasse 7-9  GSM: +43 676 833 29 2611030 Wien  http://www.softwareag.com/austria   From: Gabsaga Tata [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 4:38 PMTo: axis-user@ws.apache.orgSubject: Response of

Response of SOAP message wtih Attachment

2005-10-03 Thread Gabsaga Tata
I am using Apache Axis 1.2 / Tomcat 4 Is it possible for a client application to get back data as MIME attachment from a web service?From the example code snippets below, the service successfully attaches a file to a SOAP messagebut when the client application tries to get the attachment count, it