wsdoall for web service security without WSDD

2007-12-18 Thread Axel Bock
Hi all, I need to have a WSS header containing a username/password field. For this I found WSS4J, which should provide this functionality. Now the documentation says I need to write a WSDD on the CLIENT side to configure a handler for the request sending. I do not want to have WSDD, I rather do

[Axis 1.4] change encoding of XML messages

2007-06-11 Thread Axel Bock
Hi list, is there a way how I can define the XML encoding of the generated XML messages? Right now Axis encodes everything in UTF-8, which is fine, but I would like to know why and how I can change it. (The reason is simple: UTF-8 is good, but unless I know why Axis uses it, I don't know what

Re: Sequence of choices, or no serializer for AnyType

2007-05-14 Thread Axel Bock
, Axel Bock [EMAIL PROTECTED] wrote: Hi Paul, thanks for that. I just learned that our decision for Axis1 had other reasons, I just assumed it was compatibility with 1.4. One of those things you think you know ... :-) . still, switching to Axis2 is not a good option, cause the complete project

Re: Sequence of choices, or no serializer for AnyType

2007-05-07 Thread Axel Bock
that manually via DOM for example ... but I don't know how ... Thanks greetings, Axel. On 5/7/07, Paul Fremantle [EMAIL PROTECTED] wrote: Axel Axis2 is 1.4 compatible. Paul On 5/7/07, Axel Bock [EMAIL PROTECTED] wrote: Hi Anne, I am sorry. I forgot to mention that Axis2 is not an option

Sequence of choices, or no serializer for AnyType

2007-05-04 Thread Axel Bock
Hi list, Using Axis 1.4 I ran into a very annoying problem, based on this thing in my web service schema: element name=SignDocumentResponse complexType sequence element ref=C:Status/ element name=DocumentList minOccurs=0 complexType choice maxOccurs=unbounded element

[Axis1.4] MinOccurs is ignored with string types?

2006-10-24 Thread Axel Bock
Hi all, I have a WSDL file with a schema definition like this: xs:complexType name=Professionalxs:sequencexs:element name=name type=Name /xs:element name=contact type=ContactData minOccurs=0 / xs:element name=qualification type=Qualification /xs:element name=additionalQualification

Re: [Axis1.4] MinOccurs is ignored with string types?

2006-10-24 Thread Axel Bock
. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Axel Bock To: axis-user@ws.apache.org Sent: Tuesday

[Axis 1.4] Replacing handler which is responsible for network access

2006-09-25 Thread Axel Bock
Hi all, I would like to replace the handler which is responsible for the network access with my own one to enable automated JUnit tests. I want the new handler to read/write from a file system instead of the real network. I figured out that this might actually be possible with the handler

[Axis14] axis and XSD choice - axis wants both elements

2006-09-12 Thread Axel Bock
hi all, I have a little problem with axis. I have a web service with some data elements. In one method call parameter there may be EITHER element A1, OR element B2 AND B3, according to the XSD definition. The definition says: CHOICE ( A1 , SEQUENCE ( B1, B2 ) ). But - alas - if I set only the

Re: [Axis14] axis and XSD choice - axis wants both elements

2006-09-12 Thread Axel Bock
it :-) On 9/12/06, Anne Thomas Manes [EMAIL PROTECTED] wrote: Please post the WSDL, XSD, and WSDD files.On 9/12/06, Axel Bock [EMAIL PROTECTED] wrote: hi all, I have a little problem with axis. I have a web service with some data elements. In one method call

[Axis 14] Wrong parameter order when calling super constructor

2006-07-05 Thread Axel Bock
Hi all, I have generated stubs for a web service which has some complex data types. Those data types contain sub-elements, also complex data types, let's call them AType, BType, CType and DType. Axis now generates a base class with a constructor like this: class TypeBase { TypeBase(AType a,

Fwd: [Axis14] Bug? Wrong parameter order when calling super constructor

