Re: Base 64 decoding in web service

2005-12-01 Thread iksrazal
-Original Message- From: iksrazal [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 03:06 PM To: axis-user@ws.apache.org Subject: Re: Base 64 decoding in web service I do this quite a bit with Jboss 4.0.2 and their version of axis 1.2, converting a stateful sesion bean

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 { bytes = base64.decode(data); } catch (Exception

RE: Base 64 decoding in web service

2005-11-30 Thread Bell, Douglas
@ws.apache.orgSubject: Base 64 decoding in web service 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

Re: Base 64 decoding in web service

2005-11-30 Thread Gabsaga Tata
@ws.apache.orgSubject: Base 64 decoding in web service 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 { bytes

Re: Base 64 decoding in web service

2005-11-30 Thread iksrazal
I do this quite a bit with Jboss 4.0.2 and their version of axis 1.2, converting a stateful sesion bean to a String to maintain state:  private String getId(EJBObject session) throws ServiceLocatorException {                 String id = null;                 try {                         Handle

Re: Base 64 decoding in web service

2005-11-30 Thread Gabsaga Tata
I don't have a mapping of the XML string in my wsdl. I am passing the XML string in a bean object and have a mapping of the bean object in the wsdl. Is that a problem? Basically, I set the XML string in my bean object with the set method, then pass the bean object to the web service, and then the