How AXIOM Handles Nodes that do not have any text values

2008-06-20 Thread Mike McKee
In our WSDL, we will have times where an empty string will be passed. Therefore the XML send by the sender could be: Param1Param1/ or Param1/ Question 1: When the Stax gets built, it seems not to include this NODE as I try to process the NODE Tree. My expectation that it would be included,

Re: How AXIOM Handles Nodes that do not have any text values

2008-06-20 Thread Dimuthu Gamage
On Sat, Jun 21, 2008 at 8:40 AM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Mike McKee wrote: In our WSDL, we will have times where an empty string will be passed. Therefore the XML send by the sender could be: Param1Param1/ or Param1/ Question 1: When the Stax gets built, it seems not

AXIS2c Handling the multiple requests.

2008-06-20 Thread Shobha AC
Dear All, Can anyone tell how the requests from different clients for the same service api is handled? Like sending the respective response to the respective clients.. Regards, Shobha

wsdl2java on http and https

2008-06-20 Thread Rafaqat Ali
Hi, Is there any difference when I create stub using $AXIS2_HOME/bin/bin/wsdl2java.sh from http://localhost:8080/axis2/services/SomeService?wsdl and https://localhost:8443/axis2/services/SomeService?wsdl Do I have to generate it with some special flags if I am using security using rampart ?

Re: wsdl2java on http and https

2008-06-20 Thread keith chapman
Is the domain is a trusted domain then you will have no issues. But if the domain is not a trusted one you will have to import its cert ti your keystore first. This blog entry by dims [1] Gives you the details. On the security issue, does the WSDL have these details as policy? Thanks, Keith.

Re: Unexpected subelement

2008-06-20 Thread jeusdi
I don't understand. I've used a WSDL 1 in order to generate the server and client. The file is (WSDL 1): wsdl:definitions name=LicenceManager targetNamespace=http://www.grupmicros.com/LicenceManager/; xmlns:tns=http://www.grupmicros.com/LicenceManager/;

Re: problem with parts declaration order in requests, wsdl2java.

2008-06-20 Thread Amila Suriarachchi
you can use parameterOrder attribute at the operation level to define the parameter order please see http://wso2.org/library/2935 thanks, Amla. On Fri, Jun 20, 2008 at 10:36 AM, keith chapman [EMAIL PROTECTED] wrote: Hi, The *addAnonymousOperations() *method is declared in the Stub class

Re: [Axis2] - parameter of methods are dissapearing

2008-06-20 Thread Jan Verstuyft
As I mentioned yesterday, I've asked a redeploy, and now the problem is solved. Strange but true :). If it happens again, I will come back to this and will deliver also the service archive. Thanks for your feedback. 2008/6/19 Deepal jayasinghe [EMAIL PROTECTED]: Hi Verstuyft, As I can see

Re: wsdl2java on http and https

2008-06-20 Thread Rafaqat Ali
I created webservice and in service.xml I added information about rampart module and also PWCHandler class. Then I deployed service using options given in apache axis2 quick start guide. Should wsdl have this information ? Thanks, --RAFI PWCBHandler On Fri, Jun 20, 2008 at 12:18 PM, keith

ClassNotFoundException: org.hibernate.hql.ast.HqlToken

2008-06-20 Thread DOMINGUEZ Felipe
Hello I am having problem to run hibernate (3.2.6 ga) on axis2 (1.4) and use HQL queries. I get the following exception ClassNotFoundException: org.hibernate.hql.ast.HqlToken. When I run the application as a stand alone, it works fine, but when I run it as web service on axis2 it does not.

Re: Unexpected subelement

2008-06-20 Thread pierre betz
I think you do have a CreateLicence.java file used to send the request, and a parse function in it, could you send it ?

Re: problem using an external schema in a wsdl

2008-06-20 Thread Mauro Molinari
Caffrey, Colm ha scritto: Ive attched the WSDL and XSD files im working with The message I get is: Illegal character in path at index 42: file:/C://META-INF/testService.wsdl (wasn't it file:/C://META-INF/testService.xsd rather?) The WSDL seems ok, maybe the path in which the WSDL

Re: problem with parts declaration order in requests, wsdl2java.

2008-06-20 Thread pierre betz
hum.. sorry, I think I've a very big question about maven and cvs. How can I retrieve the nightly builds ? when I try to follow the link : While trying to retrieve the URL: http://cvs.apache.org/dist/axis2/nightly The following error was encountered: - * Connection Failed * The system

Re: problem with parts declaration order in requests, wsdl2java.

2008-06-20 Thread keith chapman
Looks like there is an issue at http://cvs.apache.org/dist/axis2/nightly. You dont need cvs to download the nightly. Thanks, Keith. On Fri, Jun 20, 2008 at 1:22 PM, pierre betz [EMAIL PROTECTED] wrote: hum.. sorry, I think I've a very big question about maven and cvs. How can I retrieve the

