Is it possible to do BasicAuth with Axis1?

2006-08-29 Thread William Ferguson
Without hacking the generated stubs. Or alternatively, are there any recommendations on how to invoke using an Axis2 client within Weblogic8. The problem I'm facing is that it ships with an old version of javax.xml.namespace.Qname that does not have the 3 arg constructor used by the Axis2 genera

Re: [Axis2] Service packaging how to

2006-08-29 Thread Deepal Jayasinghe
Hi Michele ; pls have a look at following reference , it will show how to put lib and properties into service archive file. http://www.developer.com/open/article.php/10930_3557741_2 >Hi all, > >I've got a simple question: which structure should the aar file have if >libraries and property files ar

web methods should return string not OM

2006-08-29 Thread MUHAMMAD IQBAL
Hi, my service is written using axis2 and have methods like: public String hello(String p){ return "hello" } 1) I want all of my web methods accept and return String xml not OM, can any one help me how can i achieve this in axis2? 2) how could i write a doc/lit style web services in

Re: AXIS2 : WSDL 2.0 implementation in Axis2

2006-08-29 Thread Anne Thomas Manes
Yes, but I advise extreme caution when building systems based on pre-standard specifications. WSDL 2.0 is a Candidate Recommendation. That's two steps below Final Recommendation. The W3C Working Group has issued a call for implementations (such as Woden) so as to test the viability of this specifi

Re: AXIS2 : WSDL 2.0 implementation in Axis2

2006-08-29 Thread Ajith Ranabahu
Hi, We do have WSDL 2.0 support based on Woden [1]. Ajith [1] http://incubator.apache.org/woden/ On 8/29/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: WSDL 2.0 specification is not yet complete. On 8/29/06, Gul Onural <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > My understanding is that the

JIRA ISSUE ClassUtil

2006-08-29 Thread Warren Crossing
Hi please excues me, I couldn't seem to post an issue to JIRA Axis-1_4 ClassUtil hides classload exceptions patch is src/org/apache/axis/utils/ClassUtils.java 205,206d204 < } else if (ret instanceof Throwable) { < throw (ClassNotFoundException)new ClassNotFoundException(_c

Re: SOLVED: Re: [Axis2] nightly exception while invoking via stub

2006-08-29 Thread Anne Thomas Manes
Even though this was caused by user error, Axis2 should not generate an NPE. Please file a JIRA. Anne On 8/29/06, Ajith Ranabahu <[EMAIL PROTECTED]> wrote: Hi, If the WSDL (schema really) has the value as nillable, ADB will generate the code to handle the null value. Ajith On 8/29/06, robert

Re: SOLVED: Re: [Axis2] nightly exception while invoking via stub

2006-08-29 Thread Ajith Ranabahu
Hi, If the WSDL (schema really) has the value as nillable, ADB will generate the code to handle the null value. Ajith On 8/29/06, robert lazarski <[EMAIL PROTECTED]> wrote: MinOccurs=0 would fix that, right? Typically its hard to program null as a valid value, because your not sure if its valid

Re: revision 227023 commons-discovery

2006-08-29 Thread Martin Gainty
Dims and Luigi-- I ran into this bug today and applied dims fix of Aug 2005 to all affected source files to fix and rebuilt the jar.. I have a strange feeling that we should be submitting this patch to someone higher up on the food chain (but I dont know who that is?) Thanks, Martin --

Re: [axis2] newbie: null rcl

2006-08-29 Thread Nolan Johnson
Stack trace, on server side: 2006-08-29 15:20:53,393 ERROR org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver - Exception occurred while trying to invoke service method browse org.apache.axiom.om.OMException: java.lang.IllegalArgumentException: null rcl at org.apache.axiom.om.impl.bu

Re: SOLVED: Re: [Axis2] nightly exception while invoking via stub

2006-08-29 Thread robert lazarski
MinOccurs=0 would fix that, right? Typically its hard to program null as a valid value, because your not sure if its valid or not. HTH, Robert http://www.braziloutsource.com/ On 8/29/06, Nirmit Desai <[EMAIL PROTECTED]> wrote: Hi Robert, All my fault... Thanks for pointing that one out. I fou

SOLVED: Re: [Axis2] nightly exception while invoking via stub

2006-08-29 Thread Nirmit Desai
Hi Robert, All my fault... Thanks for pointing that one out. I found deep down somewhere one of the fields of an ADB bean was not being set and so was left null. And SOAPMonitor did not display anything as its connection to server was lost :) The problem was on the service side trying to serializ

