RE: Deserializing XML w/o using client stubs

2004-09-29 Thread Michael Binz
Tom, > Yes we are going to work with generated stubs. All Im > confused about now is > what Axis1.2 offers that supercedes the need to manually > register the datat > type class (i.e. will mean that I dont have to use reflection > to instantiate > the stub for my dataclass and then retrive

RE: Deserializing XML w/o using client stubs

2004-09-29 Thread Michael Binz
Tom, > The XML string which I receive is generated by a mainframe > application which > does a conversion between an old proprietary data format and XML. > > In your code you mention that it is not necessary to register > Axis classes > explicitly in Axis 1.2 - that Axis 1.2 can do this > d

RE: Deserializing XML w/o using client stubs

2004-09-28 Thread Michael Binz
mport org.apache.axis.encoding.ser.EnumDeserializerFactory; import org.apache.axis.encoding.ser.EnumSerializerFactory; /** * Holds AG support functionality. * * @version $Revision: #4 $ * @author Michael Binz */ public class AgSupportLib { /** * Logger used by this class */ private static final Log _l

How to (de)serialize WSDL types?

2004-07-14 Thread Michael Binz
Hi, I'm looking for a possibility to serialise an Axis wsdl2java-generated type to XML and back into its Java object representation. This would allow a simple file-based management of test cases. I managed the first step, transforming the object into XML, by using the Axis BeanSerializer and a S

RE: Axis client with https

2004-07-12 Thread Michael Binz
Bill, Matthias > Yes, that is what I did. You need to create a new WSDL file that has the > https endpoint url. I created my WSDL with Java2WSDL, so I only changed > the > -l parameter to the new url. Be sure that you use the same server name as > will be used when you create the SSL certificate w

Re: Reg: Handling sessions

2004-07-07 Thread Michael Binz
Hari, you can define your Web service scope in the deploy.wsdd file. If you use application scope you get the behaviour you want. Best wishes, Michael. > Has any body worked on handling the sessions with AXIS?. If so, appreciate > if > you could help us out in resolving the following issue >

Re: MessageContext doesn't work at client side?

2003-11-14 Thread Michael Binz
I have created a service and successfully deployed. At client side, I created a ClientMain.java which only contains a "main" method for the purpose of testing. I tried to use "MessageContext.getCurrentContext()", but I always get NullPointerException. Does MessageContext only exist with the