Re: [Axis2] How to enforce AxisFault message to MTOM encoded?

2007-11-13 Thread Rainer Menzner
cases.. Please log a jira if it is not working even for the non-fault scenarios. Not sure what is going wrong.. I'll do some testing when I find a time. thanks, Thilina On Nov 7, 2007 8:52 AM, Rainer Menzner [EMAIL PROTECTED] wrote: Hi, Thilina Gunarathne wrote: Hi, Thilina

Re: [Axis2] How to enforce AxisFault message to MTOM encoded?

2007-11-07 Thread Rainer Menzner
Hi, Thilina Gunarathne wrote: Hi, Thilina recently helped me out on how to enforce the output encoding to be MTOM if input is also MTOM, using this kind of code: This is little bit more easy with the 1.3 release.. You can change the enableMTOM parameter as follows to get the

[Axis2] How to enforce AxisFault message to MTOM encoded?

2007-11-06 Thread Rainer Menzner
Hi, Microsoft WSE3 requires that MTOM is to be used either not at all or for every message involved in a request (the reasoning behind this can questioned ...). So in order to work with WSE3 and MTOM, WSE3 expects all input-, output- and possible error message as MTOM encoded message.

Re: [Axis2] Can I enforce MTOM message encoding programatically?

2007-10-30 Thread Rainer Menzner
] -- __ *Dr. Rainer Menzner* Principal Engineer, RD *L-1 Identity Solutions AG* /Protecting and Securing Personal Identities and Assets/ Universitätsstr. 160 44801 Bochum, Germany Telephone: +49-234-9787-41 Facsimile: +49-234-9787

[Axis2] Can I enforce MTOM message encoding programatically?

2007-10-29 Thread Rainer Menzner
Hi, I'm trying to encode binary data to be delivered from an Axis2 web service based the capabilities that a client explicitly specifies. This requires that MTOM is programatically enabled or disabled when creating the responsne message. Hence I cannot use the services.xml. I tried the

[Axis2/ADB] How to check whether optional parts of a SOAP message are specified

2007-10-10 Thread Rainer Menzner
, IsHit can have three states: 1) true 2) false 3) not specified Using getIsHit() on the corresponding stub I can detect 1 and 2. But how can I extract the state 3 from the stub class? Thanks for any hints, -Rainer -- __ *Dr. Rainer

Re: [Axis2-1.3] Compilation errors ... is not abstract and does not override abstract method serialize( ...

2007-09-18 Thread Rainer Menzner
to change any of your written code) Amila. On 9/7/07, *Rainer Menzner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi after update to Axis2-1.3 I receive the following kind of compiler errors for many (maybe all) stub classes created by wsdl2java: ADBException

[Axis2] Can anybody currently use wsdl2java meaningfully in Axis2-1.3?

2007-09-12 Thread Rainer Menzner
Hi, about a week ago I asked a question about a problem related to stub files created by wsdl2java, a Java compilation error like e.g. ..\AddElementParam.java:154: anonymous com.identix.www.astraqueueservice.AddElementParam$1 is not abstract and does not override abstract method

Re: [Axis2-1.3] wsdl2java modifies / reformats my sources files

2007-09-10 Thread Rainer Menzner
Sanka Samaranayke wrote: Rainer Menzner wrote: ah, it is a feature... After removing the file everything works (renaming did not work BTW, Java seems to inspect every file located in that directory). But shouldn't wsdl2java reformat only files it created previously? I mean, reformatting

