Re: I must understand the must understand fault

2008-09-30 Thread Nandana Mihindukulasooriya
Hi Taariq, The reason for this is, empty security header (with must understand header set 1) being not processed by any of the handlers. Normally security header is processed by Rampart module but in this case after reading the policy Rampart decides that there is nothing to be processed

Re: ModulePolicyExtension

2008-09-30 Thread Nandana Mihindukulasooriya
Hi, Please take a look at this [1] thread. It is for Axis2 1.4 but may help you to solve the problem. thanks, nandana [1] -

Re: ModulePolicyExtension

2008-09-30 Thread Dimuthu Leelarathne
Hi, This occurs because Rampart version is not compatible with Axis2 version. You have to use Rampart 1.4 with Axis2 1.4. Or if you are using older Axis2 versions use the relevant Rampart jars and modules. Thank you, Dimuthu Srisathya Thirumalai wrote: Hello, I am trying to refer to

Re: Web Service requires secure header - how to generate with Axis?

2008-09-30 Thread Nandana Mihindukulasooriya
Hi Steve, Yes, this a well known security scheme. Does the WSDL has security policies attached to it ? Then it would be very easy. Please look at the tutorial [1] which shows how to do it. Hope you are using the SSL for this scenario as sending the clear text password over unsecured transport

RE: I must understand the must understand fault

2008-09-30 Thread Taariq Levack
That makes good sense, I've created issue 197. https://issues.apache.org/jira/browse/RAMPART-197 Yes we're using Oracle server, OC4J 10.1.3. We're also sending requests to a server we have no control over and don't know what it will be as yet. Thank you Nandana. Best regards Taariq

Re: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-30 Thread Andreas Veithen
Googling for Content-encoding: identity reveals that this is actually quite common, so I guess that we should indeed support it. Andreas keith chapman wrote: Interesting, It says SHOULD NOT but not MUST NOT. So it may be acceptable to have this header too. I guess one could argue that Axis2

AxisFault when using jibx

2008-09-30 Thread Sagi Mann
Hello, I've got an issue when working with a jibx axis2 client, based on the tutorial at: http://ws.apache.org/axis2/1_4_1/userguide-creatingclients-jibx.html http://ws.apache.org/axis2/1_4_1/userguide-creatingclients-jibx.html I'd appreciate if someone could tell if this is a bug or a misuse.

Re: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-30 Thread keith chapman
On Tue, Sep 30, 2008 at 2:40 PM, Andreas Veithen [EMAIL PROTECTED]wrote: Googling for Content-encoding: identity reveals that this is actually quite common, so I guess that we should indeed support it. Exactly. And we wont have to do much jsut ignore the content-type if its identity. Thanks,

Re: AxisFault when using jibx

2008-09-30 Thread Dennis Sosnoski
Hi Sagi, From your exception stack trace, it appears that you're still using ADB, rather than JiBX: samples.quickstart.service.adb.HelloServiceStub.fromOM(HelloServiceStub.java:641) at samples.quickstart.service.adb.HelloServiceStub.testOneArg(HelloServiceStub.java:215) at

Re: AxisFault when using jibx