Re: problem with parts declaration order in requests, wsdl2java.

2008-06-20 Thread pierre betz
is that the only way to retrieve the snapshot or nightly build of axis2 (1.4 I mean :) ) ? 2008/6/20 keith chapman [EMAIL PROTECTED]: Looks like there is an issue at http://cvs.apache.org/dist/axis2/nightly. You dont need cvs to download the nightly. Thanks, Keith. On Fri, Jun 20, 2008 at

[Axis2] - Software caused connection abort: recv failed

2008-06-20 Thread Jan Verstuyft
Hi, I've created a webservice that works fine on our development environment. When we deploy it to a staging environment I can connect to my webservice with a C# client. But when I create the stub by the Axis2 framework for Java, I get the error below. If I create the same stubs for the

Re: modules and sessionid

2008-06-20 Thread Florian Astl
hi, that works, thank you very much! Florian hi, i have the following problem: in my scenario a client sends a soaprequest containing a header with a sessionid, I suppose which has nothing to do with Axis2 session management ? username and password. my custom module then

Fwd: [Axis2] - Software caused connection abort: recv failed

2008-06-20 Thread Jan Verstuyft
Hi, I've created a webservice that works fine on our development environment. When we deploy it to a staging environment I can connect to my webservice with a C# client. But when I create the stub by the Axis2 framework for Java, I get the error below. If I create the same stubs for the

Re: Unexpected subelement

2008-06-20 Thread jeusdi
I've used WSDL2Java in order to generate my stub using ADB DataBinding and the command generates a LicenceManagerStub.java that contains all classes inside it. http://www.nabble.com/file/p18025922/LicenceManagerStub.java LicenceManagerStub.java -- View this message in context:

Re: locating rampart-trust.mar

2008-06-20 Thread Nandana Mihindukulasooriya
Hi Tim, I'm unable to find rampart-trust.mar and obviously don't have the necessary maven-fu to build it myself. Name of the trust module in Apache Rampart is Rahas. So what you need is rahas-x.x.mar . If you download the Rampart distribution [1] you can find it under modules. thanks,

RE: Send direct XML rather than using Java classes

2008-06-20 Thread Jacky Rymasz-Maillot
Hello again. I created a client sending Axis request XML using SAAJ as explained into the link. I developed my client with Eclipse with JDK1.5 and everything works fine. My problem now is that when my client runs with JRE1.6, I have this response: ?xml version=1.0 encoding=UTF-8?

Multiple services from one WSDL... advice?

2008-06-20 Thread Andrew Clegg
Morning folks, a new Axis2 user here seeking some sage advice. I'm working on a new WS interface for a scientific compute farm, using Axis2 to generate server classes from WSDLs. The WSDLs currently define three services: Submit, Monitor and Retrieve. Submit offers various operations for

Re: Unexpected subelement

2008-06-20 Thread keith chapman
Hi, As I said before this looks like an issue in the generated WSDL The location should have been whttp:location=LicenceManager/CreateLicence instead of whttp:location=/CreateLicence. If you trued my suggestion it will work for you. Can you try that please. BTW here is what httpLocation means

problem in generating stub on https

2008-06-20 Thread Rafaqat Ali
Hi, I am trying to generate stub using $AXIS2_HOME/bin/bin/wsdl2java.sh from https://localhost:8443/axis2/services/SomeService?wsdl following instruction from http://article.gmane.org/gmane.comp.apache.webservices.axis.user/58499* * Now when I try to generate stub using command

Re: locating rampart-trust.mar

2008-06-20 Thread Tim Williams
On Fri, Jun 20, 2008 at 5:33 AM, Nandana Mihindukulasooriya [EMAIL PROTECTED] wrote: Hi Tim, I'm unable to find rampart-trust.mar and obviously don't have the necessary maven-fu to build it myself. Name of the trust module in Apache Rampart is Rahas. So what you need is rahas-x.x.mar .

Re: problem in generating stub on https

2008-06-20 Thread Charitha Kankanamge
Hi Rafaqat, Try to generate the stub as follows. Please use http port instead of https one. $AXIS2_HOME//bin/wsdl2java.sh -uri http://localhost:8080/axis2/services/GreetingService?wsdl https://localhost:8443/axis2/services/GreetingService?wsdl -p test.wstest.client -uw -o regards Charitha

Re: problem in generating stub on https

2008-06-20 Thread Rafaqat Ali
I was using http before but when tried to run client, I was getting Exception Exception in thread main org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document Type Declaration(DTD) at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at

Re: problem in generating stub on https

2008-06-20 Thread keith chapman
Could you post your WSDL please? Thanks, Keith. On Fri, Jun 20, 2008 at 4:59 PM, Rafaqat Ali [EMAIL PROTECTED] wrote: I was using http before but when tried to run client, I was getting Exception Exception in thread main org.apache.axis2.AxisFault: SOAP message MUST NOT contain a Document

