Eclipse Europa and XML bindings

2007-07-03 Thread Desmond Whewell (CV/ETL)
I have downloaded the new Europa release for Eclipse to make use of the improved support for Axis2. However, when setting the Axis preferences for the data binding, the only option is 'ADB'. Does anyone know what I have to do to enable support for xmlbeans? Cheers, Des -

Which databinding axis1 has?

2007-07-03 Thread Alexey Zavizionov
Hello, I googled, read docs and searched in sources, but found nothing about what databinding for WSDL2Java axis1 uses? Alexey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Which databinding axis1 has?

2007-07-03 Thread Deepal Jayasinghe
I think it has xmlbeans support. Thanks Deepal Alexey Zavizionov wrote: > Hello, > > I googled, read docs and searched in sources, but found nothing about > what databinding for WSDL2Java axis1 uses? > > Alexey > - To unsubscr

Re: Eclipse Europa and XML bindings

2007-07-03 Thread Lahiru Sandakith
Hi Desmond, For the initial release, it was agreed that we will go ahead with the default Axis2 data binding (i.e ADB). Its a feature improvement to the 'jst.ws' component under Eclipse WTP. AFAIK it will be handled in next release. Thanks Lahiru. On 7/3/07, Desmond Whewell (CV/ETL) <[EMAIL PR

Re: [jira] Commented: (AXIS2-1435) Can't generate code for more than one interface using wsdl2java

2007-07-03 Thread Alexey Zavizionov
Hi, I cannot reopen issue and cannot vote on resolved issues. I hear nothing from owner of the jira bug. I really want to use axis2, but some bugs really blocked my future work with it. Thats simplier task to generate code takes much more times than I thought. Thanks, Alexey On 7/3/07, Jess Fi

RE: Eclipse Europa and XML bindings

2007-07-03 Thread Desmond Whewell (CV/ETL)
Shucks, that's disappointing. :-( Do you have a timeframe for when we might expect xmlbeans support? Cheers, Des From: Lahiru Sandakith [mailto:[EMAIL PROTECTED] Sent: 03 July 2007 10:03 To: axis-user@ws.apache.org Subject: Re: Eclipse Europa and XML bindings

Re: Eclipse Europa and XML bindings

2007-07-03 Thread Lahiru Sandakith
Maybe you can find the answer, if you posted to [EMAIL PROTECTED] Lahiru On 7/3/07, Desmond Whewell (CV/ETL) <[EMAIL PROTECTED]> wrote: Shucks, that's disappointing. :-( Do you have a timeframe for when we might expect xmlbeans support? Cheers, Des -- *From:* L

Re: Deploy & TCPTransport

2007-07-03 Thread Yari Marchetti
thx a lot for the answer. i read the document and did how it was told, but i keep getting the same error. Here is the code snippet i use: TCPServer t = new TCPServer(,"C:\\axis2"); //axis2.xml in this repository contains t.start(); ConfigurationContext cc = ConfigurationContextFactory.create

Change MessageContext AND envelope in Handler

2007-07-03 Thread Sebastian Roschke
Hi, I've got a problem concerning the MessageContext used in Axis2 MessageReceivers and Handlers. Is it possible to change members of the message context; e.g. WSAAction? How this changes can be applied to envelope within this message context? I tried msgContext.getEnvelope().buildWithAttachements

Re: Change MessageContext AND envelope in Handler

2007-07-03 Thread Deepal Jayasinghe
hi Sebastian , > Hi, > > I've got a problem concerning the MessageContext used in Axis2 > MessageReceivers and Handlers. Is it possible to change members of the > message context; e.g. WSAAction? How this changes can be applied to > envelope within this message context? I tried > msgContext.getEnve

Re: Change MessageContext AND envelope in Handler

2007-07-03 Thread Sebastian Roschke
Hi Deepal, thanks for the answer. I know that there is no change in the envelope. But is there any possibility to change the envelope? Would it be possible to work directly within the envelope? When I get the envelope object, and maybe a specific part of the header as OMElement, would I be able to

Re: Which databinding axis1 has?

2007-07-03 Thread Anne Thomas Manes
Axis uses it's own internal databinding system (referred to as de/serialization) that's based on SAX. It is not a pluggable option. (Perhaps you've seen messages such as "no deserialized found for [qname]). Axis provides built-in de/serializers for beans and arrays, and you can provide custom de/s

[Axis2] Problems with addinf prefix's to attributes, or removing them from headers

2007-07-03 Thread Alex Craddock
Hello, In the following xml that I am sending using axis2, the lowest child elements eg, TAID should have the prefix ns2, as if it doesn't then i am unable to connect and use a web service provided by a third party company, I am using the below to create the serializer for the bean that i am usin

RE: int values lost

2007-07-03 Thread Walker, Jeff
Roland, I noticed your using soap encoding in your wsdl. Can you switch to literal? (I'm guessing there will be precious few bug fixes in the soap encoding parts of Axis 1.2/1.4 if this turns out to be an Axis error, which I doubt). It just isn't popular anymore. I can't help much. I don't know 4D

Re: [Axis2] Problems with addinf prefix's to attributes, or removing them from headers

2007-07-03 Thread Anne Thomas Manes
I assume you mean Axis rather than Axis2. (Axis2 doesn't use BeanSerializer, nor does it support SOAP encoding.) What does the WSDL say? Does it specify elementFormDefault="qualified" on the schema that defines the HotelOptions type? Are you creating your client stub using WSDL2Java? Anne On 7/

Re: [Axis2] Problem with invoking web service by using Stub classes

2007-07-03 Thread Charitha Kankanamge
Hi, The following will help you to get some understanding on creating clients. http://ws.apache.org/axis2/1_2/quickstartguide.html#clientadb Let us know if you cannot resolve your problem using the above reference. regards Charitha Naga Srinivas wrote: *Hi, I am new to Axis2, i am trying t

Re: [Axis2] Problems with addinf prefix's to attributes, or removing them from headers

2007-07-03 Thread Alex Craddock
I have just created my stubs using the WSDL"Java (didnt no it existed, thanks for mentioning it saves me a lot of time) and yes the WSDL does specify as elementFormDefault="qualified" How would I make it so that all my bean elements are qualified correctly to use with the service? Alex. On 7/3/

Re: int values lost

2007-07-03 Thread Roland Carlsson
Thanks for your answer! Is this something I can set with the WSDL2Java-app or do I have to do this when the stubs?? Best regards Roland Walker, Jeff skrev: Roland, I noticed your using soap encoding in your wsdl. Can you switch to literal? (I'm guessing there will be precious few bug fixes i

Axis2 & rest

2007-07-03 Thread zakaria ghandour
hi, how can i activate rest handling for my webservices ? what's the format of the url to invoque webservice rest ? thanks -- View this message in context: http://www.nabble.com/Axis2---rest-tf4018616.html#a11413203 Sent from the Axis - User mailing list archive at Nabble.com. ---

Re: NullPointerException with axis1 1.4

2007-07-03 Thread Alexey Zavizionov
Thanks for your reply, I am researching it now. btw, I don't use .NET Regards, Alexey On 7/3/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: I Googled "wsrp axis null pointer exception getServiceDescription" and found a reference to a problem with sending a null to .NET. What happens if you s

A weird problem.

2007-07-03 Thread Wang, Hailong (NIH/CIT) [C]
Hi, I have same client code, on one machine I can communicate with the server, but the other machine can not communicate with the server. Here is error message: A header representing a Message Addressing Property is not valid and the message cannot be processed. Any idea? It's urgent. T

Re: WSDL2Java issue and/or help

2007-07-03 Thread Keith Veleba
dims, Thanks for the bug fix - I downloaded, built the snapshot and tried it against the remote WSDL in question. The generation of the stub did not error out. Thanks for your help! I hope to be able to return the favor soon. This list is a great resource for everyone who uses it. --

How do you end a transport session?

2007-07-03 Thread fat suze
I have a POJO service w/ transport sesion. How can I kill that session (on the client side) when I no longer need it? I've seen this asked a few times but I can never find an answer. Do you have to just let it expire for inactivity? Susanne

Re: Axis2 & rest

2007-07-03 Thread keith chapman
Unless you turn off REST explicitly from your axis2.xml you should be able to use REST with axis2. The default url pattern that axis2 uses is axis2/services/{service name}/{Operation name} e.g axis2/services/version/getVersion Although this is the default its possible to do more complex stuff

RE: A weird problem.

2007-07-03 Thread Walker, Jeff
Hailong, It looks like a WS-Addressing tag issue to me. Seems like a SOAP header is incorrect, that is, probably isn't following the WS-Adressing spec properly, or was omitted accidentally. But you need to post more details, if you expect some serious assistance. -jeff _ From: Wang, Hailon

Re: Axis2 & rest

2007-07-03 Thread zakaria ghandour
i didn't turn off REST explicitly i use axis2 in Intalio BPM , intalio use geronimo and axis2 i think that axis2 disable rest by default. how to activate rest in axis2.xml ? true false false can i have details ?? thanks -- View this message in context: http://www.nabble.com/

RE: A weird problem.

2007-07-03 Thread Wang, Hailong (NIH/CIT) [C]
Thanks very much for you reply. But when I used addressing-1.2.mar instead of addressing-1.1.mar, problem is gone. I looked at the SOAP message. There are same. Hailong From: Walker, Jeff [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 11:15

Re: Axis2 & rest

2007-07-03 Thread keith chapman
Which version of Axis2 r u using? Thanks, Keith. On 7/3/07, zakaria ghandour <[EMAIL PROTECTED]> wrote: i didn't turn off REST explicitly i use axis2 in Intalio BPM , intalio use geronimo and axis2 i think that axis2 disable rest by default. how to activate rest in axis2.xml ? true

Re: Axis2 & rest

2007-07-03 Thread zakaria ghandour
i don't know whitch one , because it's included in Intalio server -- View this message in context: http://www.nabble.com/Axis2---rest-tf4018616.html#a11414757 Sent from the Axis - User mailing list archive at Nabble.com. - To

Error sending Username Token

2007-07-03 Thread Ryan
Hi All, I have a web application on Tomcat that is calling a web service and I'm trying to add a Username Token to the request. Following the instructions here http://ws.apache.org/wss4j/axis.html More specifically I am specifying the wsdd file programmatically... BEGIN EXAMPLE CODE import

HELP!

2007-07-03 Thread Richard DeGrande
I get the following error when I call a secure webservice from an axis client. How do I get the Timestamp to be signed ??? I'm using axis 1.4 thanks in advance. AxisFault faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}FailedCheck fault

Re: Axis2 & rest

2007-07-03 Thread zakaria ghandour
Hi, axis2/services/{service name}/{Operation name} can you tel me how to call ws as rest if there is parameters ?? thanks -- View this message in context: http://www.nabble.com/Axis2---rest-tf4018616.html#a11414842 Sent from the Axis - User mailing list archive at Nabble.com. --

[Axis2] CDATA tag

2007-07-03 Thread Jack Sprat
I have an Axis 1.2 web service using XMLBeans. I want to wrap the content of one of the elements in a CDATA tag. I know I could manually prepend and append the CDATA delimiters but that is not ideal. What is the best way to do this? This should be obvious but I haven't found a clear choice.

Axis2 Snapshot Code Gen w/ Exceptions

2007-07-03 Thread Alejandro Calbazana
For what its worth, it looks like the latest snapshots do not generate faults properly. While generating my own wsdl that contains fault types, I noticed that the types names were named differently that what I am used to. I then checked the samples... The faulthandling sample breaks as fault

Re: int values lost

2007-07-03 Thread Anne Thomas Manes
Roland, In order to switch to doc/literal, you have to first make the change in your 4D server. It would then produce a doc/literal WSDL, and WSDL2Java will generate an appropriate client for you. Anne On 7/3/07, Roland Carlsson <[EMAIL PROTECTED]> wrote: Thanks for your answer! Is this some

ws-addressing

2007-07-03 Thread Nuno Martins
Hi all, I would like to know if it possible to get replyTo Header value in my web-service. Regards, Nuno Martins

Re: [Axis2] Problems with addinf prefix's to attributes, or removing them from headers

2007-07-03 Thread Anne Thomas Manes
The generated stubs should do it automatically. On 7/3/07, Alex Craddock <[EMAIL PROTECTED]> wrote: I have just created my stubs using the WSDL"Java (didnt no it existed, thanks for mentioning it saves me a lot of time) and yes the WSDL does specify as elementFormDefault="qualified" How would

RE: Axis2 & rest

2007-07-03 Thread Raghu Upadhyayula
Hi Zakaria, For the methods with simple parameters you use it like this Say I have a webservice MyService with login method and username & password parameters, then the rest URL will look like this. http://localhost/axis2/services/MyService/login?username=raghu&passw

RE: Axis2 & rest

2007-07-03 Thread Walker, Jeff
You don't pass complex types in REST web services. Period. It's all about those Query parameters, the name-value pairs following the '?' and separated by the '&'. REST services is all about manipulating resources, not passing complex types. If you want to send complex types, then you need the so-ca

Re: Error sending Username Token

2007-07-03 Thread Ryan
Wow, this is embarrassing, forget about this post. I lost track of a resource bundle (i.e. soap.properties), while porting this app. I put the soap.properties in a directory in the WEB-INF/classes and everything worked great. - Thanks, Ryan On 7/3/07, Ryan <[EMAIL PROTECTED]> wrote: Hi All, I

[AXIS2] WSDL2Java code generation problem

2007-07-03 Thread Lucente, Richard D
Axis2-1.2 wsdl2java is failing to generate compilable code for the NotificationConsumer port defined as part of the WS-BaseNotification 1.3 standard. Wsdl2java appears to have trouble with the definition of TopicType within the WS-Topics 1.3 schema. I tried this with adb, xmlbeans, jibx, jaxme, a

signing the timestamp within the security header

2007-07-03 Thread Richard DeGrande
Hi I'm using axis 1.4 and wss4j 1.5 to generate and execute a client for a secure webservice. I get an error indicating that the timestamp is not signed. How do I generate a signed timestamp ? AxisFault faultCode: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1

Re: Axis2 & rest

2007-07-03 Thread Anne Thomas Manes
You can submit a resource representation (containing complex types) using PUT or POST. But Jeff is correct that you cannot submit a complex query parameter via URL encoding. Also note that encoding a password as a query parameter in a URL (per Raghu's example) violates just about every security b

RE: Axis2 & rest

2007-07-03 Thread Raghu Upadhyayula
Thanks Anne. How do you submit a request having complex types with a POST? Can you show me for the login method sample with User object containing username & password? Thanks Raghu From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, July

Re: [AXIS2] WSDL2Java code generation problem

2007-07-03 Thread Anne Thomas Manes
Creiky! Why would the folks behind WSN have designed a schema for using in a SOAP environment that includes the constructor? I thought that XMLBeans could handle a , but maybe not... Anne On 7/3/07, Lucente, Richard D <[EMAIL PROTECTED]> wrote: Axis2-1.2 wsdl2java is failing to generate comp

Re: ws-addressing

2007-07-03 Thread Anthony Bull
Title: Signature Nuno, I've programmatically accessed the username token and password fields in my skeleton code - so I assume you can access the other header fields. The following article is what I based my code on: http://wso2.org/library/169 Note that to get the message context variable o

Re: Axis2 & rest

2007-07-03 Thread Anne Thomas Manes
Perhaps one of the developers can answer this? I'd be more inclined to use straight HTTP than Axis2, though. Anne On 7/3/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote: Thanks Anne. How do you submit a request having complex types with a POST? Can you show me for the login method sample

Exception in rampart configuration with inflow - outflow classes

2007-07-03 Thread Jorge Fernandez
Hi, For quite a long time I've been trying to configure a client that is invoking some operations to encrypt just some of the messages. I have read in this page that the rampart 1.0 configuration style could be use even though is marked as deprecated. http://ruchith.blogspot.com/2007/06/apach

HTTPS axis2 service

2007-07-03 Thread Ali, Haneef
Hi , What should I do make my service use https? My servlet container is going to be weblogic? Haneef - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: signing the timestamp within the security header

2007-07-03 Thread Alick Buckley
Hi, -Original Message- From: Richard DeGrande [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 July 2007 7:26 AM To: axis-user@ws.apache.org Subject: signing the timestamp within the security header Hi I'm using axis 1.4 and wss4j 1.5 to generate and execute a clie

Re: [AXIS2] WSDL2Java code generation problem

2007-07-03 Thread Davanum Srinivas
Richard, Please try the following command "wsdl2java.bat -d xmlbeans -u -uri bw-2.wsdl" to specify xmlbeans. Latest nightly works fine. Anne, XMLBeans db works fine. ADB fails. thanks, dims On 7/3/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Creiky! Why would the folks behind WSN have desi

RE: JMS/SOAP axis2

2007-07-03 Thread Chen, Lizhao
Hi, Chathura, I just add a JIRA for Kamal which is https://issues.apache.org/jira/browse/AXIS2-2898 I have attached the wsdl and corresponding xsds, client test code and the exceptions in it. Please check it! Best Regards! Lizhao Chen 86-021-50800850-8395 -Original Message- Fro

Re: Axis2 & rest

2007-07-03 Thread keith chapman
Here is an example assuming following is the schema. The following is how the request (the payload) will be, http://example.org/message-test/xsd";> myfirst mymiddle mylast Thanks, Keith. On 7/4/07, Raghu Upa

Re: [Axis2] Please VOTE for your favorite bug to be fixed.

2007-07-03 Thread Deepal Jayasinghe
Hi robert, good point , I will update the site with the RC this time. Thanks Deepal > Lack of getting the RC's being used by end users has I think been one > of the main causes for instability. I'd really like to try something > new this time around that might get more users using them. > > I'm

Re: Exception in rampart configuration with inflow - outflow classes

2007-07-03 Thread Dimuthu
Hi, Please try this, stub._getServiceClient().getOptions().setProperty(WSSHandlerConstants.OUTFLOW_SECURITY, ClientUtilities.getOutflowConfiguration().getProperty()); stub._getServiceClient().getOptions().setProperty(WSSHandlerConstants.INFLOW_SECURITY, ClientUtilities.getInflo

Re: HTTPS axis2 service

2007-07-03 Thread Deepal Jayasinghe
if your server has enabled SSL , then you will have https support for the serves by default. If you inly want to expose your service only in https then add the following tag to services.xml https Thanks Deepal - To unsubsc

Re: signing the timestamp within the security header

2007-07-03 Thread Dimuthu
Hi, Have you tried using "signatureParts" Parameter? This link has information on how to use it. http://ws.apache.org/wss4j/package.html Cheers, Dimuthu On Tue, 2007-07-03 at 15:26 -0600, Richard DeGrande wrote: > Hi > > > I'm using axis 1.4 and wss4j 1.5 to generate and execute a client for

Re: Axis2 & rest

2007-07-03 Thread Deepal Jayasinghe
Hi zakaria , In the current version of Axis2 (Axis2 1.2) , we support none of the below parameters. Thanks Deepal > i didn't turn off REST explicitly > i use axis2 in Intalio BPM , intalio use geronimo and axis2 > i think that axis2 disable rest by default. > > how to activate rest in axis2.xml

Re: [Axis2] Please VOTE for your favorite bug to be fixed.

2007-07-03 Thread Amila Suriarachchi
On 7/2/07, Kelvin Lin <[EMAIL PROTECTED]> wrote: I am really looking forwards to fixing this one: https://issues.apache.org/jira/browse/AXIS2-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Second part of two-part message is ignored by WSDL2Java because in my project d

Re: [Axis2] Please VOTE for your favorite bug to be fixed.

2007-07-03 Thread Amila Suriarachchi
Let me put some of my thoughts about blockers and releases. According to the current rules, we have to have zero blockers to do a release. So sometimes what we does is downgrade some issue according to their criticalness. I think this is not a necessity. As I believe deciding a blocker or not is

Re: [Axis2] Temporary files/ Stress testing with Axis2 1.2 [SEC=UNCLASSIFIED]

2007-07-03 Thread greg . lee-shoy
Hello Asankha, At the moment we are running on Windows XP, so we'll have to do some research about how to increase the open file limit on Windows. We did some further testing on this issue, and found that the "Too many open files" error only seems to occur when hot deployment is set to true i