RE: Strong types in Axis2 wsdl

2008-08-28 Thread Chen, Lizhao
Do you try like this: From: Pugalia, Jai P (JP) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2008 09:01 PM To: axis-user@ws.apache.org Subject: Strong types in Axis2 wsdl Hi, I have an Axis2 wsdl which exposes an

Re: [Axis2]

2008-08-28 Thread SivaKrishna Kumar
Hi Gunarathne, If I remove 'Transfer-Encoding' and content length from headers, I am getting SOAP fault from the server. The error is java.net.SocketTimeoutException: Read timed out java.net.SocketTimeoutException: Read timed out I am trying to upload 1KB Zip file. Regards Siva On 8/29/08, Siv

Re: [Axis2]

2008-08-28 Thread SivaKrishna Kumar
Hi Gunarathne, Thanks for the reply. For disabling http chunking in ZSI, I am sending 'Transfer-Encoding' header as 'Chunked' while sening the Request. Do I need to stop doing that ? If you use any of IM, can you please add me as friend. I desperately looking for some help in this regard. My ma

Re: [Axis2]

2008-08-28 Thread Thilina Gunarathne
Hi, Assuming that you are using ZSI for the client side, you need to disable http-chunking in ZSI... The error suggests that the chunked encoding sent by your client side is malformed.. The config option Martin suggested will only disable chunking for Axis2 clients. ~Thilina On Wed, Aug 27, 2008

fault string: parameter xxxx doesn't exist

2008-08-28 Thread Abhishek Kaukuntla
Hi, I'm new to web services and as well as to Apache Axis. I tried to grab a WSDL from a web service provider and generate a client to access that web service. Everything seemed perfect until I ran the client to find Axis Fault exception. The only thing I found making sense in the stacktrace was:

Re: Want to use the same message receiver for all operations!!

2008-08-28 Thread Eran Chinthaka
This is an interesting scenario. Axis2, by design, requires every message to be associated with a service and an operation. And this is checked in the dispatching phase. If you don't have operations defined, then you might have to hack a little bit. IIRC, you can now add handlers before the dispat

RE: Runtime depenendencies for Axis2 Client/ADB

2008-08-28 Thread Martin Gainty
for tutorial on creating ADB client take a look at http://ws.apache.org/axis2/1_4/userguide-creatingclients.html#adb core jars listed at http://ws.apache.org/axis2/1_4/userguide.html#underhood e.g. axis2-web META-INF WEB-INF classes conf axis2.xml lib activation.jar

Re: Want to use the same message receiver for all operations!!

2008-08-28 Thread murugess
Hi Chinthaka, Really appreciate your quick reply. yes, I am trying to tackle the second case where in all the requests directed to the service regardless of operation should go to the same reciever. Basically, I have a servlet which recieves all the soap requests sent through http. This servle

Code Generator Wizard Plugin and Service Archive Wizard Plugin for Eclipse from Apache Axis2 Tools --> gives Http 404 error

2008-08-28 Thread MShah
I am trying to get the Code Generator Wizard Plugin and Service Archive Wizard Plugin for Eclipse from Apache Axis2 Tools site at : http://ws.apache.org/axis2/tools/index.html When I try to clickn on any of the mirrors to download the two plugins I get HTTP 404 error. Is there any other locati

Axis2 server side custom MessageReceiver

2008-08-28 Thread Lee, Alan
Hi All, We are in the process of upgrading our web services from Axis1 to Axis2 and we have some questions. Our current web services 1) throw custom exceptions and have 2) polymorphism (class hierarchy). Using Axis1, both just worked without an issue, we don't have/need any Axis1 custom

Runtime depenendencies for Axis2 Client/ADB

2008-08-28 Thread Christopher Wash
Hello, Can someone point me in the right direction on the runtime dependencies for using Axis2 as a client with ADB? Thanks! Chris

Periodic query of client

2008-08-28 Thread Michael Sutter
Hello list, I have a strange problem with a Axis2 service and the corresponding client and maybe somebody can help me understanding what I'm doing wrong. I have a status service implemented with Axis2C running under a tomcat and the corresponding Java client for accessing the service. The jav

Re: deserializer exception with Axis 1.4

2008-08-28 Thread Anne Thomas Manes
Shripad, The error indicates that the server does not know how to process the "anyType" type. How does the WSDL describe the ns8:PushRsp element? Why does your message override the element type by specifying xsi:type="xsd:anyType"? I doubt that the problem is related to ws-addressing. Anne On

