Re: [Axis2] Problem in passing XML data as String parameter

2006-09-22 Thread Anne Thomas Manes
The problem is that it's only partially escaping the fragment for you. You want the message to read either: True (which is how it should be if you are sending the value as a string) or True (which is sending the data as XML) Anne On 9/22/06, Satyajit Jha <

Re: AxisFault: Reader cannot be null

2006-09-22 Thread Davanum Srinivas
i mean the server-side code and the services.xml -- dims On 9/22/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: Could you please create an issue in our bug tracker with sample code to recreate the problem. thanks, dims On 9/22/06, D. Kreft <[EMAIL PROTECTED]> wrote: > Additional info... > >

Re: AxisFault: Reader cannot be null

2006-09-22 Thread Davanum Srinivas
Could you please create an issue in our bug tracker with sample code to recreate the problem. thanks, dims On 9/22/06, D. Kreft <[EMAIL PROTECTED]> wrote: Additional info... This only happens when calling methods that return complex data types (objects, arrays of objects). It works fine if the

Re: [Axis2][Post 1.0-20060920] Problem while reaching container's context from within service skeleton

2006-09-22 Thread Davanum Srinivas
Fixed. See http://issues.apache.org/jira/browse/AXIS2-1214 for info. Please try a nightly in a few hours and holler if it does not work or even if it works :) thanks -- dims On 9/22/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: OK :) Thanks a ton Dims! P.S.: Thank you very much Martin. I ha

Re: Missing jar

2006-09-22 Thread Davanum Srinivas
Fixed. Thanks. -- dims On 9/21/06, Spies, Brennan <[EMAIL PROTECTED]> wrote: I got an error when trying to upload a service to the Axis2 web application: Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream It was easily fixed by adding commons-io-1.

Re: AxisFault: Reader cannot be null

2006-09-22 Thread D . Kreft
Additional info... This only happens when calling methods that return complex data types (objects, arrays of objects). It works fine if the return type is something simple (integer, primitive array of strings): % ./scripts/service --method ping Consulting Axis (1.x) Service... $VAR1 = '1'; % .

AxisFault: Reader cannot be null

2006-09-22 Thread D . Kreft
I've Googled for this fault meessage as well as searched the axis-user@ mailing list and couldn't find anything helpful. I've got a test script that I wrote that can call methods on both my Axis and Axis2 services (on the same host, FWIW). The Axis 1.x calls always return results, but the Axis2 c

RE: Are we missing java2WSDL ant task

2006-09-22 Thread Charak, Vikas
Do we have any example on how to use it? Thanks a lot. -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 5:38 PM To: axis-user@ws.apache.org Subject: Re: Are we missing java2WSDL ant task In the latest build try axis2-java2wsdl-SNAPSHOT.

Re: Are we missing java2WSDL ant task

2006-09-22 Thread robert lazarski
In the latest build try axis2-java2wsdl-SNAPSHOT.jar . HTH, Robert On 9/22/06, Charak, Vikas <[EMAIL PROTECTED]> wrote: I looked at the source code and there is Java2Wsdl task http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/s rc/org/apache/axis2/tool/ant/Java2WSDLTask.jav

Are we missing java2WSDL ant task

2006-09-22 Thread Charak, Vikas
I looked at the source code and there is Java2Wsdl task http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/s rc/org/apache/axis2/tool/ant/Java2WSDLTask.java?revision=376864&view=mar kup&pathrev=376864 But I could not find this in latest nightly builds under axis2-tools-SNAPSHO

Re: [Axis2] Problem in passing XML data as String parameter

2006-09-22 Thread Satyajit Jha
Hi Anne,Thanks for your response. I do believe that the problem is due to the reasons I mentioned. I will try to provide a context here. I am using axis2 generated client stub for accessing MS Reporting Service  (MSRS) 2005 web service. I am trying to render HTML reports using this and I am able to

RE: [Axis2] jar conflicts

