Re: [Axis2] invoke REST service with url params

2006-12-06 Thread Salma Soleil
If I understand your question correctly, if your operation looks like this: getEcho(String part1), then your REST request would be as you have written http://localhost:8080/axis2/MyService/getEcho?part1=helloREST So multiple parameter as in getEcho(String part1, String part2) would look like th

Re: rampart question

2006-12-06 Thread Ruchith Fernando
Hi, On 12/7/06, George Stanchev <[EMAIL PROTECTED]> wrote: Hi, I know this has been covered in the past, but i have a service that engages rahas and rampart running under Tomcat 5.5. It has a PWCallback class to check and validate passwords and other stuff. I get NoClassDefFoundError when I

Re: Comparison between AXIS 1.1 and AXIS 2

2006-12-06 Thread Nilesh Ghorpade
Thanks Robert :-) - Original Message From: robert lazarski <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent: Wednesday, December 6, 2006 7:06:15 PM Subject: Re: Comparison between AXIS 1.1 and AXIS 2 The migration guide is a good start: http://ws.apache.org/axis2/1_1/migration.htm

rahas

2006-12-06 Thread George Stanchev
Hi, Is there a reason rahas is a module at all? In previous builds rahas was a service (aar), which i thought makes more sense - after all, it has a service functionality in it, and if someone wants to extend it, why do they have to define a dummy service (as in the test cases) just to serve a RS

rampart question

2006-12-06 Thread George Stanchev
Hi, I know this has been covered in the past, but i have a service that engages rahas and rampart running under Tomcat 5.5. It has a PWCallback class to check and validate passwords and other stuff. I get NoClassDefFoundError when I hit the service with WSPasswordCallback missing (it is used insi

[Axis2] invoke REST service with url params

2006-12-06 Thread Ran
Hi, I have got REST working under http://localhost:8080/axis2/MyService/getEcho getEcho is an operation of MyService. How do I invoke getEcho with parameters to pass in input ? such as http://localhost:8080/axis2/MyService/getEcho?part1=helloREST would call getEcho with parameter part1 set to hel

Web security accessing AXIS on Tomcat

2006-12-06 Thread Carlos S. Zamudio
Hi. I'm new to AXIS2 and Web Services in general. I've been able to get things going with AXIS2 configured using Tomcat. I've been able to build and run the samples and have build some of my own now, running in my Intranet. This is great stuff. What is mystery to me, however, is how to ensure

quickstart.clients.AXIOMClient file dependency

2006-12-06 Thread Martin Gainty
Hello All- while running AXIOMClient (AXIS 2 v 1.1) from quickstart java samples.quickstart.clients.AXIOMClient I see this error Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/utils/NamespacePrefixList while looking at the docs for commons-schema located

Re: WS debugging in Eclipse

2006-12-06 Thread Manoj Khangaonkar
Hi Vladi, Assuming you are running AXIS2 with Tomcat, Here is a link on how to debug tomcat with eclipse http://tomcat.apache.org/faq/development.html#rd-eclipse SInce you are interesed in debugging AXIS2 , put appropriate break points in the AXIS2 code. The same concept applies to any other

Re: WSDL2Java cannot create stubs

2006-12-06 Thread robert lazarski
Post your wsdl and tell us which databinding you are using and maybe we can help. Robert On 12/6/06, Jacob, Binu <[EMAIL PROTECTED]> wrote: Hi All, With axis2 1.1, I can not create stubs for one of my wsdls. The same wsdl had no problems with axis2 1.0. I get the following error when I

RE: WS Addressing in Axis 2.0 (Ver 1.0) ReplyTo

2006-12-06 Thread Sunil Choudhari -X \(suchaudh - Satyam at Cisco\)
There was issue in my client, which I fixed. Now I am getting request in the SOAP Monitor. But How can I get response from MyService. MySerive is the Standard service provided by Axis2. I want to call echo Operation of that Service. Thanks Sunil -Original Message- From: Sunil Choudhar

WS Addressing in Axis 2.0 (Ver 1.0) ReplyTo

2006-12-06 Thread Sunil Choudhari -X \(suchaudh - Satyam at Cisco\)
Hi, I am not able to send my service response to other service. Find below Service Code: import javax.xml.namespace.QName; import org.apache.axiom.om.OMAbstractFactory; import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; import org.apache.axiom.om.OMNamespace; import org.

Re: [Axis2] Exception thrown at Predispatch Phase

2006-12-06 Thread Deepal Jayasinghe
hi korges ; One more thing can u pls post your request message , it seems to me the problem is in addressing headers of your message. Thanks Deepal >The Exception is: org.apache.axis2.AxisFault: A required header representing >a Message Addressing Property is not present > >What exactly does tha

Re: [Axis2] Exception thrown at Predispatch Phase

2006-12-06 Thread David Illsley
http://log.illsley.org/2006/10/05/a-required-header-representing-a-message-addressing-property-is-not-present/ David On 06/12/06, korges <[EMAIL PROTECTED]> wrote: The Exception is: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present What exac

Re: How to configure axis2-1.1 to support JAXB-RI

2006-12-06 Thread Davanum Srinivas
s/both implement the same spec/both implement different versions of the same spec/ :) -- dims On 12/6/06, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote: On Fri, 2006-12-01 at 16:46 -0800, Brennan Spies wrote: > Jim, > > > > The official implementation that will be supported by Axis 2 is > Apach

