Re: axis2-wsdl2code-maven-plugin use

2009-07-13 Thread Håkon Sagehaug
Hi Not sure this is exact what you are asking about but here is how I use the plugin, I have a separate class stored in src/main/java that extends the skeleton created by wsdl2code tool and implements the service. Then change the ServiceClass parameter in service xml file to refer to the new

Re: Is it possible to invoke multiple services in a single transaction?

2009-07-13 Thread Andreas Veithen
It depends on what you mean by single transaction or single SOAP. Andreas On Mon, Jul 13, 2009 at 07:37, Chinmoy Chakrabortycch...@gmail.com wrote: Hi All, I didn't get any response for my previous query so I am sending again. Could you please tell me, Is it possible to invoke multiple

.jar or .aar | Preference by axis2?

2009-07-13 Thread Appasamy Thirugnana
I have my Skeleton class in both .aar and .jar under my lib of axis2.war. Which one will get picked if my service gets called? Thanks, Appu Appasamy T

Re: Is it possible to invoke multiple services in a single transaction?

2009-07-13 Thread Chinmoy Chakraborty
Andreas, Thanks for reply. I have three services deployed in the server *authenticate, listfinction and ABS*. Below is the 3 SOPAs for 3 webservice call (from client) captured in SOAPMonitor: *authenthicate service SOAP* ?xml version='1.0' encoding='utf-8'? soapenv:Envelope

Re: WSDL gen error

2009-07-13 Thread Lars Ericsson
HI Demtirs! I couldn't understand what is your problem, please describe more about your problem. The namespace can be anything, and it is nothing to do whit network, connection or anything else. Please read more about namespace. but if you get two different wsdl from two different environment,

Re: Is it possible to invoke multiple services in a single transaction?

2009-07-13 Thread Lars Ericsson
What are you meaning with multiple services? There is just one respons for one request.. and authentication hasn't to do with transaction. Do you know how you can and why you should, use the webservice!? From: Chinmoy Chakraborty cch...@gmail.com To:

Re: .jar or .aar | Preference by axis2?

2009-07-13 Thread Lars Ericsson
is your webservice working now? if yes, just delete one of them if it works still, that one is working. :) From: Appasamy Thirugnana athirugn...@sapient.com To: axis-user@ws.apache.org axis-user@ws.apache.org Sent: Monday, July 13, 2009 9:38:03 AM Subject: .jar

RE: Is it possible to invoke multiple services in a single transaction?

2009-07-13 Thread Taariq Levack
Then create a web service that takes as input all the data for all the services, have that service call other services. Taariq From: Lars Ericsson [mailto:larslars9...@yahoo.com] Sent: 13 July 2009 10:46 To: axis-user@ws.apache.org Subject: Re: Is it possible to invoke multiple services in a

Re: Is it possible to invoke multiple services in a single transaction?

2009-07-13 Thread Chinmoy Chakraborty
Guys, Thanks for the reply. One of our client has this requirement. They want to authenticate, call some services and close (call close service) the session in a single request by which they don't have any orphaned sessions. I have three services deployed in the server authenticate, listfinction

Re: Is it possible to invoke multiple services in a single transaction?

2009-07-13 Thread Lars Ericsson
You have three webservices, and you want to use just one client to access for all three services! is it right? No it is not possible. you should have a client for eache service. it have several resones, one of this can be the have differnet namespace and different functions and so on. but

WSDL generated

2009-07-13 Thread Miha Vitorovic
Hi all, the way I understand this WSDL snippet (although my knowledge is limited, I confess) s:complexType name=CancelSalesOrderRequest s:complexContent mixed=false s:extension base=tns:Request s:sequence s:element name=OrderClose

Send raw message

2009-07-13 Thread Miha Vitorovic
Hi all, While I understand that the point of AXIS is to remove the need for generating raw XML, I would still like to know if it is possible to do something similar to that. Why? Well, my deadline is approaching, and if I don't solve the problems I'm facing, I'd like to use the option as a

Re: Send raw message

2009-07-13 Thread Lars Ericsson
I'm not sure, i f i understand your problem. make a class with help of apache-httpclient and send your stirng to the server maybe you should define documentation-type and so on. you can look at this page to see how you can make a httpclinet with appache-httpclient.

Re: Send raw message

2009-07-13 Thread Andreas Veithen
If you are using Axis2, you can use ServiceClient to send XML (as an OMElement). BTW, did you check the messages with a schema validator to see which one is right? Andreas 2009/7/13 Miha Vitorovic mvitoro...@nil.si: Hi all, While I understand that the point of AXIS is to remove the need for

Axis2 + Jaxb

2009-07-13 Thread Amit Sharma
Hi, Sorry if this is a duplicate post, Can any one please suggest a good example of jaxb with axis2, as I am finding it difficult to find one. Any good articles also will help me. Thanks Amit Sharma -- View this message in context:

Re: WSDL gen error

2009-07-13 Thread Demetris G
Hi Lars, thanks for the response and the info regarding the namespace. My issue is the following - We have the Axis (1.4) bundles running in the OSGi container on a set of Linux machines with no issues. Web Services can be published and invoked upon - the WSDL files that are generated

Re: Send raw message

2009-07-13 Thread Miha Vitorovic
Thanks for the OMElement pointer, I'll check it out. As for the validator, I'm pretty new at this, and don't know much about it. Just point me in the direction of a few documents, and I'll make use of it ;) Br, --- Miha Vitorovic Inženir v tehničnem področju Customer Support Engineer

Re: Send raw message

2009-07-13 Thread Andreas Veithen
There are probably some online validators. Eclipse also has a validator. Andreas 2009/7/13 Miha Vitorovic mvitoro...@nil.si: Thanks for the OMElement  pointer, I'll check it out. As for the validator, I'm pretty new at this, and don't know much about it. Just point me in the direction of a

UnsupportedOperationException - changing non void method to void

2009-07-13 Thread William Shatner
Hi all... I've returned to this project and I still have the same issue. If my web service exposes a public method that returns a string everything is fine, but if i change this to a void method, regenerate the web service (using Eclipse) I get the following error when i call this method. If I

Re: UnsupportedOperationException - changing non void method to void

2009-07-13 Thread Deepal Jayasinghe
I fixed this issue recently, if you can please check with Axis2 trunk. I have even added a test case too. Thank you! Deepal On Mon, Jul 13, 2009 at 6:00 PM, William Shatnershatner.will...@gmail.com wrote: Hi all... I've returned to this project and I still have the same issue. If my web

Axis skips generating type if it thinks it can just make an array

2009-07-13 Thread KARR, DAVID (ATTCINW)
I'm using Axis 1.3. I have a schema with a complexType which has a single sequence of one element (unbounded count on that one element). It looks something like this (the commented element will come up later): xs:complexType name=SomethingItemPropertyListInfo xs:sequence

Re: Axis skips generating type if it thinks it can just make an array

2009-07-13 Thread Yashvant chauhan
I think you dont required to declare SomethingItemPropertyListInfo as complex element use simple element only On Tue, Jul 14, 2009 at 4:21 AM, KARR, DAVID (ATTCINW) dk0...@att.comwrote: I'm using Axis 1.3. I have a schema with a complexType which has a single sequence of one element

unsubscribe

2009-07-13 Thread Agila Govindaraju