2006-09-22 Thread Spies, Brennan
Jesse, We use Websphere 5.1.1 as well. I am using the nightly (9/22) build, and am deploying the axis2.war as an EAR file (customized web.xml). I too was seeing the same error caused by the loading of an old version of QName, which was preventing version.aar from loading properly. This is how I f

java2WSDL ant task

2006-09-22 Thread Charak, Vikas
Hi , Do we have ant task for java2WSDL. If yes, is it included in base distribution or is it some where else? Any documentation on it? -vc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: [Axis2] Custom Faults

2006-09-22 Thread Davanum Srinivas
Please log a JIRA bug with your code snippet. -- dims On 9/22/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote: Hi, I am trying to write a custom SOAP 1.2 fault and my code looks like: AxisFault fault = new AxisFault(new QName("", "faultCode"), "FaultReason", "Fa

Re: Setting HTTP request parameters from a client stub

2006-09-22 Thread Davanum Srinivas
http://www.wso2.net/articles/axis2/java/2006/08/01/client-api-parameters#HTTP_HEADERS On 9/22/06, Mark McCall <[EMAIL PROTECTED]> wrote: I am using an Axis 2 generated client stub (using the 1.0 release) to invoke a web service over HTTP. I need to be able to send some arbitrary parameter v

Re: Re: Axis2 is ignoring my WSDL

2006-09-22 Thread Davanum Srinivas
*PLEASE* create a jira issue, stating the behaviour you wish. -- dims On 9/22/06, Bhatra, Junaid <[EMAIL PROTECTED]> wrote: Going further on this, even if you do NOT use RPCMessageReceiver and supply your own WSDL, Axis2 **still** modifies/overrides your WSDL unless you specify the "useOriginal

Re: [Axis2] Problem in passing XML data as String parameter

2006-09-22 Thread Anne Thomas Manes
It depends on the characters in your data. Converting the '<' to '<' is expected, but that's probably not what's causing your problem. You might have characters in the document that can't be properly escaped. If that's the case, you may not be able to send the data as a string. Why not just send t

Re: Document/Literal WSDL with attachments

2006-09-22 Thread Anne Thomas Manes
I don't believe that Axis 1.x supports the swaRef data type. On 9/21/06, Heh, Jonathan <[EMAIL PROTECTED]> wrote: Hello, I am using Axis 1.4 and attempting to create a WSDL for a web service that for a certain operation includes an XML file as an attachment. I am using the swaRef data

Re: [Axis2][Post 1.0-20060920] Problem while reaching container's context from within service skeleton

2006-09-22 Thread Ali Sadik Kumlali
OK :) Thanks a ton Dims! P.S.: Thank you very much Martin. I had seen that article. But there is no problem with calling a remote ejb within MDB. It only occures while I call it from service skeleton. So, that *should* be a problem/feature with Axis2 side. BTW, I'm using WebLogic 8.1 SP3. Rega

Re: Axis - .NET Interop

2006-09-22 Thread Brian Moffatt
Thanks Anne. I discovered my problem and have now gotten past it. Your comments definitely allowed me to figure out what was going on much quicker than I otherwise would have. While the problem may be an obvious one to many who read this list, I thought I would still post it here in case there

Re: Re: Axis2 is ignoring my WSDL

2006-09-22 Thread Ajith Ranabahu
Hi Guys, Even though this discussion took off in the user list it seems more relevant to the dev list (so I'm forwarding it to the dev list). BTW it would be good if one of you can open a Jira so that this won't be just forgotton :) Ajith On 9/22/06, Bhatra, Junaid <[EMAIL PROTECTED]> wrote: Go

Re: Axis - .NET Interop

2006-09-22 Thread Anne Thomas Manes
The Axis service is returning a message that doesn't match the WSDL description. If you developed the service using a WSDL-first approach, then your tool is generating something wrong in the service. If you developed the service using a code-first approach, then you tool is generating an inappropr