RE: [Axis2] Exception thrown at Predispatch Phase

2006-12-06 Thread korges
The Exception is: org.apache.axis2.AxisFault: A required header representing a Message Addressing Property is not present What exactly does that mean? Thanks -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 6. Dezember 2006 21:58 To: axis-user@ws.apac

Re: [Axis2] Exception thrown at Predispatch Phase

2006-12-06 Thread Deepal Jayasinghe
Do you have the exception that you got , if so please post that to the list , otherwise its bot hard me to figure out the issue. Thanks Deepal korges wrote: >Hi > >I'm still trying to get my service work on smtp > >I got some problems dispatching my message. An Exception is thrown during >th

[Axis2] Exception thrown at Predispatch Phase

2006-12-06 Thread korges
Hi I'm still trying to get my service work on smtp I got some problems dispatching my message. An Exception is thrown during the Predispatch Phase, after the transport and security phase are passed. I'm not able to clarify where the exception exactly was thrown from. Which handler/ classes ar

Re: how to get soap header from stub in axis2

2006-12-06 Thread Sanjiva Weerawarana
A stub uses an operation client inside each method. The life of the operation client is thus equal to the life of that method call. An option would be to add a method to ServiceClient() to get the "last" used operation client. Then one could get the last operation client, get the appropriate messag

RE: How to configure axis2-1.1 to support JAXB-RI

2006-12-06 Thread Sanjiva Weerawarana
On Fri, 2006-12-01 at 16:46 -0800, Brennan Spies wrote: > Jim, > > > > The official implementation that will be supported by Axis 2 is > Apache’s own JaxMe. JaxMe is not “1.0” yet (0.5.2—of course, version > numbers are not always an indicator of quality ;-), so I imagine that > Axis 2 support

Re: [Axis2 1.1] using java2wsdl with interfaces

2006-12-06 Thread Sanjiva Weerawarana
On Fri, 2006-12-01 at 14:52 -0500, Steve Terrell wrote: > I have several interface classes I am using to generate my WSDL. The > element names that come out are meaningless (param0, param1, etc...) I > expect that from an interface, though. However, is there a way I can > tell java2wsdl which class

Re: [axis2 1.1.1]original wsdl soap:address altered

2006-12-06 Thread Sanjiva Weerawarana
Deepal, isn't it the case that we always replace the port info with generated stuff? Nirmit, are you asking that Axis2 take the *entire* given WSDL and not even generate the address of the service? To me that seems risky as that means the user has create the service .aar with runtime specific inf

Re: [AXIS2]: How to enable 2D Array Encoding ?

2006-12-06 Thread Sanjiva Weerawarana
On Mon, 2006-12-04 at 09:29 +0100, Alessandro Marini wrote: > Hi! > > I need to make a service that send and receive 2D Array parameters type (for > example String[][] or byte[][]). > > I Know that it's possible on axis1 setting the following tag on > globalConfiguration: > > > > There's no

cannot download wsdl2code maven2 plugin