Re: [axis2] newbie: null rcl

2006-08-29 Thread robert lazarski
Try posting a full stracktrace and your code and maybe we can help. Robert http://www.braziloutsource.com/ On 8/29/06, Nolan Johnson <[EMAIL PROTECTED]> wrote: Can somebody explain to me what the following exception means: org.apache.axiom.om.OMException: java.lang.IllegalArgumentException: nu

Re: [Axis2] nightly exception while invoking via stub

2006-08-29 Thread Nirmit Desai
Hi Robert, Thanks for even looking at this deep exception trace. My confusion is that this operation takes no parameters (empty in), and the stub code looks right. The ArrayOfServiceBundle, and ServiceBundle are ADB types for the return from the operation. Then, why do I not see anything (request

Re: [Axis2] nightly exception while invoking via stub

2006-08-29 Thread robert lazarski
Caused by: java.lang.NullPointerException at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeCharacters( MTOMXMLStreamWriter.java:194) at com.ibm.sobe.xsd.ServiceBundle$1.serialize(ServiceBundle.java:307) at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerialize

[axis2] newbie: null rcl

2006-08-29 Thread Nolan Johnson
Can somebody explain to me what the following exception means: org.apache.axiom.om.OMException: java.lang.IllegalArgumentException: null rcl This seems to have something to do with my passing custom objects around in RPC messages. I'm really not sure what, though. Thanks. _

[Axis2] nightly exception while invoking via stub

2006-08-29 Thread Nirmit Desai
Hi, What does the exception below mean? it gives me no clue. I get this when trying to invoke an operation (doc/lit) via a generated stub. This is from 8/24 nightly. I do not see any messages in the SOAPMonitor...so service implementation is out of question.. Only if I can understand what this i

Re: [Axis2] Codegen Task failing

2006-08-29 Thread robert lazarski
http://people.apache.org/dist/axis2/nightly/ HTH, Robert http://www.braziloutsource.com/ On 8/29/06, Nathaniel Auvil <[EMAIL PROTECTED]> wrote: is there any work around for this? On 8/29/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > This bug has been fixed in latest SVN. Please try a nig

Re: [Axis2] Codegen Task failing

2006-08-29 Thread Nathaniel Auvil
is there any work around for this?On 8/29/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: This bug has been fixed in latest SVN. Please try a nightly build.-- dimsOn 8/29/06, Nathaniel Auvil <[EMAIL PROTECTED]> wrote:> I am using Axis 2 1.0 and geting the following error when trying to use the> co

Re: Axis2 1.0 RC1 Weblogic 9.1 installation problem

2006-08-29 Thread nj_us
I had similar problem. Unpacking the war file and deploying the directory solved the problem. Lharka wrote: > > Hi, > > I have the same problem on Weblogic 9.1 > I checked and the war is unpack. > > Thanks, > > Lharka > -- View this message in context: http://www.nabble.com/Axis2-1.0-R

Re: AXIS2 : WSDL 2.0 implementation in Axis2

2006-08-29 Thread Anne Thomas Manes
WSDL 2.0 specification is not yet complete. On 8/29/06, Gul Onural <[EMAIL PROTECTED]> wrote: Hi, My understanding is that the current version of the Axis2 implemented WSDL 1.1. Does anyone know when the implementation of WSDL 2.0 is planned for ? Thanks, Gul Onural

Re: [Axis2] change in envelope from 1.0 to nightly

2006-08-29 Thread Anne Thomas Manes
This is a bug. Please enter a JIRA for it. On 8/29/06, Nirmit Desai <[EMAIL PROTECTED]> wrote: Hi, I used to use Axis2 1.0, and now shifted to the nightlies. I always used doc/lit style. When I look at the envelopes being exchanged over the wire, I see that the request messages for operations

Re: [axis2]Rampart verification

2006-08-29 Thread Ruchith Fernando
Hi, We usually add a timestamp and sign the timestamp as well. This will ensure that this message cannot be replayed after the expiration of the timestamp. Thanks, Ruchith On 8/28/06, Jones, Alan R <[EMAIL PROTECTED]> wrote: I am trying to make sure that Rampart is failing my spoofed SOAP mess

[Axis2] change in envelope from 1.0 to nightly

2006-08-29 Thread Nirmit Desai
Hi, I used to use Axis2 1.0, and now shifted to the nightlies. I always used doc/lit style. When I look at the envelopes being exchanged over the wire, I see that the request messages for operations having no parameters are encoded differently. I have put envelope sample below. With 1.0, the re

AXIS2 : WSDL 2.0 implementation in Axis2

2006-08-29 Thread Gul Onural
Title: AXIS2 : WSDL 2.0 implementation in Axis2 Hi, My understanding is that the current version of the Axis2 implemented WSDL 1.1. Does anyone know when the implementation of WSDL 2.0 is planned for ? Thanks, Gul Onural

[Axis2] broken nightly build

2006-08-29 Thread Michele Mazzucco
Hi all, has anybody experienced problems with the latest nightly build (I've now reverted to the nightly build of 23.08)? Thanks, Michele - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: [Axis2] Codegen Task failing

2006-08-29 Thread Anne Thomas Manes
Axis2 1.1 is tentatively scheduled to come out at the end of September. On 8/29/06, Nathaniel Auvil <[EMAIL PROTECTED]> wrote: when is a point release of 2.0 coming out? On 8/29/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > This bug has been fixed in latest SVN. Please try a nightly build

Re: [Axis2] Codegen Task failing

2006-08-29 Thread Nathaniel Auvil
when is a point release of 2.0 coming out?On 8/29/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: This bug has been fixed in latest SVN. Please try a nightly build.-- dimsOn 8/29/06, Nathaniel Auvil < [EMAIL PROTECTED]> wrote:> I am using Axis 2 1.0 and geting the following error when trying to use

Re: How to include an xmlbeans?

2006-08-29 Thread Anne Thomas Manes
Configure your xmlbean to generate an XML Schema definition rather than a DTD. Then either import the schema or include it inline in the WSDL. Anne On 8/29/06, ZHAO <[EMAIL PROTECTED]> wrote: Hello, I use WSDL2Java to generate java files, how can I include some particular xmlbeans (a generated

Re: [Axis2] Codegen Task failing

2006-08-29 Thread Davanum Srinivas
This bug has been fixed in latest SVN. Please try a nightly build. -- dims On 8/29/06, Nathaniel Auvil <[EMAIL PROTECTED]> wrote: I am using Axis 2 1.0 and geting the following error when trying to use the codegen ant task javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream

[Axis2] Codegen Task failing

2006-08-29 Thread Nathaniel Auvil
I am using Axis 2 1.0 and geting the following error when trying to use the codegen ant taskjavax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not foundI am guessing this has something to do with axis not including a STaX implementation?  Where can i get one?  A

How to include an xmlbeans?

2006-08-29 Thread ZHAO
Hello,I use WSDL2Java to generate java files, how can I include some particular xmlbeans (a generated jar file) in the build.xml??Thank you!The following is my build.xml.                     ]>     &properties;    &paths;     &taskdefs;    &taskdefs_post_compile

Re: [Axis2] Service packaging how to

2006-08-29 Thread Ali Sadik Kumlali
Hi Michele, I can use property files found under /WEB-INF/classes without any problem. What do you mean with "it does not work properly"? Regards, Ali Sadik Kumlali - Original Message From: Michele Mazzucco <[EMAIL PROTECTED]> To: Axis user mailing list Sent: Tuesday, August 29, 200

Re: Getting Invocation exception while calling my service

2006-08-29 Thread shrabank
Hi, I have all the required jar files whatever is required for the webservice to work still i am getting the same error. If u want me i can list out all the jar files which i am adding to my project to build.Its a simple web server application having one servlet,many jsp and tomcat as we

RE: Getting Invocation exception while calling my service

2006-08-29 Thread Srinath K
All the required jar files for the server code (webservice) to work properly -Original Message- From: shrabank [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 7:16 PM To: axis-user@ws.apache.org Subject: Re: Getting Invocation exception while calling my service Hi , I have

Re: Getting Invocation exception while calling my service

2006-08-29 Thread shrabank
Hi , I have all the jar files set in my classpath as well as server side. I am building it through eclipse and client and service are in the same machine.That means they are taking the same jar files and classpath. Can you specify what jar files are u talking about when u say that. Srinath

RE: Getting Invocation exception while calling my service

2006-08-29 Thread Srinath K
Check whether you have all the required jar files in the classpath at the server end -Original Message- From: shrabank [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 6:56 PM To: axis-user@ws.apache.org Subject: Getting Invocation exception while calling my service Hi , I a

Getting Invocation exception while calling my service

2006-08-29 Thread shrabank
Hi , I am trying to access my web service from the servlet and the servlet is acting as my client. But while i am trying to call my service through that servlet its throwing me java lang Invocation exception. I am sending my snippet of code on how i am accessing my web service from the

Re: Exception in thread "main" org.apache.axis2.AxisFault: java.lang.NullPointerException

2006-08-29 Thread Anne Thomas Manes
More information, please: - WSDL - configuration On 8/29/06, Eric Chow <[EMAIL PROTECTED]> wrote: What caused the following error ? package test.client; import java.util.Calendar; import org.apache.axis2.databinding.ADBBean; import test.gen.EchoserviceStub; import test.service.xsd.Echo; im

[Axis1.4] Problem to deserialize Bean with an ArrayList attribute

2006-08-29 Thread Laurent Berthelot
Hello all,I want to deserialize a bean with an ArrayList attribute and it seems don't work...Have you an idee to do that ?Thanks a lot !

Re: Axis2 client problem ?

2006-08-29 Thread Anne Thomas Manes
Axis2 does not support SOAP Encoding. Anne On 8/29/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: Can you please create a JIRA issue , by attaching service archive file and wsdl Thanks Deepal Eric Chow wrote: > Hi Deepal, > > I used the codegen but also failed. > > If the return type is St

Re: Returning null, the .net client dont get null

2006-08-29 Thread Anne Thomas Manes
You must specify that the return element is nillible: Anne On 8/29/06, HHDirecto. Net <[EMAIL PROTECTED]> wrote: I have a axis 1.4 web service, My web service return an object, but when the object is null, the .net client don't get object= null, It get object.field1=0, object.field2="" ... W

RE: [Axis2] What is ths use of addReson method of A xisFault

2006-08-29 Thread Charak, Vikas
Thanks for the info. I was expecting it to set as well. But when I used addReason() to set the value of fault string and looked at the XML out put at client side, it did not set faulstring. And what I found is that only new AxisFault(faultrsing) is setting the faultstring value. I am using Aug-21-

[Axis2] Service packaging how to

2006-08-29 Thread Michele Mazzucco
Hi all, I've got a simple question: which structure should the aar file have if libraries and property files are included? Is the default (i.e. classes in / and libraries in /lib) ok? And what about the property files? I've tried also to store classes as well as property files (i.e. log4j configu

addParameter --> I can put rubish?

2006-08-29 Thread Miguel Correia Ricardo
Hi, I'm doing a dynamic invocation with an axis client. And I've noticed, when I use the method addParameter(...), If i put something rubish in the QName ("aaa", "aaa"), for example, the dynamic invocation still works. But why? Shouldn't the qualified name mean something meaningful in the addPara

Returning null, the .net client dont get null

2006-08-29 Thread HHDirecto . Net
I have a axis 1.4 web service, My web service return an object, but when the object is null, the .net client don't get object= null, It get object.field1=0, object.field2="" ...Where is the problem?Thankss The webservice response is this: http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http:/

DEBUG Info from axis 1.4

2006-08-29 Thread smcardle
Hi all, In axis 1.4 I get the following exception thrown when I set the logging level to DEBUG. I do not think this causes any problems with the code (cant be sure as I am trying to debug other stuff at the moment) but it is really annoying as it fills my log files and detracts from the abili

RE: Error Overloading methods

2006-08-29 Thread Chandrashekar_Sudars
No You cannot have overloaded methods.. From: HHDirecto.Net [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 1:13 PMTo: axis-user@ws.apache.orgSubject: Error Overloading methods When I create 2 web service as overload methods (same name with diferent parameters) I get this error:A

Error Overloading methods

2006-08-29 Thread HHDirecto . Net
When I create 2 web service as overload methods (same name with diferent parameters) I get this error:Attempted to write duplicate schema element : In my webservice I need use: provider="java:RPC" style="wrapped" use="literal"Can axis do overload web service?Thanks

Re: Axis2 client problem ?

2006-08-29 Thread Deepal Jayasinghe
Can you please create a JIRA issue , by attaching service archive file and wsdl Thanks Deepal Eric Chow wrote: > Hi Deepal, > > I used the codegen but also failed. > > If the return type is String, no problem but if I return a customer > JavaBean, it raised the following exception: > > > public