Re: problem in generating stub on https

2008-06-20 Thread Rafaqat Ali
I developed java code and service.xml and generated service using axis2 binaries On server this is how wsdl looks wsdl:definitions targetNamespace=http://quickstart.samples/; − wsp:Policy wsu:Id=UsernameTokenOverHTTPS − wsp:ExactlyOne − wsp:All − sp:TransportBinding − wsp:Policy −

Exposing STS (Rahas) [was: locating rampart-trust.mar]

2008-06-20 Thread Tim Williams
On Fri, Jun 20, 2008 at 6:51 AM, Tim Williams [EMAIL PROTECTED] wrote: On Fri, Jun 20, 2008 at 5:33 AM, Nandana Mihindukulasooriya [EMAIL PROTECTED] wrote: Hi Tim, I'm unable to find rampart-trust.mar and obviously don't have the necessary maven-fu to build it myself. Name of the

RE: [Axis2] - Software caused connection abort: recv failed

2008-06-20 Thread Tim James McConechy
Hi Jan, I went through this recently. In my case there was also other errors happening before this occured. Specifically 403 transport error. To resolve it I used some instructions from here to look into tcpmonitor: 1. Goto window-show view-other in eclipse 2. Search for TCP and you will find

Re: WS-I Compliance Assertion: BP2402

2008-06-20 Thread cmurali
I validated that there is no other wsdl, by including more operations to the wsdl in question to see those changes when I query it using SOAPUI. So, that validates that this is the wsdl that SOAP UI is querying but is generating SOAP1.1 and SOAP1.2 sample requests, even though I have defined only

Please Advise, Axis2 - tomcat authentication system

2008-06-20 Thread Willard, Jonathan
Hi all, Hopefully someone can recommned the right way to do this... I have an Axis2 WebService whose main job is to instantiate objects running in tomcat. These tomcat objects organize data and return them thru the WebService interface. This allows me to expose legacy data in an

RE: Multiple services from one WSDL... advice?

2008-06-20 Thread Willard, Jonathan
Hi Andrew, I am fairly new to Axis2 so I can offer non-Sage advice ... but some real experience information... I am building multiple services that get bundled into one .aar file. I have a servcies.xml file that uses this structure serviceGroup service name=... /service service name=...

Re: Multiple services from one WSDL... advice?

2008-06-20 Thread Andrew Clegg
Hi Jon, thanks for the tips. I've stayed on-list for the benefit of future searchers... 2008/6/20 Willard, Jonathan [EMAIL PROTECTED]: I am building multiple services that get bundled into one .aar file. I have a servcies.xml file that uses this structure serviceGroup service name=...

RE: Multiple services from one WSDL... advice?

2008-06-20 Thread Willard, Jonathan
I am very weak with ant but bundle my classes this way, so that my aar file contains all of the classes from all of the a-e services that I ship and the servcies.xml file in com/resources. As I build more servcies I'll probably want to make my include name a bit less specific. Since the

Re: Multiple services from one WSDL... advice?

2008-06-20 Thread Andrew Clegg
2008/6/20 Willard, Jonathan [EMAIL PROTECTED]: target name=generate.service depends=generate.wsdl !--aar them up -- jar destfile=../war/lib/MyService.aar fileset dir=. include name=**/ws/a/*.class / include name=**/ws/b/*.class /

Re: locating rampart-trust.mar

2008-06-20 Thread Nandana Mihindukulasooriya
Hi Tim, Thanks Nandana, i do have rahas. The guide only describes how to deploy it while overriding the Issuer. To deploy it without overriding the issuer, do I just create a service archive that only contains a services.xml file referencing rahas and rampart? Rampart policy sample 05

RE: Serialize java object in Axis2

2008-06-20 Thread Rajesh, Peter (CLAIMS, WIP)
Yes, the java objects needs to be converted into soap request xml. Thanks Regards, Peter Rajesh CI Production Support Office - 860-547-3881 Mobile - 201-6580195 From: Willard, Jonathan [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 4:10 PM

Re: Serialize java object in Axis2

2008-06-20 Thread Ajith Ranabahu
hi, We've moved away from the Axis1 model and in Axis2 the serilization code is included in the beans itself. For example if you code generate with ADB , XMLBeans or any other databinding configuration then the beans will either have the capability to serialize/deserialize themselves or the

java.lang.IllegalStateException: No valid ObjectCreator found.

2008-06-20 Thread Nate Roe
A working WAR project has been redeployed as a SAR, but when the loader-repository is activated and limited to just the SAR, the following exception occurs when configuring Axis2. This looks a lot like a missing JAR or classpath problem. How can I better determine the source of the error?