2006-12-06 Thread Jim Alateras
I am having problems with the instructions on the wsdl2code maven plugin as specified here (http://ws.apache.org/axis2/tools/1_1/maven-plugins/maven-wsdl2code-plugin.html). When I run mvn wsdl2code:wsdl2code I get the following error, indicating that it cannot locate the plugin. C:\projects\

RE: Messages with many parts

2006-12-06 Thread Javier Kohen
El mié, 06-12-2006 a las 14:07 -0500, Bhatra, Junaid escribió: > If you have the WSDL you can certainly try WSDL2Java (Axis 1.x or Axis2) and > check if it handles this for you. I don't know if it can, so you will have to > try it out. Even though you are writing the WSDL, it has to be consistent

RE: Messages with many parts

2006-12-06 Thread Bhatra, Junaid
If you have the WSDL you can certainly try WSDL2Java (Axis 1.x or Axis2) and check if it handles this for you. I don't know if it can, so you will have to try it out. Even though you are writing the WSDL, it has to be consistent w/ the SOAP messages that your web service expects (input messages

WSDL2Java cannot create stubs

2006-12-06 Thread Jacob, Binu
Hi All, With axis2 1.1, I can not create stubs for one of my wsdls. The same wsdl had no problems with axis2 1.0. I get the following error when I use the command line tool as well the eclipse plugin. Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException : java

Re: WS debugging in Eclipse

2006-12-06 Thread Rajith Attapattu
Vladi, Another more easy option would be for you to deploy your services on axis2 and then remote debug using eclipse. You can also use tcpmon http://ws.apache.org/commons/tcpmon/ to check the SOAP messages that are exchanged between the service and the client. Regards, Rajith On 12/6/06, VF

RE: Messages with many parts

2006-12-06 Thread Javier Kohen
El mié, 06-12-2006 a las 10:53 -0500, Bhatra, Junaid escribió: > In Axis 1.x, you can try using the Call interface passing it an array of > org.apache.axis.message.SOAPBodyElement as parameter. I believe this > should generate the message that you require (multiple elements as > children of SOAP Bo

Re: [Axis2]: producing a nicely formatted wsdl file with the java2wsdl tool ?

2006-12-06 Thread S. Sharif
Thank you. Do you have a link to a page on how to add the jtidy plugin to the java2wsdl? Thanks. --- Ajith Ranabahu <[EMAIL PROTECTED]> wrote: > You can use the jtidy - infact we have a jtidy > plugin for WSDL2Java > > Ajith > > On 12/5/06, Javier Kohen > <[EMAIL PROTECTED]> wrote: > > El ma

Re: [Axis2]: producing a nicely formatted wsdl file with the java2wsdl tool ?

2006-12-06 Thread S. Sharif
Thank you. Do you have a link to a page on how to add the jtidy plugin to the WSDL2Java? Thanks. --- Ajith Ranabahu <[EMAIL PROTECTED]> wrote: > You can use the jtidy - infact we have a jtidy > plugin for WSDL2Java > > Ajith > > On 12/5/06, Javier Kohen > <[EMAIL PROTECTED]> wrote: > > El ma

RE: Messages with many parts

2006-12-06 Thread Bhatra, Junaid
In Axis 1.x, you can try using the Call interface passing it an array of org.apache.axis.message.SOAPBodyElement as parameter. I believe this should generate the message that you require (multiple elements as children of SOAP Body). Of course you will have to manually create the message yourself as

Axis 1.4 Strange behaviour

2006-12-06 Thread Miguel Correia Ricardo
Hi you all, I'm getting all stressed out with a strange behaviour in Axis version 1.4. When I deploy a webservice, with my own custom handler, the wsdl gets generated. One of the methods, has a parameter of the type ArrayOf_soapenc_int. That is fine, because what I want to do, when I generated my

Java 5 Enum Support

2006-12-06 Thread Johnson, Larry D \(LJOHNSON\)
I am new to Axis2 and am trying to develop a web service using Axis 2 v1.1, Java 1.5 and the POJO approach. The service POJO that I developed uses the keyword "enum" for many different attribute "types". I am able to successfully generate WSDL from the POJO; however, when I try to create the clie

RE: Building the Service using AXIOM Sample

2006-12-06 Thread Nisheed Raveendran
Hi, The messageReceiver tells that it is an in-out operation. The message receiver for getPrice is an in-out message receiver (RawXMLINOutMessageReceiver) Regards, nisheedh -Original Message- From: Danny Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06,

RE: Building the Service using AXIOM Sample

2006-12-06 Thread Danny Lin
Thank you for writing, Michele, This is what the services.xml looks like. It is downloaded directly from Axis2 website. How do I tell if it is defined as in-out operation? Stock Quote Service samples.quickstart.service.axiom.StockQuoteS

Re: Comparison between AXIS 1.1 and AXIS 2

2006-12-06 Thread robert lazarski
The migration guide is a good start: http://ws.apache.org/axis2/1_1/migration.html Robert On 12/6/06, Nilesh Ghorpade <[EMAIL PROTECTED]> wrote: Hi Guys, Needed some information on the differences between the AXIS 1.1. and AXIS 2 versions. Thanks in advance Nile __

Re: Building the Service using AXIOM Sample

2006-12-06 Thread Michele Mazzucco
http://ws.apache.org/axis2/1_1/quickstartguide.html#axiom Is getPrice defined in services.xml as in-out operation? Michele Danny Lin wrote: > I am new to Axis2. I am going through the "Axis2 Quick Start Guide". I > was able to run the Stock Quote using POJO. But when I run the example > code usi

Comparison between AXIS 1.1 and AXIS 2

2006-12-06 Thread Nilesh Ghorpade
Hi Guys, Needed some information on the differences between the AXIS 1.1. and AXIS 2 versions. Thanks in advance Nile Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.

Re: WS debugging in Eclipse

2006-12-06 Thread Manuel Ernstberger
Hi Vladi, with Eclipse WTP (http://www.eclipse.org/webtools/) you can run your web services on an application server in debug mode. Regards, Manuel Original-Nachricht Datum: Wed, 6 Dec 2006 09:56:54 +0100 Von: "VF" <[EMAIL PROTECTED]> An: axis-user@ws.apache.org Betreff: WS

WS debugging in Eclipse

2006-12-06 Thread VF
Hi all, Is it possible to debug web services in Eclipse? Vladi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]