Rampart Configuration

2008-08-28 Thread Shah, Sumit
Is there a way to configure Rampart in Axis2 using parameters rather than a Policy file? Thanks Sumit

Re: Axis elements

2008-08-28 Thread Simon Oldham
Hi Anne, I came across that very link (I substituted Person for Bananas in my example). That is some interesting information you have found. That is exactly what I hoped to find out - the reason behind the adoption of multiRef as the accessor name. Thanks very much for clearing that up. It has b

Strong types in Axis2 wsdl

2008-08-28 Thread Pugalia, Jai P (JP)
Hi, I have an Axis2 wsdl which exposes an ObjectType as I want to restrict the valid values to say "Array" and "Structure". If I change the element to be an enumeration, it does not work as looks like Axis2 does not support enumerations yet. Is there any other way I can make this strongly t

RES: Problems trying to access a secure WS using PKCS#11

2008-08-28 Thread Fernando Cesar Silva
Hi Steve, If you interested about to test SafeNet HSM, you can download SafeNet SDK which has a HSM emulator at: www.proteq.com.br/download/protecttoolkit_c_3_32_B.iso You will need to install the package according to your OS. You can consult the installation manual for PTKC to have more details.

[AXIS2] Which ways of debugging/logging exist? / How to debug Rampart/server-side with WS-Security?

2008-08-28 Thread compris
Hello all, I already found these ways of debugging: 1.) Setting web server debug settings at command prompt level: set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n In Eclipse then the setup of a Debug Configuration -> Remote Java Application with localhost and

Re: Axis elements

2008-08-28 Thread Anne Thomas Manes
Simon, I did a bit more research on this question. The first SOAP engine, IBM's SOAP4J used the "multiRef" local name. IBM contributed this project to Apache, and it became Apache SOAP. Axis is a follow-on project to Apache SOAP. Although it is a complete rewrite with a different architecture, it

RE: Generation Cdata

2008-08-28 Thread Walker, Carleton
Hi Jesper, I had a similar problem and solved it by replacing my XMLBeans-based implementation with AXIOM. I used the RawXMLINOutMessageReceiver and a ServiceClass that built the output message using AXIOM calls (addChild(), createOMElement()). That way, I could force the implementation to add

WS-Addressing Migrate from Axis 1.1 to Axis 1.4

2008-08-28 Thread Shripad Gokhale
Hi, We have migrated from Axis 1.1 to Axis 1.4. In case of such migration , is there any additional thing which needs to be taken care of if we are working with WS-Addressing mode. Thanks Shripad This message and the information contained herein is proprietary and confidential

Migrate from Axis 1.1 to Axis 1.4

2008-08-28 Thread Shripad Gokhale
Hi, We have migrated from Axis 1.1 to Axis 1.4 and I see for the code generated by WSDL2JAVA is quite different than that was generated by 1.1. Is there any way to preserve backward compacitibilty. Thanks Shripad This message and the information contained herein is proprietary an

deserializer exception with Axis 1.4

2008-08-28 Thread Shripad Gokhale
Hi, I am working with Axis 1.4. I am using ws-addressing mode on my soap-server which uses Axis 1.4. The body of request sent by the server (to the server denoted by reply to tag) looks as below. What can be the reason for the exception? http://www.microsoft.com/iptv/csf"/>

Re: Axis elements

2008-08-28 Thread Anne Thomas Manes
SOAP encoding processors look for a local name "multiRef", so if you used "bananas" instead, the SOAP processor might not be able to process the message. When using use="literal", the message must conform exactly to the schema that described the message. If you insert an unexpected element, or you

Re: Axis elements

2008-08-28 Thread Simon Oldham
Hi Anne, Thanks for your response. I have poured through the specification many times now. I think it is the name of the accessor "multiRef" that confused me. However, I think I now understand but if you could confirm this I would be grateful. My understanding is now that the name multi-reference

Generation Cdata

2008-08-28 Thread Jesper Guldbrand Jensen
I have a webservice function that returns a link. Currently it returns a link like this: http://bess/bess/webservicelinks.do?action=PRINT&token=-5-74-12545112103894622-43847-5666-38-96http://bess/bess/webservicelinks.do?action=PRINT&token=-5-74-12545112103894622-43847-5666-38-96%3c/link>> This lin