RE: Not getting an updated INOUT parameter

2006-09-22 Thread Jay Ballinger
Still not getting what I need, but I did find a way around it. Not sure if I've done something wrong or incomplete with the AXIS classes, or if that's just the way the webservice works. The webservice I'm calling has these input and output parts... With "accountList" listed in the inpu

Re: Axis2 creating empty wsdl:message element

2006-09-22 Thread D . Kreft
Ne'er mind on this one. I believe this is a bug in the SOAP::Lite module (document/literal support is experimental at this point)--I've got a patch for that module that seems like it'll fix the problem. -dan On 9/22/06, D. Kreft <[EMAIL PROTECTED]> wrote: I've got what looks like an aberration

Re: [Axis2][Post 1.0-20060920] Problem while reaching container's context from within service skeleton

2006-09-22 Thread Davanum Srinivas
Guys, Please stop running around in cricles :) There's a jira. I'm in the process of evaluting a possible fix. Stay tuned. I'll ask all of you to test it though :) -- dims On 9/22/06, Martin Gainty <[EMAIL PROTECTED]> wrote: this article http://www.theserverside.com/discussions/thread.tss?thre

Re: Axis documentation

2006-09-22 Thread Erik Norgaard
Davanum Srinivas wrote: How does this sample look? works with latest nightly. Thanks, this makes more sense to me... Do you know of any documentation that can help me beyond tweaking examples? Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certific

Axis2 creating empty wsdl:message element

2006-09-22 Thread D . Kreft
I've got what looks like an aberration in my Axis2-generated WSDL (from yesterday's nightly, though. I'm not exactly a WSDL guru or anything, but the following line is causing my Perl client (a hand-made SOAP::Lite client that works just peachy with the same service running under Axis1.4) to barf:

SRW web service Issues when upgrading from axis 1.2 to 1.4

2006-09-22 Thread Andy Foster
I have upgraded axis to 1.4 for SRW server in JAFER and running wsdl2java has changed the stubs slightly to remove the array wrapper classes round diagnostics and records etc. However now even though two diagnostics are returned the serialised response class only shows one in the array. This is t

Setting HTTP request parameters from a client stub

2006-09-22 Thread Mark McCall
I am using an Axis 2 generated client stub (using the 1.0 release) to invoke a web service over HTTP.  I need to be able to send some arbitrary parameter values in the Http Request, i.e. separate from the SOAP envelope.  How do I do this?   Thanks, Mark

Re: [Axis2][Post 1.0-20060920] Problem while reaching container's context from within service skeleton

2006-09-22 Thread Martin Gainty
this article http://www.theserverside.com/discussions/thread.tss?thread_id=41709 suggests -one of the properties you are attempting to access are missing (assuming ejb-jar.xml) -classes (most probably Remote access to your bean) is missing in local jar I found this to be a good example to creat

[Axis2 Sept20-nightly build] Help need for "org.apache.axis2.AxisFault: null; nested exception is: com.ctc.wstx.exc.WstxIOException: null"

2006-09-22 Thread Sharad Baronia
Hi,       I am getting following error in the log file/console, but no stack trace. The client doesn’t receive anything it time’s out. And I am debugging my Tomcat/web service in IntelliJ IDEA. Any thoughts, help need?   2006-09-22 07:56:03,108 INFO  org.apache.axis2.transport.http.Axis

RE: Re: Axis2 is ignoring my WSDL

2006-09-22 Thread Bhatra, Junaid
Going further on this, even if you do NOT use RPCMessageReceiver and supply your own WSDL, Axis2 **still** modifies/overrides your WSDL unless you specify the "useOriginalwsdl" parameter. The logic seems inverted to me. In contrast, the default behavior of Axis 1.x is to honor the user-specified WS

noun-type URLs for REST-style web services

