schema targetNamespace usage in services.xml

2008-05-12 Thread Cherian Sijo
Hi, I am using pojo service class that exposes various custom objects (as operation parameters ) from multiple java package names. I want one single schema targetNamespace for all complexTypes in my generated wsdl. I tried setting Service Target Namespace in services.xml as mentioned in http:/

Error in calling Webserivce from axis2.0 client

2008-05-12 Thread Ashish Kulkarni
Hi I am trying to call a webservice using axis2.0, i have created this client in eclipse using Web Service client and WSDL definiation, but when i try to call the webservice i get following error What may be the issue May 12, 2008 5:35:46 PM org.apache.axis.utils.JavaUtils isAttachmentSupported WA

Re: using custom handler to access soap header

2008-05-12 Thread nipa dadbhawala
Hi Upul,, I also tried the following code and it is giving me ClassCastEception on the highlighted line. ANy help would be appreciated. SOAPEnvelope env = msgContext.getEnvelope(); if(env != null) { SOAPHeader header = env.getHeader(); SOAPHeaderImpl im

difference in wsdl output between codegen and command line

2008-05-12 Thread D P
Hello all: Eclipse 3.2.2 and Codegen Wizard 1.3 on WinXP Axis1.3 on Redhat linux I noticed that the the wsdl output from the code gen wizard contains bindings for both soap 1.1 and 1.2, but the wsdl output from the command line tool does not. Is there a switch in the command line tool that allows

Re: Error while using Axis2 Code Generator Plugin for Eclipse

2008-05-12 Thread Tom Seelbach
It works for me now :) I switched to Java 6 but that didn't fix it alone. Also had to clear osgi cache by adding -clean to my eclipse startup : C:\Eclipse3311\eclipse\eclipse.exe -vm "c:\Program Files\Java\jre1.6.0_03\bin\java.exe" -clean -console -consoleLog -debug -vmargs -Xmx384M -

Re: axis2 over https best practices

2008-05-12 Thread SGruverman
Rodrigo, To add a little more to Upul's solution: when your client creates their keystore, they will have to specify a password for the keystore. And then use that password as the value for the javax.net.ssl.trustStorePassword property. And a question for Upul: I think that client does not actual

Axis Retry Config

2008-05-12 Thread Isaias Barroso
Hi all, I need to configure the number of retries to a specific Stub instance. I'v create a class that implements org.apache.commons.httpclient.HttpMethodRetryHandler, if i use the following code in my code, this Handler is used: HttpClientParams.getDefaultParams().setParameter(HttpClientParams.

httpFrontendHostUrl doesn't change location in WSDL

2008-05-12 Thread Dharanikota, Sai Srinivas
Hi, Can you please help me with this problem? I have set the httpFrontendHostUrl. When I query the service WSDL, the wsdl port location is not changed to the overridden httpFrontendHostUrl. Is there any way to change the wsdl port location with the httpFrontendHostUrl? What is the real use cas

How to make Axis2 generated codes implement our own interfaces?

2008-05-12 Thread Joe Smithian
The Java classes generated by wsdl2java from WSDL file implement * org.apache.axis2.databinding.ADBBean*. Is there any way to make them implement our own interfaces? If yes how? Wsdl2java has a -ssi option which generate an interface for the service implementation only not for other generated cla

[Axis2] Original WSDL file

2008-05-12 Thread Krystian Szczesny
Hi, In my services.xml file inside aar I've got: true false I have put my original wsdl into the aar file and still when browsing to ...?wsdl page I am receiving something different then my original wsdl. Is there something else I have to do? Best regards, Krystian -- Krystian

Axis 1.3 - 502 Proxy Error

2008-05-12 Thread Tom Holmes Jr.
I've been searching on Google and I've looked here at previous messages. On my local system, I can run my JBOSS with Axis 1.3, and my web-service runs great with no problems at all. But when we deploy the jar to QA, occasionally, at random, my co-worker sees a 502 Proxy Error. He calls my web-s

Re: axis2 over https best practices

2008-05-12 Thread Upul Godage
You should only export your certificate and give it to the clients. You should not give out your keystores. keytool -keystore .keystore -export -alias yourname -file yourname.cer Then the client can import this certificate to their keystore and use it. keytool -keystore .trustStore -import -file

axis2 over https best practices

2008-05-12 Thread Asensio, Rodrigo
hello, I'm developing a web service who runs over https, I have made it run successfully (1 way SSL) but I have a couple of questions about best practices. My Company has a .keystore file in the tomcat server with a password "somepass". I published the webservice and tried using this code in the

Defining a services.xml to support multi-port Web Services.

2008-05-12 Thread Sanjay Vivek
Hi everyone, I'm attempting to deploy a multi-port Web Service (i.e. deploy the same service on 2 different ports). The main reason for this is because I wish to deploy a different policy at each end point. How do I go about defining a services.xml that supports multi-port Web Services and also

[axis2] java2wsdl - missing enum

2008-05-12 Thread Glen Verran
Hi folks, I am generating my WSDL from java using ?wsdl in the browser for my web service. I am using Axis2 1.4 and running on Tomcat 5.5.26. I have a single class as a parameter for one of the methods of the webservice. One of the variables in that class is of the type below. @XmlType(name

Re: org.apache.axis2.databinding.ADBException: Unexpected subelement userId

2008-05-12 Thread Amila Suriarachchi
Seems that you have not update your client. if you change your wsdl then you have to regenerate the code. thanks, Amila. On Fri, May 9, 2008 at 12:48 PM, Julian Noye <[EMAIL PROTECTED]> wrote: > Hi Guys > I changed my WSDL, to add a new element, it tests OK on my local machine, > but when I mov

distinct elements not recognized ?

2008-05-12 Thread pierre betz
Hi everyone, I'm new in axis, axis2, and I'm triing to update a big source code form axis 1 to axis2. Today, my problem is that from axis1.4, with a element declared as : I think, with axis 1.3, fro