[Axis2-1.3] Compilation errors ... is not abstract and does not override abstract method serialize( ...

2007-09-07 Thread Rainer Menzner
Hi after update to Axis2-1.3 I receive the following kind of compiler errors for many (maybe all) stub classes created by wsdl2java: ADBException .. \AddElementParam.java:154: anonymous mydomain.AddElementParam$1 is not abstract and does not override abstract method

Re: [Axis2-1.3] wsdl2java modifies / reformats my sources files

2007-09-07 Thread Rainer Menzner
directory to avoid reformats. -- dims On 9/6/07, Rainer Menzner [EMAIL PROTECTED] wrote: Hi, I have a web service up and running under axis2-1.1.1. In order to create the stubs and skeleton from the WSDL/Schema I use: call wsdl2java -uri %WSDLFILE% --package mydomain.queue --language java

[Axis2-1.3] wsdl2java modifies / reformats my sources files

2007-09-06 Thread Rainer Menzner
Hi, I have a web service up and running under axis2-1.1.1. In order to create the stubs and skeleton from the WSDL/Schema I use: call wsdl2java -uri %WSDLFILE% --package mydomain.queue --language java --server-side --service-description --databinding-method adb --generate-all --output .

Axis2 Web service with SOAP *and* XML-RPC interface possible?

2007-08-28 Thread Rainer Menzner
Hi, I have an Axis2 webservice created using wsdl2java from an WSDL file. I would now need an additional XML-RPC interface with the same semantics for this same webservice. I cannot write another webservice easily because the webservice uses a singleton in order to connect to a database. Is

[Axis2] How to increase Java Heap Space for my service?

2007-03-13 Thread Rainer Menzner
Hi, my web service reproducibly runs out of Java heap space when I test it under high load. It is most probably not a programming error nor is it a bug in axis. I'm passing large files which then are processed by the request. Can I increase the heap space when starting the service, maybe by

[axis2] Can I pass WS implementation data to MessageReceiverInOut.invokeBusinessLogic?

2007-03-06 Thread Rainer Menzner
Hi, in the MessageReceiverInOut.invokeBusinessLogic() I want extend the location where any exceptions are caught, and I want to log the xcp-message along with some further information, so that no exception can slip through even if the client ignores a SOAP fault. My plan is to edit the

Re: Axis2 useOriginalwsdl

2007-02-05 Thread Rainer Menzner
Hello Danop, danop wrote: Hello all, Can anyone confirm whether or not the useOriginalwsdl setting works? I've tried to use it, however I get errors when trying to view the service wsdl now (Unable to generate WSDL for this service). Does anyone know where I can find apache documentation

Can get/set subnodes of an Axis2 parameter/response message as literal XML?

2007-02-02 Thread Rainer Menzner
Hi together, in my Web Service / Request1, I want to store a complete node (which can grow very large and the contents structure varies) without handling that node as an object, although at the WS-API (from the view point of the user or client) this can be an object out of a list of

[axis2.1] java.lang.RuntimeException: Can not serialize OM Element Envelope / Char '\u001f'

2006-12-21 Thread Rainer Menzner
Hi, I get the error java.lang.RuntimeException: Can not serialize OM Element Envelope when my webservice returns a string which contains the character '\u001f' (an AN2K unit separator). Although this is not a typical printable character, I would expect that it is accepted in UTF-1 soap

[axis2 / WSDL2Java] Is maxOccurs=unbounded ignored when creating stub classes?

2006-11-13 Thread Rainer Menzner
Hi together, my application WSDL contains data types like this one: xsd:element name=ClaimMultipleElementsResult type=tns:ClaimMultipleElementsResultType/ xsd:complexType name=ClaimMultipleElementsResultType xsd:sequence maxOccurs=unbounded minOccurs=0

Re: [axis2 / WSDL2Java] Is maxOccurs=unbounded ignored when creating stub classes?

2006-11-13 Thread Rainer Menzner
, -Rainer -- Dr. Rainer Menzner Research Development Identix an L-1 Identity Solutions Company (NYSE: ID) Mail Address: Viisage Technology AG Universitaetsstrasse 160 D-44801 Bochum, Germany Phone: +49 (0)234 9787-41 Fax:+49 (0)234 9787-77 E-mail: [EMAIL PROTECTED] Visit our Website

[Axis2] Webservice Runtime Lifecycle description?

2006-11-07 Thread Rainer Menzner
Hi, I'm looking for a document which structurally explains what happens at runtime after a web service has been deployed. Specifically, the following questions arise: - When is the constructor of the service class called? - May the Axis 2 create a new instance at will? - Can new instance

Re: [AXIS2] Can I mix up my axis2 system / WSDL handling? Please help.

2006-11-03 Thread Rainer Menzner
when you deploy the aar. thanks, dims On 11/2/06, Rainer Menzner [EMAIL PROTECTED] wrote: Hi, unil a few hours ago, I had a trivial service for which axis2 auto-generated a WSDL. This does no longer work for some reason. I constantly keep the Message: error descriptionUnable to generate

Re: [AXIS2] Can I mix up my axis2 system / WSDL handling? Please help.

2006-11-03 Thread Rainer Menzner
know if you still have problems when you deploy the aar. thanks, dims On 11/2/06, Rainer Menzner [EMAIL PROTECTED] wrote: Hi, unil a few hours ago, I had a trivial service for which axis2 auto-generated a WSDL. This does no longer work for some reason. I constantly

[AXIS2 1.1 RC2] IncompatibleClassChangeError in populateAxisService()

2006-11-03 Thread Rainer Menzner
Hi together, I have created a trivial service from a handwritten wsdl file (top-down) and have added code to the skeleton class. services.xml is patched so that the original wsdl is used by Axis2. The resulting service is deployed and it can be tested successfully with Netbeans / Add

Re: [AXIS2 1.1 RC2] IncompatibleClassChangeError in populateAxisService()

2006-11-03 Thread Rainer Menzner
, Rainer Menzner [EMAIL PROTECTED] wrote: Hi together, I have created a trivial service from a handwritten wsdl file (top-down) and have added code to the skeleton class. services.xml is patched so that the original wsdl is used by Axis2. The resulting service is deployed and it can be tested

[AXIS2] Can I mix up my axis2 system / WSDL handling? Please help.

2006-11-02 Thread Rainer Menzner
Hi, unil a few hours ago, I had a trivial service for which axis2 auto-generated a WSDL. This does no longer work for some reason. I constantly keep the Message: error descriptionUnable to generate WSDL for this service/description − reason If you wish Axis2 to automatically generate the WSDL,

[axis2 / Newbie] Client creation fails: Error occured while creating the proxy

2006-10-20 Thread Rainer Menzner
Hi, I'm trying to write an axis2-based web service using Netbeans 5.0 and I am a complete newbie. I think, I followed the available instructions and my project creates a jar-archive which I copy to the axis2-services directory. Using the URL http://localhost:8084/axis2/services/Axis2Project?wsdl