Re: AXIS C++ and AIX

2006-03-14 Thread John Hawkins
Hi, Our tester just found this very same problem the other day - I'll find out from him what the resolution was. (He's not in until tomorrow UK time). Yes, the version is supposedly 2.2.0 i.e. that's what it says on the can ! Antoine Galataud [EMAIL PROTECTED] 14/03/2006 14:46

Axis C++ 1.6Beta fails to load mod_axis2.dll

2006-03-14 Thread Frank Voellmann \(fvoellma\)
Hi, While developing my application, I've had Axis C++ 1.5 and 1.6Beta running on Win2000 Server successfully, and 1.5 running on Win2003 Server successfully too. My final deliverable requires Axis C++ 1.6Beta (due to other issues that were fixed) running on Win2003 Server. This particular

Re: AXIS C++ and AIX

2006-03-14 Thread James Jose
Hi, I got this same error message when I used the xerces libraries downloaded from the site pointed in the axis installation document. For me this problem occurred because our build machine having a different xerces parser compared to mine. After getting the xerces libraries from the build

Deploy does nothing

2006-03-14 Thread Christina Wulf
Hi there :O) I was hoping that someone could help me with an axis problem. I have generated a web service with the tools Java2WSDL and WSDL2Java, I have filled in the blanks in the SoapBindingImpl and compiled the files. I have packaged the class files in a jar file and saved it in

some axis2 deployment questions

2006-03-14 Thread SOA Work
Hi, I'm going to publish a simple service using axis2 war distribution. Now I'm running into some (maybe simple) questions, which I can not solve with the user guide: 1) what's the difference between RawXML and RPC message receivers? With RawXML the methods signature gets OMElement input and

java.lang.IllegalArgumentException

2006-03-14 Thread William Ward
Hi, I get the following exception when calling a web service using Axis, I am calling the Web Service from a JSP page on Tomcat Any ideas how I can find out what is causing this problem {http://xml.apache.org/axis/}stackTrace:java.lang.IllegalArgumentExcepti on at

Re: [Axis2] EchoNonBlockingDualClient problem

2006-03-14 Thread Ali Sadik Kumlali
Hi,I have the same problem with Tomcat 5.5 and have two questions:1) Why does my client HTTP server is immediately closed and i get I/O exception when server tries to post the response? 2) Why does it print "waiting" when options.setUseSeparateListener() is passed false? (This is Antony Wilson's

Re: some axis2 deployment questions

2006-03-14 Thread robert lazarski
See my responses inline:On 3/14/06, SOA Work [EMAIL PROTECTED] wrote: Hi,I'm going to publish a simple service using axis2 war distribution.Now I'm running into some (maybe simple) questions, which I can not solve with the user guide:1) what's the difference between RawXML and RPC message

Re: java.lang.IllegalArgumentException

2006-03-14 Thread Dies Koper
Hello William, Looks like a tough one.. For starters, use tcpmon to capture the SOAP message. Checking the SOAP message usually helps to determine whether the problem is on the sending or receiving end. Regards, Dies William Ward wrote: Hi, I get the following exception when calling a

Re: An RFC example needed!

2006-03-14 Thread Niels Baloe
Hi all, Thanks for your reply's. Take a look at the migration guide: http://ws.apache.org/axis2/0_93/migration.html Yes I've seen it, I took some time to implement that example, but it isn't complete. It uses the echo example, look at the the word 'ClientUtil' in

RE: java.lang.IllegalArgumentException

2006-03-14 Thread William Ward
Hello Dies, thank you for the reply, I used tcpmon to capture the SOAP message, I believe the problem is at the receiving end as I get the response back from the Web Service no problem, it looks like it has a problem de-serializing the response. The odd thing is if I call the same Web

Re: [Axis2] EchoNonBlockingDualClient problem

