java2wsdl problem

2007-04-17 Thread rmarra
Hi list, Im very new to Axis2 so maybe I didn't understand some fondamentals... I got an annoying problem, I tried before write to check in the mailing list but I couldn find anything that could help me. So this is what happen I got a simply class just for test stuff.. package ch.montefiore; pu

Re: AXIS2 - Multiple client stubs overlapping

2007-04-17 Thread Amila Suriarachchi
you also have the same problem as in http://issues.apache.org/jira/browse/AXIS2-2075 the only option i can see is to merge the two wsdl files and generate the code once. Can you try out another databinding frame work? On 4/17/07, Patrick Houbaux <[EMAIL PROTECTED]> wrote: Hello, I'm writin

out of memory in tcpmon

2007-04-17 Thread Janos Mucsi
Hi Does this happen to anybody? Thanks. C:\temp>java -cp axis.jar org.apache.axis.utils.tcpmon java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread "Threa

Re: tools to test the web services developed using Axis2

2007-04-17 Thread Charitha Kankanamge
Hello Vibhor, Have you tried to test axis2 web services with Apache JMeter? It is a good candidate for Axis2 WS testing. Jmeter soap/xml-rpc sampler can be used effectively for ws testing. Have a look at http://jakarta.apache.org/jmeter/usermanual/build-ws-test-plan.html regards Charitha

Re: axis2 - ADB , XMLBeans : service difference. Error while invoking different implementations of the same service

2007-04-17 Thread Amila Suriarachchi
This is a problem with the request. In your schema target namespace is http://Omnibus.US.ItxDirecTV.WebServices.SchedulingServices/ http://Omnibus.US.ItxDirecTV.WebServices.SchedulingServices/";> and TimeCode element is like this

Re: sample code "quickstartadb" auto generated build.xml file

2007-04-17 Thread Vikas
Hi Friends/Martin, Can I disable that feature? and want to write my custom myBuild.xml file for generated stub and skeleton classes. Otherwise can I access those auto generated task from another build.xml file? With best regards From Vikas R. Khengare - Original Message - From: M

RE: [Axis2] Attachment on client using generated stub

2007-04-17 Thread Ephemeris Lappis
Hello. This looks like the old Axis1 way to generate code for the attachment, using the DataHandler. But this is not what the Axis2 example shows, using the MessageContext to puts the attachments with the low level OperationClient API… I will test with this kind of WSDL… A question : why th

Axis2: mandating WS-Addressing ReferenceParameters from the client

2007-04-17 Thread Shantanu Sen
I deployed a service which has a custom wsdl that contains wsa:ReferenceParameters specified in the service element as shown below: - jms:/queue/pojoQ?transport.jms.ConnectionFactoryJNDIName=ConnectionFactory& java.naming

Re: axis2 - ADB , XMLBeans : service difference. Error while invoking different implementations of the same service

2007-04-17 Thread Ajith Ranabahu
Hi, The failure you are seeing is probably not due to the client but thrown from the server and reported by the client as an exception. The general cause of this error message is the presence of an incompatible element in the XML. However in your case the XMLBeans service works which means there i

tools to test the web services developed using Axis2

2007-04-17 Thread Vibhor_Sharma
Hi There are many tools available in the market to test the webservices. Is there any reason why few tools will not be able to test the web services developed by Axis2? We are in a process of evaluating few tools to help the QA team to automate the testing of the web services but it seems

RE: how to view request message

2007-04-17 Thread Stephen New
Hi Janos, Have you tried using the SOAPMonitor or TCPMonitor tools to view your request/response messages? http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonito rTcpmon http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheSOAPMonitor Regards, -- Stephen New Rules

limiting length of input

2007-04-17 Thread Ryan
Hi All, I'm new to Axis and to a certain degree to SOAP. I'm wondering if it's possible to limit the length of input that is received. For example, I have a request Is there some way to limit the number of characters (or digits) that are given when the service is called? I've se

axis2 - ADB , XMLBeans : service difference. Error while invoking different implementations of the same service

2007-04-17 Thread Sampige, Srinivas
I have implemented 2 versions of the same webservice; one using ADB and the other using XMLBeans binding. Both services have the same exact WSDL. I generated a client using xmlbeans binding which works fine against the service using xmlbeans. But, the same client when pointed against the service us

how to view request message

