Re: Deserialization

2004-10-26 Thread Aoife Kavanagh
I sent a mail on Friday asking somethingg similar with regards to deseralizing a complex type.  I ran wsdl2java on the WSDL file where the type is defined.  I have no control over the server.  My client is unable to deserialize the data sent back from the sever.  It always obtains the error  (w

unable to deserialize complex type

2004-10-22 Thread Aoife Kavanagh
Hi, I am working with axis 1.2_rc1 and I am in the process of testing my web client with an off-site third party web service which I have no access to.  My service client stubs were generated using wsdl2java from a WSDL file that includes a number of xsd files.  I am consistently getting an er

Need help - SOAPFault converted to exception

2004-07-26 Thread Aoife . Kavanagh
I'm sending this again, as I would really appreciate a pointer in the right direction with this. I have searched the message archives - if the answer is there I'm afraid that I haven't found it. thanks, aoife - Forwarded by Aoife Kavanagh/MVR on 26/07/2004 14:12 - [EMAI

SOAPFault converted to exceptin

2004-07-26 Thread Aoife . Kavanagh
Hi, I have a client that in certain conditions may receive a SOAPFault from the server.  The service spec that I'm working to says that the fault string will be one of four values and the client needs to be able to determine which of those values caused the error.  According  the Axis installation

SOAPFault, AxisFault and Java code from WSDL

2004-07-23 Thread Aoife . Kavanagh
Hi, I'm writing a Web client using axis1.2_beta2.  According to the server spec the a SOAP Fault with a fault coe of "Server" is returned if the appropriate digital signature isn't attached to the SOAP message.  THe client is using Java classes generated form the WSDL2Java compiler, and if the re

Adding element to Soap header in client handler

2004-07-22 Thread Aoife . Kavanagh
Hi, I need to add an element to my SOAP header in a client side handler.  In the invoke() method of my handler i can extract the SOAPEnvelope and SOAPHeader.  I can create a new SOAPHeaderElement and add that to the soap header.  However, I do not want the element to have the mustUnderstand or ac

Adding element to header

2004-07-20 Thread Aoife . Kavanagh
Hi, I'm having difficulty trying to get a SOAP message conform to what is expected by a web service.   The WSDL is fairly complex but after running WSDL2Java I end up with the required port type class and a Java class representing the data I need to represent.  This latter is class is actually a

Re: Client side handlers not being removed

2004-07-20 Thread Aoife . Kavanagh
Hi Peter, Thanks for the mails.  Will read article and take it from there. And yep, it's the same  Aoife Kavanagh from Stirling.  Will drop you a mail off-line when i get a chance. Cheers, Aoife Peter Shillan <[EMAIL PROTECTED]> 20/07/2004 09:05 Please respond t

Client side handlers not being removed

2004-07-20 Thread Aoife . Kavanagh
I'm having a few issues with client side handlers using Axis 1.2 beta. 1) Firstly is there a way of getting a list of all the client side handlers installed? 2 ) I need to know this because I have a sample program that I want to run using a client side handler that I've written.  However when I ru

Re: Deseralize XML

2004-07-20 Thread Aoife . Kavanagh
Hi Wei, There is an AxisUtil class in wss4j  jar.  However that didn't appear to contain the methods named so I just copied the required methods in to my own class.   Aoife wei zhu <[EMAIL PROTECTED]> 19/07/2004 23:41 Please respond to axis-user                 To:        [EMAIL PROTECT

Missing classes in 1.2 beta wsdl2java

2004-07-19 Thread Aoife . Kavanagh
Last week I used the WSDL2Java tool in the released Axis 1.1.   Today I re-ran the tool from the 1.2_beta2 release.  The code that is generated does not compile and there are some major differences.  Firstly the reason for non-compilation is that one of the generated classes is attempting to exten

Re: Deseralize XML

2004-07-15 Thread Aoife . Kavanagh
Hi, This is exactly what I need also.  Has anybody found a solution for this? Thanks, Aoife >Hi, >I've been looking to do the same thing. If I can find out how to call the axis >serialize / deserialize routines by hand, I can do away with using castor - >which to be honest is a bit of a pain to

Do I need to use WSDL stubs ?

2004-07-15 Thread Aoife . Kavanagh
Hi, I'm a newbie to SOAP and Axis and I'm hoping somebody can help me out. I'm using Axis 1.1 to write a client to talk to a web service.  I have used the service WSDL to generate stubs etc.  The data to be passed to the service is XML data.  That is, the SOAP body of my message contains an XML