2006-03-14 Thread Diego
Hi everybody! I'm also experiencing the same problem. I run axis2 v0.93 on tomcat 5.5.7. My code is slightly different than the EchoNonBlockingDualClient but it's basically the same: public void startinsertMappingAnnotations(InsertMappingAnnotationsDocument requestDoc,

Re: java.lang.IllegalArgumentException

2006-03-14 Thread Dies Koper
Hello William, We'd need to see the WSDL to see if the SOAP message is right. Unfortunately the SOAP message is rather long and complicated. You might not get any replies. As you seem to use complex structures (array of complex types?) I imagine the Axis engine relies on the Helper classes

Re: An RFC example needed! - 2

2006-03-14 Thread Niels Baloe
Hi all, Well, I fixed the problem, by enabling the java.net debug mode, I could easily track down the problem and solve it (reading between the lines of encoded and decoded stuff). Yesterday I ended up with the XML message as I've sended it, without knowing it I was nearly finished. I only

RE: java.lang.IllegalArgumentException

2006-03-14 Thread William Ward
Hello Dies, I didn't modify any of the classes generated by WSDL2Java, but I don't see any helper methods in the generated client stubs, should I be seeing these ?? Regards, William -Original Message- From: Dies Koper [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 14:02 To:

RE: org.apache.axis.message.MessageElement.getAsString() not in online JavaDoc

2006-03-14 Thread Neuendorff, Richard
Does anyone have any info on this? Thanks again, Richard A. Neuendorff I spent quite a bit of time researching then including the Xerces libraries to serialize a MessageElement object into a string because I was unaware of getAsString(). I stumbled upon it while trying to do something

[0.94] How can i shutdown connection after call

2006-03-14 Thread Filipp Akinfiev
Hi all, in my client class i have function like : public TFileSendResponse storeFile(int type, String fileName, String pathToFile) { TFileSendResponse response = null; try { response = FileSend.response(makeCall(FileSend.request(new TFileSend(, , type,

[Axis2] WSDL2Java client code creation

2006-03-14 Thread Sebastian J. Schultheiss
Hi all, we are playing around with the samples from the tutorial... we have extended the MyService to take a comlpexType (a string, an int and a double) and would like to create the client from the WSDL. Axis has created the attached WSDL from our service, but WSDL2Java fails when called like

Re: Axis2 and JBoss 4.0 and Asynchronous Webservices

2006-03-14 Thread robert lazarski
I looked more into this out of curiosity: 1) JBoss 4.0.x internally uses a modified version of Axis 1.x. However, they only support their own stacks: http://wiki.jboss.org/wiki/Wiki.jsp?page=WebServiceStacks Any stack not listed above is not supported. This includes Standalone Apache Axis,

Re: null namespace generated for qualified elements

2006-03-14 Thread Vikas Singh
Anne,It worked after fixing the error i.e. tns:PutConfigRequest - tns:PutSCIRequest thank you,Vikas+Now, according to your WSDL, the child element of the SOAP Body should be called cAnneOn 3/13/06, Vikas Singh [EMAIL PROTECTED] wrote: Anne, Thanks for your

Re: [Axis2] A question about asynchronous services and message queue

2006-03-14 Thread Dong Liu
Maybe I should clarify my point here: A service can support asynchronous communication with a message queue stands before it, no matter whether or not this service is able to support asynchronous messaging by nature. It is hard for an asynchronous service to handle long-run service requests

Re: [Axis2] A question about asynchronous services and message queue

2006-03-14 Thread Sanjiva Weerawarana
On Tue, 2006-03-14 at 10:59 -0600, Dong Liu wrote: Maybe I should clarify my point here: 1. A service can support asynchronous communication with a message queue stands before it, no matter whether or not this service is able to support asynchronous messaging by nature.

Axis2 version 1.0

2006-03-14 Thread Brennan, Sean \(IMS\)
Hey all, Anybody have a general idea when version 1.0 will be released? Thanks. Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an

Re: [Axis2] WSDL2Java client code creation

2006-03-14 Thread Anne Thomas Manes
The targetNamespace problem is caused by the fact that you specified:ns2:targetNamespace=http://org.apache.axis2/xsd Rather than:targetNamespace=http://org.apache.axis2/xsdSchema attributes must not be namespace qualified.(I also strongly recommend that you get in the habit of using more

[axis2 v0.95] code generation exception

2006-03-14 Thread Diego
Hi! I have to generate code using org.apache.axis2.wsdl.WSDL2Code having in input a wsdl where some web service return a votable. The votable schema is specified at the following address: http://www.ivoa.net/xml/VOTable/v1.1 I've successfully executed wsdl2code with axis2 up to version

Re: [Axis2] WSDL2Java client code creation

2006-03-14 Thread Sebastian J. Schultheiss
Hi Anne! Thanks a lot for your comments. We just used the WSDL of our class that was generated by AXIS itself. After uploading the class we downloaded the WSDL and without modifying it in any way we wanted to use it as input for the WSDL2Java client code creation tool. We weren't aware that AXIS

WSDL2Java and Java2WSDL

2006-03-14 Thread Siddhartha Subramanian
I have been trying something using 1.1 final and 1.3 WSDL2Java and Java2WSDL produces different types of WSDLs with the Java2WSDL and WSDL2Java produces different java packaging with the different versions. Can anyone tell me why the change and what changed between 1.1 and 1.3? I believe there is

Re: [axis2 v0.95] code generation exception

2006-03-14 Thread robert lazarski
Hi Diego, Post your wsdl and command line options and perhaps we can help. Robert http://www.braziloutsource.com/On 3/14/06, Diego [EMAIL PROTECTED] wrote:Hi!I have to generate code using org.apache.axis2.wsdl.WSDL2Code having ininput a wsdl where some web service return a votable.The

Re: Axis fault question

2006-03-14 Thread Charlton Jackson
Hello Dies, Thank you very much for your help. You are correct, I misinterpreted some of my debugging output; I am hitting the server. I took your suggestion and used tcpmon and see that the SOAP request is properly formed but the response is the InvocationTargetException mentioned previously.

WS-Security UsernameToken Issue (WSS4J-based Java client vs. .NET server)

2006-03-14 Thread Soactive Inc
Hi All,I am trying to access a .NET service with a Java/Axis client (using WSS4J) and am getting a security-related error. Here are the details:* Web Service: on .NET uses WS-Security UsernameToken (with Password Digest) * Request Messagesoapenv:Envelope

Re: [Axis2] A question about asynchronous services and message queue

2006-03-14 Thread Dong Liu
I agree that Axis2 should be simple and lightweight, and just for soap processing. WS-RM does cover some of my requirements. However, I have a question in my mind about asynchronous service and client for a long time. As I know, the current implementation of async dual client in axis2 is to listen

Re: [Axis2] How to specifiy operation name

2006-03-14 Thread Dong Liu
You may need to use the tcp monitor or other tools to see the HTTP message. Cheers,DongOn 3/14/06, Michael Robinson [EMAIL PROTECTED] wrote: Thanks!! One question though: options.setSoapAction("actionName"); options.setAction("actionName"); both fixed the problem. Is

Re: [Axis2] WSDL2Java client code creation

2006-03-14 Thread Anne Thomas Manes
If Axis2 generated that WSDL, then you should log a bug in Jira -- make sure you're using the latest build, though. I recall a bug like this in 0.94, which I'm pretty sure has been fixed now.Anne On 3/14/06, Sebastian J. Schultheiss [EMAIL PROTECTED] wrote: Hi Anne!Thanks a lot for your comments.

Re: WSDL2Java and Java2WSDL

2006-03-14 Thread Dies Koper
Lots of things have been improved since Axis 1.1. The changes you see could either be because the generated files were improved to follow specifications (JAX-RPC 1.1 in particular), bugs were fixed, but also new bugs that were introduced. Your questions are not easy to answer, as the changes

Re: Axis fault question

2006-03-14 Thread Dies Koper
Hello Charlton, Can you confirm whether your method was actually entered? Just to make sure the exception is not happening within your own code.. I am not familiar with Axis's logging functions, so I'd either use Eclipse in debugging mode and make it stop when an InvocationTargetException is

Re: java.lang.IllegalArgumentException

2006-03-14 Thread Dies Koper
Hello William, I do not know the conditions for them to be generated, but generated Javabean classes often get helper methods such as: - getTypeDesc - getSerializer - getDeserializer WSDL2Java has an option to have these methods not inserted in the Javabean classes, but in separate files.

Re: WSDL2Java and Java2WSDL

2006-03-14 Thread Anne Thomas Manes
One way to ensure that your WSDLs are the same is to generate your code from the WSDL rather than vice versa. But most likely, your Axis 1.1 WSDL will produce interoperability errors. If they contain arrays, they probably have errors. Axis 1.2 and later releases added support for JAX-RPC 1.1 and

Re: [axis2 v0.95] code generation exception

2006-03-14 Thread Diego
Hi Robert, thanks a lot for your help! That's the ant task that I've executed: target name=wsdl2java-astrodas-peer java classname=org.apache.axis2.wsdl.WSDL2Code classpathref=axis2.classpath arg value=-uri / arg value=${astrodas-peer.wsdl} / arg value=-o / arg value=${src.dir} /

Re: WSDL2Java and SimpleType doing *strange* things.

2006-03-14 Thread Dies Koper
Hello Scott, Why not not use the ?wsdl generated wsdl? (i.e. specify the original one in the WSDD instead) Regards, Dies Scott McCoy wrote: When given the declaration... complexType name=keyword simpleContent extension base=xsd:string attribute name=advertisementId

Re: failure when trying to build axis2

2006-03-14 Thread Sricharan Anand
I am also getting the same error. Any clues?Thanks,SricharanLoreno Oliveira [EMAIL PROTECTED] wrote: Hi,when I try to build the axis source I got the following problem:+| Executing multiproject:install-callback Apache Axis 2.0 - WSDL| Memory:

How to use long for parameter type?

2006-03-14 Thread Rhimbo
Hi folks, Tomcat 5.5.15, AXIS 1.3, Linux fedora core 4 Java2WSDL does not generate the correct method signature in the *SoapBindingImpl.java file. Here is the scenario. I have the following method declaration in my Family.java file, which defines one interface. public interface Family {

Re: How to use long for parameter type?

2006-03-14 Thread Anne Thomas Manes
Is there a reason why you have to use rpc/encoded?Try generating style=wrapped and see if that fixes the problem.AnneOn 3/14/06, Rhimbo [EMAIL PROTECTED] wrote:Hi folks, Tomcat 5.5.15, AXIS 1.3, Linux fedora core 4Java2WSDL does not generate the correct method signature in

RE: How to use long for parameter type?

2006-03-14 Thread Alick Buckley
Title: RE: How to use long for parameter type? Hi Vartan, I have had no problems with long parameters using RPC or Wrapped style. I did a quick test using my wizard and the Axis 1.3 generated WSDL is ok. See attached FamilyServer.wsdl

RE: WSDL2Java and Java2WSDL

2006-03-14 Thread Siddhartha Subramanian
Well I understand the changes and the need for them, but once my WSDL has been published and the clients using it expect the client side to be in a certain way (packaging wise, namespaces etc.) but with 1.3 I cannot say regenerate the WSDL and publish it because what you are suggesting

Re: WSDL2Java and Java2WSDL

2006-03-14 Thread Dies Koper
If it is just the namespace - Java package mapping you are concerned about, try the following options: -N, --NStoPkg argument=value mapping of namespace to package -p, --PkgtoNS argument=value package=namespace, name value pairs Siddhartha Subramanian wrote: Well I understand the

Re: [Axis2] WSDL2Java client code creation

2006-03-14 Thread Ajith Ranabahu
Hi all, This prefix in targetNamepace attribute issue was reported to us earlier but we could not recreate it. My guess is that it arises in a particular JDK/OS combination and we need to recreate it so that we can fix it. Details of your environment would be very helpful to us in doing so. BTW

Re: How to use long for parameter type?

2006-03-14 Thread Dies Koper
Vartan, Could you try explicitly setting the classpath (with your classes in front)? Also, make sure there are no old compiled generated classes in your classpath. Can you reproduce it with only that method in your interface? (without isRegistered and login)? Regards, Dies Rhimbo wrote:

RE: How to use long for parameter type?

2006-03-14 Thread Alick Buckley
Title: RE: How to use long for parameter type? Vartan, You could look for all axis.jar files ( and other axis jar files - wsdl4j-15.1.jar, etc.. ) org.apache.axis.wsdl.Java2WSDL class is in axis.jar The classes are dated 5/10/2005 5:23 PM Also the generated WSDL has the build date.

Re: failure when trying to build axis2

2006-03-14 Thread Ajith Ranabahu
Hi, Did you guys update the build files. The mentioned jars are not available anymore and the dependencies have been modified. Please get the latest update from SVN. Ajith On 3/15/06, Sricharan Anand [EMAIL PROTECTED] wrote: I am also getting the same error. Any clues? Thanks, Sricharan

Re: [Axis2][0.94] How can i shutdown connection after call

2006-03-14 Thread Saminda Abeyruwan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Forwarded with Axis2 prefix; Filipp Akinfiev wrote: Hi all, in my client class i have function like : public TFileSendResponse storeFile(int type, String fileName, String pathToFile) { TFileSendResponse response = null; try {