2008-09-30 Thread Sagi Mann
Found a way to solve one part of the problem: explicitly set the namespace for the return value: @WebMethod @WebResult(targetNamespace=http://ws/;) public String testOneArg(@WebParam(mode=Mode.IN, name=testOneArg0) String name) { return Hello + name; } This added a

Re: axis2 1.4 and later versions fail to deploy with Java 1.4.2 under RAD6/WAS6.0

2008-09-30 Thread Brian De Pradine
Hi Ramesh, In order to get Axis2 1.4 to work with Java 1.4 you need to comment out the following in your axis2.xml file: threadContextMigrators threadContextMigrator listId=JAXWS-ThreadContextMigrator-List class=org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator/

Re: AxisFault when using jibx

2008-09-30 Thread Sagi Mann
Yes, this is misunderstanding, I simply used the sample quick start code tree as a template. This is why you see the .adb package, but I assure you it's jibx. DSosnoski wrote: Hi Sagi, From your exception stack trace, it appears that you're still using ADB, rather than JiBX: Anyway,

Re: AxisFault when using jibx

2008-09-30 Thread Sagi Mann
I have an update: unfortunately, the solution with the targetNamespace on each param only worked for me if the param is simple, i.e. String. However, when my param was a bean, the issue continued in a different variation: the bean was non-null, but all its properties were null. Example: I have

Re: AxisFault when using jibx

2008-09-30 Thread Dennis Sosnoski
Looks like the JiBX code for Wsdl2Java may be having a problem with the schema generated by the JAXWS service. Can you provide the full schema portion of the WSDL, so that I can see the namespace usage? By default, JAXB does not use elementFormDefault=qualified in schema definitions, meaning

Starting with JAXBI binding

2008-09-30 Thread Sagi Mann
Hi all, I would like to try Axis2 while using JAXBRI as a binding layer. I did not find any tutorial on the axis2 website - only for adb, xmlbeans and jibx. Can anyone tell me where to start? thanks. -- View this message in context:

issue with digital signature and MTOM

2008-09-30 Thread Srihari
Hi, I am having issue with digital signature with MTOM format. i am using Axis for my server side service. When I use Axis client it works but when I use the CXF client it failed with The signature or decryption was invalid. Can you please help me what I am doing wrong. here are the various

HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

2008-09-30 Thread Steve Cohen
I ran the eclipse plugin wizard to generate Java from a WSDL and it failed with An error occurred while completing process - java.lang.reflect.InvocationTargetException upon pressing Finish. Platform is Ubuntu Linux 7.10 Eclipse is version 3.3.2 I noticed that the plugin code I had was not

Re: axis2 1.4 and later versions fail to deploy with Java 1.4.2 under RAD6/WAS6.0

2008-09-30 Thread Ramesh Vishwanatham
Brian Thanks for replying to my post. I have commented threadContextMigrators part and other places where jaxws was mentioned in axis2.xml file to make it work with RAD6 using Java 1.4. When I first tried comment out threadContextMigrators part, I still got errors and then I did all others in

RE: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-30 Thread Sangita_Pandit
Also to be backwards compatible, AXIS2 has to support it as the AXIS did not have issues like this. Sangita Pandit 728 1606 From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 4:20 AM To: axis-user@ws.apache.org Subject: Re:

New to axis2, need some help

2008-09-30 Thread Danny LIU
Hi everyone! Im a new learner of axis2, and basically Im following a tutorial to study it right now. My problem is I got a strange exception when I try to generate Java code from WSDL file using eclipse's plugin -Axis2 Code Generator . The exception is

wsdl2java and basic authentication

2008-09-30 Thread Jorge Medina
Hi, I have a Tomcat server (6.0.16) using basic authentication through a JDBC connection to a database. The server runs in port 8080. I am trying to run wsdl2java against this server, wsdl2java -uri http://ssmith:[EMAIL PROTECTED]:8080/webservices/mywsdl.wsdl -s -uw -u

RE: axis2 1.3 stackoverflow

2008-09-30 Thread Tony Dean
there must be some issues with wsdl4j... I'm using soapUI to perform some load testing and if I turn off SOAP compliance assertion, the problems go away. With SOAP compliance assertion, soapUI continuously retrieves the WSDL from the service to assert the response message. Turning this off

RE: wsdl2java and basic authentication

2008-09-30 Thread Jorge Medina
No, I have the two computers in the same network, no firewall between them. The error wouldn't be 401 if the issue was a firewall, right? Nevertheless, I will repeat my test directly at the server. -Jorge From: Martin Gainty [mailto:[EMAIL

WSDL2Java behavior

2008-09-30 Thread Steve Cohen
running command line WSDL2Java, (axis2 1.4.1) with following options -o {root of my source tree} -t -d adb -u -ssi -wv 1.1 -or -Ejavaversion 1.5 -uri {my wsdl} I find the following source code generation pattern: In reasonable packages under source, it generates data classes from the WSDL,

RE: wsdl2java and basic authentication

2008-09-30 Thread Jorge Medina
I got it. There is a bug in version 1.4 The same line works fine in version 1.3 From: Jorge Medina [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 11:15 AM To: axis-user@ws.apache.org Subject: RE: wsdl2java and basic authentication No,

RE: wsdl2java and basic authentication

2008-09-30 Thread Martin Gainty
it seems you have found a malicious bug..please let us know how to remove thanks Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a

RE: wsdl2java and basic authentication

2008-09-30 Thread Jorge Medina
Actually, I only tested with version 1.4.1 and version 1.3 Version 1.3 works fine From: Jorge Medina [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 11:22 AM To: axis-user@ws.apache.org Subject: RE: wsdl2java and basic authentication I got

RE: WSDL2Java behavior

2008-09-30 Thread Martin Gainty
Good Morning Mr Cohen there appears to be a double definition for City and State entities can you display the WSDL so we can reproduce here? thanks Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates

RE: ModulePolicyExtension

2008-09-30 Thread Srisathya Thirumalai
Downloading Rampart 1.4 and using its mar and jar files and removing axis2-security-1.1.jar file solved the problem. Thanks Date: Tue, 30 Sep 2008 13:04:42 +0530 From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: ModulePolicyExtension Hi, This occurs because Rampart version

Re: Web Service requires secure header - how to generate with Axis?

2008-09-30 Thread Steve Cohen
Okay, thanks Mary. On your suggestion and others I have rethought and begun switching to Axis2 so that I might use Rampart. I am looking at the samples and they pose a question I want to understand. That is, the use of client.axis2.xml as in the samples. WSDL2java did not generate this

Re: WSDL2Java behavior

2008-09-30 Thread Steve Cohen
I'm not sure. I now see that each xxx_type1 class uses the xxx_type0. In any case, the WSDL in question is available here: https://duoshare.com/dsWS/services/PostML/wsdl Martin Gainty wrote: Good Morning Mr Cohen there appears to be a double definition for City and State entities can you

RE: axis2 1.3 stackoverflow

2008-09-30 Thread omatzura
Hi Tony, Ole from the soapUI team here. This sounds more like an error in soapUI to me, it shouldn't receive the WSDL for each time it asserts the response, and probably is not releasing the previously retreived WSDLs correctly.. could you check if this problem persists in our newly release 2.5

Re: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-30 Thread keith chapman
I have fixed this in the transports module. Thanks, Keith. On Tue, Sep 30, 2008 at 7:57 PM, [EMAIL PROTECTED] wrote: Also to be backwards compatible, AXIS2 has to support it as the AXIS did not have issues like this. *Sangita Pandit* *728 1606* -- *From:*

Re: AxisFault when using jibx

2008-09-30 Thread Sagi Mann
No problem. BTW, in the meantime, I switched to using jaxbri binding instead of jibx. The full web service code before all the additions of targetNamespace annotation attributes is: @WebService( @XmlSeeAlso(SubBean.class) public class Hello { @WebMethod public String

@XmlSeeAlso and/or parameter polymorphism

2008-09-30 Thread Sagi Mann
Hi, Is there an axis2-equivalent for the JAXWS 2.1 @XmlSeeAlso annotation? I'm trying to pass a polymorphic parameter to an axis2 web service, but unfortunately I'm unable to find a way to get the web service to publish the subclasses in its WSDL. Example: Assuming I have an AbstractBean, and a

Re: Inheritance in WSDL

2008-09-30 Thread Sagi Mann
Hi, I know this is an old post, but did you find a solution? thanks -- View this message in context: http://www.nabble.com/Inheritance-in-WSDL-tp11831490p19747831.html Sent from the Axis - User mailing list archive at Nabble.com.

Re: Web Service requires secure header - how to generate with Axis?

2008-09-30 Thread Nandana Mihindukulasooriya
Hi Steve, Does the WSDL has policies ? If it does it will be easy for you to use the policy based configuration of Rampart. Simple samples shows how to use the parameter based configuration with Rampart. In the policy based approach, you don't need a axis2.xml in the client side. You can

Re: Web Service requires secure header - how to generate with Axis?

2008-09-30 Thread Steve Cohen
No, unfortunately, the WSDL does not have policies. All it really requires is basic http authentication. Not sure how to do that, or if Rampart is even required for that. Nandana Mihindukulasooriya wrote: Hi Steve, Does the WSDL has policies ? If it does it will be easy for you to

RE: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-30 Thread Sangita_Pandit
How can I get the jar and when will this change be in the official release. Sangita Pandit 728 1606 From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 12:31 PM To: axis-user@ws.apache.org Subject: Re: Error HTTP :unsupported

Error when generating the proxies using xmlbeans

2008-09-30 Thread Soyer, Muhammed A.
Hi, I have a WSDL file which imports other WSDL files and they import XSD files. Looks like one of the XSD is being referred multiple times. I guess normally this shouldn't be an issue but when I use the xmlbeans binding I am getting an error saying that I have Duplicate global type .

Re: Web Service requires secure header - how to generate with Axis?

2008-09-30 Thread Mary Thompson
Steve, axis2.xml will be read by the appropriate library method if it appears on your class path, or is specified using a -Daxis2.xml=pathname Java option when you run the client, or set by a System.setProperty(axis2.xml,pathname ) call in your program. In my experience, the pathname needed

Jgroups

2008-09-30 Thread Igor Nogueira
Hello guys! I'd like to know if there's a way of invoking web services form Jgroups? I'd like to have some services in group and send/receive messages to them through Jgroups. As I'm working with replication, some of Jgroups features would be very useful to me. Thanks again, Igor Nogueira

Re: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-30 Thread keith chapman
We do not have a Axis2 release planned for any time soon. So you may have to get the nightly. Thanks, Keith. On Wed, Oct 1, 2008 at 1:33 AM, [EMAIL PROTECTED] wrote: How can I get the jar and when will this change be in the official release. *Sangita Pandit* *728 1606*

Axis2 and Apache CXF

2008-09-30 Thread Shehan Simen
Hi Axis2 guys, I was using axis2 for few months for work and found it quite handy. What is apache CXF? Can someone please compare CXF and Axis2? So I can recommend the people to use Axis2 instead of CXF. Hope to hear soon. Thanks.

Re: New to axis2, need some help

2008-09-30 Thread keith chapman
Which version of Axis2/ The eclipse plugin are you using? Thanks, Keith. 2008/9/30 Danny LIU [EMAIL PROTECTED] Hi everyone! Im a new learner of axis2, and basically Im following a tutorial to study it right now. My problem is I got a strange exception when I try to generate Java code

Re: wsdl2java and basic authentication

2008-09-30 Thread keith chapman
Could you please file a JIRA please so that we will be able to fix this for the next release. Thanks, Keith. On Tue, Sep 30, 2008 at 8:51 PM, Jorge Medina [EMAIL PROTECTED] wrote: I got it. There is a bug in version 1.4 The same line works fine in version 1.3

Re: Axis2 and Apache CXF

2008-09-30 Thread Bjorn Townsend
Hello Shehan, You might find this article I wrote for TheServerSide.com: http://myeve.eve-online.com/ingameboard.asp?a=topicthreadID=885618 helpful. It was written some time ago so it is a bit outdated, both Axis2 and CXF have grown and matured a lot since then, but it might help give you

Re: Web Service requires secure header - how to generate with Axis?

2008-09-30 Thread Steve Cohen
Thanks! We have no need of interactive user. Ours is a server side app that is a client of this web service. What you have described is exactly what I needed to know. Mary Thompson wrote: Steve, axis2.xml will be read by the appropriate library method if it appears on your class path,

Re: AW: Integrating Axis2 with Tomcat and Eclipse

2008-09-30 Thread Saminda Wijeratne
Well not exactly. Eclipse uses a plugin to integrate the functionality of axis2. It is through this plugin eclipse creates web services and client stubs using reflection over the binary distribution of axis2. Thats why you need to specify the axis2 binary location under preference. Other than

RE: Axis2 and Apache CXF

2008-09-30 Thread Shehan Simen
I cant find anything related to CXF in this url. Are u sure that this the right link? From: Bjorn Townsend [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Townsend Sent: Wednesday, 1 October 2008 12:20 PM To: axis-user@ws.apache.org Subject: Re: Axis2 and Apache CXF Hello Shehan, You might find

Re: Axis2 and Apache CXF

2008-09-30 Thread Bjorn Townsend
Ack, victim of a bad cut and paste buffer. :) http://www.theserverside.com/tt/articles/article.tss?l=AxisAxis2andCXF Sorry about that! On Sep 30, 2008, at 8:34 PM September 30, Shehan Simen wrote: I cant find anything related to CXF in this url. Are u sure that this the right link? From:

RE: Axis2 and Apache CXF

2008-09-30 Thread Shehan Simen
Thank you. It is useful to some extent. I would like to know anyone has more ideas to convince that axis2 has better features than CXF. Regards, Shehan From: Bjorn Townsend [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Townsend Sent: Wednesday, 1 October 2008 1:56 PM To: axis-user@ws.apache.org

Re: Axis2 and Apache CXF

2008-09-30 Thread Paul Fremantle
Certainly Axis2 has much better support for advanced web services standards including WSRM, WSSecConversation, WS-Trust, WS-Notification, and others. Paul On Wed, Oct 1, 2008 at 5:47 AM, Shehan Simen [EMAIL PROTECTED] wrote: Thank you. It is useful to some extent. I would like to know anyone