2006-07-05 Thread Axel Bock
Hi all, sorry if that message comes twice - I re-sent it because I didn't get a copy of my first one. I have generated stubs for a web service which has some complex data types. Those data types contain sub-elements, also complex data types, let's call them AType, BType, CType and DType. Axis now

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Axel Bock
Yes, there is a work-around. It works if you encode the file with UTF-8 (for example), and do not include the BOM at the beginning. I use notepad++ for that task, where you can save in UTF-8 without BOM. The process for that is easy: 1. open the file in notepad++2. mark everything via CTRL-A3.

A little favor, please - got problems with the list ...

2006-07-05 Thread Axel Bock
Please can anyone send me a mail to my address if he reads that? It seems I can answer posts, but dont post ones of my own ... I simply don't know if my messages do actually reach the list. I don't see them in my inbox. Many thanks, Axel.

Re: Two questions - BOM in UTF-8, and manually cleaning XML

2006-07-05 Thread Axel Bock
PROTECTED] wrote: Alex, The problem I am having is with the SOAP response from the web service; so I'm not really sure how we'd be saving that to a file... this isn't a static piece of text. -Original Message-From: Axel Bock [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 05

[Axis14] Newbie: How to get XML data which is sent over network?

2006-06-21 Thread Axel Bock
Hi all, I am using Axis 1.4 with generated stubs to call some web services. Now I would really like to get to the XML data which is sent by Axis over the network, but using a sniffer is (1) cumbersome and (2) very hard, for the web service uses a HTTPS connection. So I hope that maybe one of the

Re: [Axis14] Newbie: How to get XML data which is sent over network?

2006-06-21 Thread Axel Bock
! ---Riadh - Original Message - From: Axel Bock To: axis-user@ws.apache.org Sent: Wednesday, June 21, 2006 11:21 AM Subject: [Axis14] Newbie: How to get XML data which is sent over network? Hi all, I am using Axis 1.4 with generated stubs to call some web

Re: [Axis14] Newbie: How to get XML data which is sent over network?

2006-06-21 Thread Axel Bock
() { return null; } } Wi can also make a Handler in the server side. Good luck Riadh - Original Message - From: Axel Bock To: axis-user@ws.apache.org Sent: Wednesday, June 21, 2006 12:37 PM Subject: Re: [Axis14] Newbie: How to get XML data which is sent over network? Hi

[Axis14] SSL handshake TrustManager

2006-06-21 Thread Axel Bock
Hi all, I have another problem concerning SSL handshakes with axis. I am developing against a server which has a non-public security certificate. For convenience reasons (and maybe even for the final product :) I would like to implement my own certificate checking for the SSL server handshake. I

Re: Get SOAP header from Call instance?

2006-05-12 Thread Axel Bock
thanks, I already solved the problem. It was part my fault :) grettings, axel.On 5/11/06, Roman Weidlich [EMAIL PROTECTED] wrote:Trying the EchoNonBlockingDualClient (addressing module is found) getting: org.apache.axis2.AxisFault: Address already in use: JVM_Bind

Get generated SOAP / XML from axis in log file (Axis 1.3)

2006-05-12 Thread Axel Bock
Hi all, I have another thing which I'd like to solve. I need to log all the generated XML requests into a log file, but I really have no clue whatsoever how to do that. I am working with generated stubs from a WSDL file in that particular case, so if anyone could help me doing this I would be

Get generated SOAP / XML from axis in log file (Axis 1.3)

2006-05-12 Thread Axel Bock
Hi all, I have another thing which I'd like to solve. I need to log all the generated XML requests into a log file, but I really have no clue whatsoever how to do that. I am working with generated stubs from a WSDL file in that particular case, so if anyone could help me doing this I would be

Get SOAP header from Call instance?

2006-05-11 Thread Axel Bock
Hi, I am having BIG problems with a very, very, very simple Axis WS call. Basically I am trying to get a String back from a web service, which has only one method without parameters. I managed to generate stubs and call it, but I would really like to call it without having to build stubs. problem

Re: Get SOAP header from Call instance?

2006-05-11 Thread Axel Bock
/xml/library/x-tipsoap.html)-- dimsOn 5/11/06, Axel Bock [EMAIL PROTECTED] wrote: Hi, I am having BIG problems with a very, very, very simple Axis WS call. Basically I am trying to get a String back from a web service, which has only one method without parameters. I managed to generate stubs