2006-09-22 Thread Paloschi Diego E
Hi,   I am quite new to web application development and I have just created a web service using Axis2 1.0. I have also created a client for testing the service which is RESTful in its configuration.   Both the web service and client work as expected, without any problems.   The question I ha

RE: [Axis2] Custom Faults

2006-09-22 Thread Punnoose, Roshan
Hi, I am trying to write a custom SOAP 1.2 fault and my code looks like: AxisFault fault = new AxisFault(new QName("", "faultCode"), "FaultReason", "FaultNode", "FaultRolde", data); throw fault; But no matter how I change it, it always looks like: http://www.w3.o

Re: [Axis1.2] Issue with Custom Chain

2006-09-22 Thread Martin Gainty
The axis2 doc on security-handler at http://ws.apache.org/axis2/0_93/security-module.html explains how to configure handlers in the preDispatch phase -A quote from the doc "Since the security module inserts handlers in the system specific pre-dispatch phase, it must be engaged globally. But

Re: convert from axis to axis2

2006-09-22 Thread robert lazarski
I'm not familair with RPCElement and my memory on axis 1.x is a bit hazy ... but it looks like you are invoking a client and are trying to parse a soap body into elements. Here's some code that does precisely that. Look at OMElement resultOM .., one example just prints out the results while the c

Re: [Axis2][Post 1.0-20060920] Problem while reaching container's context from within service skeleton

2006-09-22 Thread Ali Sadik Kumlali
Hi Robert, Thanks for the reply. Yeah, both seems the same. Sure, I'll try to help. But this could take too long as I need to learn how to make server context accessable/non-accessable from a class deployed on it :) BTW, since deployment models are different (WAR and EAR), wouldn't it be cle

Re: Axis - .NET Interop

2006-09-22 Thread Brian Moffatt
Thanks Anne. I've actually been trying out the web services capabilities in the Eclipse Web Tools Platform and that's how I created this particular service. I (maybe incorrectly) assumed that it was just making calls directly to the Axis tools behind the scenes without any additional interference

convert from axis to axis2

2006-09-22 Thread Liping Guo
Hi,   I am trying to convert our web service application from axis to axis2. The sample axis code is the following:    void doService(MessageContext ctxt){       // retrieve the soap envelo

RE: [Axis1.2] Issue with Custom Chain

2006-09-22 Thread Hoying, Ken
After further investigation, it appears that I was incorrect and you cannot create and configure your own chain classes in the server-config.wsdd.  For future reference this would seem like a nice feature.   So my question now becomes, can someone provide me with an example or a solution

Re: [Axis2][Post 1.0-20060920] Problem while reaching container's context from within service skeleton

2006-09-22 Thread robert lazarski
Looks like the same issue just created: http://issues.apache.org/jira/browse/AXIS2-1214 You could help us by trying to figure out the cause of the problem. Robert On 9/22/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: Hi all, I've embedded Axis2 in an EAR file and implemented a message dri

[Axis2][Post 1.0-20060920] Problem while reaching container's context from within service skeleton

2006-09-22 Thread Ali Sadik Kumlali
Hi all, I've embedded Axis2 in an EAR file and implemented a message driven bean(MDB) as transport receiver which delegates the incoming message to the actual service. When my message passed into Axis2 service skeleton, I need to call a remote EJB which is deployed in another EAR file. But, I c

RE: Can't access my Axis 2 admin page after installing rampart module

2006-09-22 Thread john richter
Hello again, is nobody using Axis 2 with Java 1.5 and give me a hint? From: "john richter" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Can't access my Axis 2 admin page after installing rampart module Date: Thu, 21 Sep 2006 13:45:14 +0200 Hello, i

Re: No object was found for class type class java.util.Calendar

2006-09-22 Thread unrealone
Hello Versus_Spirit, thanx for your reply! Yeah - I found the bug in ConstructorTarget too (after some cursing and tracing). There's some "not-very-functional" :-) code that's suppose to determine the actual constructor parameter types... I thought I'd fix it and I partially did, but there were