2007-04-17 Thread Janos Mucsi
Hi I used wsdl2java to generate my client classes. My call looks like this: net.skats.services.GeoPlacesSoapStub binding; try { binding = (net.skats.services.GeoPlacesSoapStub) new net.skats.services.GeoPlacesLocator().getGeoPlacesSoap();

Re: Data binding frameworks that allow backwards compatible schema changes?

2007-04-17 Thread Dennis Sosnoski
Hi Amila, When I try running the 1.2RC2 WSDL2Java with -d jaxbri I get: [java] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [java] at org.apache.axis2.wsdl.codegen.CodeGene

Re: Strange behaviour of WSDL2Java - axis2 - Jibx

2007-04-17 Thread Dennis Sosnoski
Hi Yugandhar, The order of the messages in the portType is significant, so by reversing these you changed the operation from a request-response pattern to a solicit-response pattern. I haven't tested this pattern (since it tends to be rarely used), but suspect that with this change the JiBX d

Re: Axis fault accessing WCF web service with WsHttpBinding

2007-04-17 Thread Martin Gainty
hello shantanu if you look at %AXIS2_HOME%/conf/axis2.xml M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify th

Strange behaviour of WSDL2Java - axis2 - Jibx

2007-04-17 Thread yugandhar
Hello, I am using axis2 1.1.1 and jibx 1.1.3. I created a wsdl and trying to generate the skeleton. porttype I am using is: wsdl2java throws up the following error: Exception in thread "main" org.apache.axis2.wsdl.c

Re: Axis fault accessing WCF web service with WsHttpBinding

2007-04-17 Thread shantanu chawla
Hi David, I am new to Axis2. Can you tell how do i engage or disengage addressing module. Thanks Shantanu On 4/17/07, David Illsley <[EMAIL PROTECTED]> wrote: From a quick glance, I can't see you engaging the addressing module, I think, perhaps you should be. If you're not doing that, the err

XMLBeans, Attachments and Rampart

2007-04-17 Thread Jorge Fernandez
Hi all, I would like to know if it's possible to use XMLBeans and Rampart with attachtments cos I heard that XMLBeans doesn't support MTOM and I doubt if Rampart supports SwA or there is any problem in that combination. Thanks and regards, Jorge Fernández ---

RE: try to use AXIS2 ADB

2007-04-17 Thread Tony Li
Though JDom.jar and Jaxen-1.1.jar are included in the .aar, the xml parser still can't work. JDom.jar needs to be put into axis2/WEB-INF/lib to make jdom work correctly with jaxen in AXIS2. (There is a Jaxen-1.1.jar in the axis2/WEB-INF/lib already.) Tony -Original Message- From: Glen M

Re: sample code "quickstartadb" auto generated build.xml file

2007-04-17 Thread Martin Gainty
Good Afternoon Vikas- my script for executing the service and client @echo on cd %AXIS2_HOME%/samples/quickstartadb set AXIS2_CLASS_PATH=%AXIS2_HOME%/src/modules/adb-codegen/org/apache/axis2/axis2-codegen/1.1;%AXIS2_HOME%/lib;%COMMONS_LOGGING_HOME%AXIS2_HOME%/lib;%JAF_HOME%\jaf-1.0.2 java -cp "%A

Re: wsa:Action header emitted from client with value ""

2007-04-17 Thread Steven E. Harris
keith chapman <[EMAIL PROTECTED]> writes: > I'll have a look into this. Thanks. Let me know if you need me to supply any additional detail. -- Steven E. Harris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Multiple return types

2007-04-17 Thread lightbulb432
I noticed that when calling an operation you keep an array of Class as the return types. I imagine this supports some notion of multiple return values of different types in web services. How in Java would you, if ever, use this functionality? Or is it not really used? When in Java would you put m

howto: construct a sopa-request fully manually!!

2007-04-17 Thread KaySquare
Hi, i'm looking for a solution to build a soap-request completely by hand... Reason for this is that wsdl2java constructs an invalid stub from the (existing) wsdl-file from a legacy-system (I used Eclipse/Lomboz and the code which was generated ignores parameters of any response-message... I dont

RE: [Axis2] Attachment on client using generated stub

2007-04-17 Thread Masin, Valerie
I'm no expert so I don't know if I am answering your question exactly, but I send attachments this way. In my wsdl I have something like this: http://www.w3.org/2001/XMLSchema"; ...> which generates this signature: public com.do

org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError:org/apache/commons/codec/DecoderException

2007-04-17 Thread Manny Panis
Does any body have any ideas why I'm getting the following error when calling an adb web service from inside another adb web service: org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException at org.apache.axis2.description.OutInAxisOperationClient.send

Re: [Axis2] Axis2 1.2 RC2 Released

2007-04-17 Thread Michele Mazzucco
Hi axis2 guys, any plan to fix bug 2328 [1] for the 1.2 release? Thanks, Michele [1] https://issues.apache.org/jira/browse/AXIS2-2328 On Tue, 2007-04-03 at 16:29 +0530, Deepal Jayasinghe wrote: > Hi all, > > I uploaded Axis2 1.2 RC2 release artifacts. Please help us by > downloading and revie

RE: Question regarding SOAP11 client compatibility

2007-04-17 Thread Vibhor_Sharma
Thanks Stuart Experts is this being taken care off or not?? or it is already there in the latest build. Please tell us a solution for this. Thanks Vibhor From: Stuart Owen [mailto:[EMAIL PROTECTED] Sent: Tue 4/17/2007 8:46 AM To: axis-user@ws.apache.org

Re: stateful WS with Axis2

2007-04-17 Thread pat
Hi Robert, I've followed the client section of the article, but without luck. What I have is: - server based on the JWSDP - client based on the Axis2 On the server side is the session management enabled (by some article I found about). On the client side I've did this: EchoWebServiceStub stub

Re: Axis2 deploy in Sun Application Server?

2007-04-17 Thread Duncan Thomson
John G. Norman wrote: Just FYI, The Tomcat 5.0.28 JSP compiler fails as well (i.e., pre-compiling JSPs before deploying - the on-the-fly compilation may have worked) on jsp:include tags: The original code has this idiom: But Tomcat's JSP compiler can only handle: Thanks John, Yes,

Re: Axis2 and existing client code

2007-04-17 Thread Shaoguang Cong
Sanjiva, I've tried similar thing and noticed a critical difference between Axis and Axis2 generated clients. I originally implement the web services with Axis 1.3, now looking to use Axis 2. My WSDLs are wrapped doc/literal in style, following WS-I profile for interoperability with

AXIS2 - Multiple client stubs overlapping

2007-04-17 Thread Patrick Houbaux
Hello, I'm writing a client against several WSDL which are all sharing the same schemas for types. Let's say I have the following: - WSDL1 using schema typeA and schema typeB - WSDL2 using schema typeA and schema typeC When I generate the client stub with AXIS2 (using xmlbeans bindings) again

Re: REST over GET support in Java clients?

2007-04-17 Thread Philipp Leitner
Hi Keith, I have one further question: I noticed that nothing but synchronous request-response style invocation seems to be possible with REST enabled (no matter whether GET or POST is being used). I reckon this might be a limitation of the REST architecture itself (which is AFAIK inherently

Re: stateful WS with Axis2

2007-04-17 Thread robert lazarski
try this article: http://www.developer.com/java/web/article.php/3620661 Alternatively since you are using ejb anyways, you can create a stateful session bean in your stateless session bean to control the session. The trick is creating the stateful bean and then creating the id via its EJBOBject,

stateful WS with Axis2

2007-04-17 Thread pat
Hi, Sorry for so stupid question, but I've searched for it without luck :-( Is there a way how to access HTTP header and get/set HTTP cookies? I need to setup the JSESSIONID to process the WS as stateful. Customer wants this: web app -> EJB stateless bean -> WS client -> WS server The JSESSIONID

Re: Question regarding SOAP11 client compatibility

2007-04-17 Thread Stuart Owen
Hi, I've also experienced the same problem and have been told its a bug. Its reported on JIRA here: http://issues.apache.org/jira/browse/AXIS2-2295 Stuart Vibhor_Sharma wrote: Hi I get the following error when i tested the webservices with soap11 client. The web services have been de

sample code "quickstartadb" auto generated build.xml file

2007-04-17 Thread Vikas
Hi Friends, Whenever we are using WSDL2Java command for given build.xml file from command prompt it generate one extra build.xml file. Before running command dir structure [quickstartadb | +-- resources src build.xml] Command:- WSDL2Java -uri resource

Re: Axis fault accessing WCF web service with WsHttpBinding

2007-04-17 Thread David Illsley
From a quick glance, I can't see you engaging the addressing module, I think, perhaps you should be. If you're not doing that, the error message sort of makes sense as there wouldn't be an action in the message. HTH, David On 16/04/07, shantanu chawla <[EMAIL PROTECTED]> wrote: I am creating

SV: SV: Axis2 1.1.1 and HTTPS problem

2007-04-17 Thread Peter Gylling Jørgensen
Hi Ognjen, I just like to point out to you, that > -Djavax.net.ssl.trustStore=D:\java\HttpsTest\cert\keystore leaves all instances of the same JVM with access to your webservice. This is mainly a problem, when you wan't a servlet to gain access to a webservice, where the tomcat server will sha

Re: SV: Axis2 1.1.1 and HTTPS problem

2007-04-17 Thread Ognjen Blagojevic
Hi Peter, Thanks for a tip. I tried to create simple java app to connect to local Tomcat over HTTPS, and figure out what was the problem. I needed to: 1. export Tomcat's self-signed certificate 2. import that certificate into new (client) keystore 3. call a client with an -Djavax.net.ssl.trus

Re: Axis2 deploy in Sun Application Server?

2007-04-17 Thread John G. Norman
Just FYI, The Tomcat 5.0.28 JSP compiler fails as well (i.e., pre-compiling JSPs before deploying - the on-the-fly compilation may have worked) on jsp:include tags: The original code has this idiom: But Tomcat's JSP compiler can only handle: John On 4/16/07, Lahiru Sandakith <[EMAIL

OMException: java.lang.IllegalArgumentException: null rcl

2007-04-17 Thread shail here
Hi, I am trying out my own sample using pojo & my client is using RPCServiceClient to invoke the webservice. My client looks like this : public BookDTO purchaseNewBook(BookDTO bookDTO) { RPCServiceClient rpcClient = null; try { rpcClient = new RPCServ

SV: Axis2 1.1.1 and HTTPS problem

2007-04-17 Thread Peter Gylling Jørgensen
Hi Ognjen, Behind the scene the AXIS2 client deploys the HttpClient. Try to connect directly using a simple HttpClient to establish the needed tweeks to connect, this way you can focus on the SSL/TLS connection. For guidelines see: http://jakarta.apache.org/commons/httpclient/sslguide.html

Re: Data binding frameworks that allow backwards compatible schema changes?

2007-04-17 Thread Amila Suriarachchi
On 4/17/07, Dennis Sosnoski <[EMAIL PROTECTED]> wrote: JAXB 2.0 should do this, though I was unable to get JAXB to work with the Axis2 1.2RC1 WSDL2Java. Has anyone been successful in using JAXB with Axis2? Can you test with RC2? Are you refering the bug which does not include jaxb- runtime ja

Re: [axis2] Calendar serialization to xsd:dateTime bug?

2007-04-17 Thread Amila Suriarachchi
What is the databinding framework you use? Can you test with a nightly build or with a RC? On 4/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hei, I'm using Axis 1.1.1 and I see that the Calendar serializes into 2007-04-16T10:31:29.162+0200 when it should be 2007-04-16T10:31: 29.162+02:

RE: [AXIS2] codegen using ADB : skeleton uses xsd element and not type

2007-04-17 Thread Ephemeris Lappis
OK ! Thanks for your answer… -- Ephemeris Lappis _ De : Amila Suriarachchi [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 avril 2007 11:01 À : axis-user@ws.apache.org Objet : Re: [AXIS2] codegen using ADB : skeleton uses xsd element and not type On 4/16/07, Ephemeris Lappis

Re: [AXIS2] codegen using ADB : skeleton uses xsd element and not type

2007-04-17 Thread Amila Suriarachchi
On 4/16/07, Ephemeris Lappis <[EMAIL PROTECTED]> wrote: Hello. If I'm not wrong, the generated skeleton, using the ant codegen with ADB data binding, relies on the schema elements that are mapped to the WSDL messages parts, and not the schema types as I was thinking… It's not a real problem,

Re: Axis2 1.1.1 and HTTPS problem

2007-04-17 Thread Ognjen Blagojevic
Hi Eric, I enabled Tomcat HTTPS connector:     and generated .keystore file with: %JAVA_HOME%\bin\keytool -genke

[Axis2] Attachment on client using generated stub

2007-04-17 Thread Ephemeris Lappis
Hello. I have not found any example of simple client, using the interface code generated from WSDL, and calling a service stub to send an attachment. The service operation signature is : public TestReport processTestRequest(final TestRequest request, final String attchmentID) throws Tes

Re: Data binding frameworks that allow backwards compatible schema changes?

2007-04-17 Thread Dennis Sosnoski
JAXB 2.0 should do this, though I was unable to get JAXB to work with the Axis2 1.2RC1 WSDL2Java. Has anyone been successful in using JAXB with Axis2? JiBX will also handle this. Unlike JAXB 2.0, with JiBX it's not the default behavior. In the JiBX binding you need to set flexible="true" on a

Re: wsa:Action header emitted from client with value ""

2007-04-17 Thread keith chapman
Hi Steven, I'll have a look into this. Thanks, Keith On 4/16/07, Steven E. Harris <[EMAIL PROTECTED]> wrote: "Steven E. Harris" <[EMAIL PROTECTED]> writes: > In the meantime, I'll file a JIRA issue. That would be AXIS2-2534: http://issues.apache.org/jira/browse/AXIS2-2534 -- Steven E. H

Re: Data binding frameworks that allow backwards compatible schema changes?

2007-04-17 Thread Amila Suriarachchi
As I understood you are looking for an databinding framwork which does not do any validation. try jaxb. On 4/16/07, Josh <[EMAIL PROTECTED]> wrote: Amila, If I configure a databinding approach to work with the following XML: John Doe Which databinding approaches will not break if I