HTTPTransportException when running Calculator client

2006-10-19 Thread Nilesh Gujarathi
Hi Axis C++ users, Versions: Axis 1.6b, Apache 2.0.59, Xerces 2_2_0 Probles is: The calculator client crashes with HTTPTransportException. http://localhost/axis shows up fine. http://localhost/Calculator?wsdl; Gives url not found , but i read on forum that Axis C++ services does not have

Method onFault() is not called

2006-10-19 Thread Markus Heinisch
Hello, the mehtod onFault() of my generated Web service class (AxisCpp 1.6b) is never called. One of my regular WS methods throws an standard exception exception, but the AxisEngine does not call onFault(). The client recieves a response which it can't handle: Cannot deserialize the

Look ma, it's the R thing

2006-10-19 Thread Chintana Wilamuna
Hi, Axis2/C Ruby bindings now have a web page and a bizarre name! http://raxis.rubyforge.org/ SVN will be updated soon and the website will be updated to reflect the new changes. Bye, -Chintana -- http://www.linux.lk/~chintana/

Re: [Axis2] Distribution packaging restructuring

2006-10-19 Thread Ajith Ranabahu
Hi Guys, I'm 0- on this change (just as I said earlier) .The numerous bug reports we received about WebSphere is probably due to *our* wrong assumption that the war will be exapanded always and Deepal did manage to work around it I guess. Anyway the bottom line is that the problem was really in

RE: service deployment

2006-10-19 Thread VF
Axis2 runs on Tomcat 5 on Linux with J2SDK 1.4.2. It is possible to view my Problem on this link: http://dds.stk.cz:8081/axis2/services/listServices -- -Original Message- From: Filozof71 [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 1:29 PM To:

Help needed in writing a client

2006-10-19 Thread Bassi Gurpiar
Title: Help needed in writing a client I am new to Axis. I have created and deployed a web service onto Tomcat. I am using a tool called SoapScope to invoke my web service and it works great. BUT I wish to write a java class that will invoke the web service. Please can someone help me.

[Axis2] Can WSDL2Java generate dual channel client codes for both sync osync?

2006-10-19 Thread falom falom
Hi,I tested one simple service using WSDL2Java eclipse plugin to generate java codes for both sync and osyncservice communication. I think they are only for one channel communication(singleBlocking and singleNoneBlocking), is there a wayto also generate codes for dual clients? Does WSDL2Java

Re: [Axis2] Can WSDL2Java generate dual channel client codes for both sync osync?

2006-10-19 Thread Deepal Jayasinghe
Hi falom ; It will not generate that , but you can do that very easily. from the stub you can get serviceClient , then set its property to use two channel. Hi, I tested one simple service using WSDL2Java eclipse plugin to generate java codes for both sync and osync service communication. I

SAML Token with Rampart

2006-10-19 Thread Manuel Ernstberger
Hello all, when I try to send a message with a SAML Token created by Rampart, an UnsupportedOperationException occurs. The settings on client side are: parameter name=OutflowSecurity action itemsSAMLTokenUnsigned/items samlPropFilesaml.properties/samlPropFile /action /parameter

RE: Axis

2006-10-19 Thread Bassi Gurpiar
Title: RE: Axis I am restricted to using version 1.2.1. What is ADB? Can you give me an example of a client that will invoke the service? -Original Message- From: VF [mailto:[EMAIL PROTECTED]] Sent: 19 October 2006 09:12 To: Bassi Gurpiar Subject: Axis Hi, it s much more better

ClassCastException in CryptoFactory.java (wss4j)

2006-10-19 Thread Christian Keiler
Hi, I want to make my WebService securely running. Meanwhile I have a problem on this. While debugging I recognized the following line in CryptoFactory.java in the source of wss4j (I'm using rampart): crypto = (Crypto) c.newInstance(new Object[]{properties,loader}); The instance is created

Re: Problems Migrating from Axis 1.1 to Later Versions

2006-10-19 Thread Miguel Correia Ricardo
That's strange, I've recently migrated from Axis 1.1 to Axis 1.4, and I don't get that exception. property name=axis.lib.dir location=lib/axis / For example, when I want to generate my stubs I use the following Ant Task: target name=stubs taskdef name=wsdl2java

Re: Help needed in writing a client

2006-10-19 Thread Miguel Correia Ricardo
There four types of wsdl documents: RPC/encoded RPC/literal Document/Literal Document/Encoded The last one is the less used. RPC/Literal and Document/Literal is WS-I, in short, that means more interoperability. But is also very common to use RPC/Encoded. One of the differences from Document and

Re: mapping complex types

2006-10-19 Thread Miguel Correia Ricardo
That depends...Do you want to use generated stubs or dynamic invocation? With dynamic invocation, you can define your own typemappings and custom bean serializers. On 10/18/06, Noé Amorim [EMAIL PROTECTED] wrote: hello. how can i map the return type of a webservice to a custom type in Java.

Problem with ConverterUtil.ConvertToArray

2006-10-19 Thread Hoogenboom, Mariska
Hi, I have generated webservice client code with the Axis2 plugin for Eclipse based on a wsdl file. One of the elements is a byte array. The generated client tries to convert the string array to a byte[] by means of the ConvertToArray. Here I receive a ClassCastException. If I change byte

Re: i can't compile or execute the examples

2006-10-19 Thread Miguel Correia Ricardo
That depends... Did you invoke it like this java samples.userguide.example1.TestClient ? Because the CLASSPATH is alright. On 10/18/06, Noé Amorim [EMAIL PROTECTED] wrote: hi. i have installed everything according with the installation guide, the validation

Re: i can't compile or execute the examples

2006-10-19 Thread Noé Amorim
hi.i just solve that already.thanks.On 10/19/06, Miguel Correia Ricardo [EMAIL PROTECTED] wrote:That depends... Did you invoke it like this javasamples.userguide.example1.TestClient ? Because the CLASSPATH isalright.On 10/18/06, Noé Amorim [EMAIL PROTECTED] wrote: hi. i have installed everything

Re: mapping complex types

2006-10-19 Thread Miguel Correia Ricardo
Generated stubs, is achieved by WSDL2Java tool from axis. Dynamic invocation, gives you more control. Basically does the same thing that the stubs do, but you control it programmatically, it's less transparent, but in some cases it has some advantages. Go to the first choice...It's best to start

Re: mapping complex types

2006-10-19 Thread Noé Amorim
Só agora que reparei.És de portugal, posso saber se fazes parte do grupo de developers do Axis e onde trabalhas?Já agora, existe algum livro onde isto venha bem explicado?Obrigado. On 10/19/06, Miguel Correia Ricardo [EMAIL PROTECTED] wrote: Generated stubs, is achieved by WSDL2Java tool from

Re: FW: [Axis2]Authentication

2006-10-19 Thread Ruchith Fernando
Try Rampart: http://www.wso2.net/articles/rampart/java/2006/08/15/usernametoken-auth Thanks, Ruchith On 10/18/06, Smirnova, Natalya [EMAIL PROTECTED] wrote: Does Axis2 provide authentication? Where I can read more about axis2 authentication? Thank you Best regards, Natalya Smirnova.

Re: ClassCastException in CryptoFactory.java (wss4j)

2006-10-19 Thread Christian Keiler
Hi again, I've solved the problem my myself. The root problem was a wrong ClassLoader, which was taken, because the concerning libs were deployed with the Service itself (not the jars but the class files). Moving the libs (as jars) to the WEB-INF/lib directory, solved all problems. I hope,

NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer

2006-10-19 Thread adam . x . ellwood
Hi, I downloaded the latest standard binary build and I am running Windows XP and Cygwin. I am getting this error when I try to run the bin/http-server.sh script: $ sh ./http-server.sh the classpath :../lib/XmlSchema-1.0.2.jar:../lib/annogen-0.1.0.jar:../lib/axiom-

Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer

2006-10-19 Thread Thilina Gunarathne
Seems like you have downloaded the 1.0.. Axis2 has moved a long way from there.. Please use the nightly builds available at http://people.apache.org/dist/axis2/nightly/ FYI: Today we modified the http-server to simpleaxis2server... You will get that in nightlies in few hours.~ThilinaOn

Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer

2006-10-19 Thread adam . x . ellwood
HI Thilina, This is Axis2 build. -Adam Thilina Gunarathne [EMAIL PROTECTED] 19-Oct-2006 09:32 Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer Seems like you

Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer

2006-10-19 Thread adam . x . ellwood
Hi Thilina, Here is my latest error...same thing with the axis2-std-1.1-SNAPSHOT-bin.zip: [EMAIL PROTECTED] /cygdrive/c/Program Files/Apache Software Foundation/axis 2-std-1.1-SNAPSHOT-bin/bin $ sh ./http-server.sh the classpath

Phase order problem while using sandesha2=recheck axis2.xml RMPhase for the handler SandeshaInHandler

2006-10-19 Thread Yadav, Yogendra \(IT\)
SEVERE: Invalid service Axis2SampleDocLitService.aar due to Invalid phases please recheck axis2.xml RMPhase for the handler SandeshaInHandlerorg.apache.axis2.phaseresolver.PhaseException: Invalid phases please recheck axis2.xml RMPhase for the handler SandeshaInHandlerat

RE: java2wsdl bug in operation sig?

2006-10-19 Thread Bhatra, Junaid
It seems like the generated WSDL is incorrect as it should indicate nillable=true and minOccurs=0. The SOAP responses look fine to me. I suggest you try this out with Axis 1.4 as there were a few array handling related bugs that were fixed, and it has better support for it. Not sure if the

Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer

2006-10-19 Thread adam . x . ellwood
Thilina, I downloaded the latest snapshot... here is my new error: [EMAIL PROTECTED] /cygdrive/c/Program Files/Apache Software Foundation/axis 2-1.1-SNAPSHOT/bin $ sh ./simpleaxis2server.sh Using JAVA_HOME: c:\Program Files\Java\jdk1.5.0_09 Using AXIS2 Repository : c:\Program Files\Apache

SSL, Mutual or Client Authentication

2006-10-19 Thread VELUMMYLUM Piragash
Hi All, I am very new to Axis, I just installed it yesterday. I am trying to use Axis over an HTTPS connection. I want to be able to use SSL with mutual authentication before Axis2 even receives the request. I am running Axis2 on Tomcat. I was wondering if I should let Tomcat handle the

Register multiple services

2006-10-19 Thread Nuno Martins
Hi, I'm trying to register two services (A and B) which are defined in different packages. With wsdl2java it will be generated two deploy.wsdd. When I try to register this two services with the below ant task, I just can define one deploy.wsdd. Is there a way to define multiple deploy.wsdd?

Re: SSL, Mutual or Client Authentication

2006-10-19 Thread Jesús Daniel Blázquez Carazo
If you want mutual authentication between client and server you need first a certificate for the client and the server. To get them you can try use openssl. Second you need configure SSL with Tomcat in the way you have explained and delete or comment from the server.xml the connector

Message parsing problem when using TCPServer example: Message: only whitespace content allowed before start tag and not -

2006-10-19 Thread Yadav, Yogendra \(IT\)
The error thrown by AXIS2 is "Message: only whitespace content allowed before start tag and not -"##Oct 19, 2006 11:55:29 AM org.apache.axis2.deployment.DeploymentEngine doDeployINFO: Deploying module :

RE: SSL, Mutual or Client Authentication

2006-10-19 Thread VELUMMYLUM Piragash
I do need port 8080(non-SSL) open with Tomcat for other webapps that I am running. However I would like it to only use port 8443(SSL) to communicate with Axis2. From: Jesús Daniel Blázquez Carazo [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 12:02 PMTo:

RE: SSL, Mutual or Client Authentication

2006-10-19 Thread Sanjesh Pathak
Add this to web.xml of Axis2:   security-constraint web-resource-collection     web-resource-nameProtected Context/web-resource-name   url-pattern/*/url-pattern   /web-resource-collection   user-data-constraint

RE: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer

2006-10-19 Thread Spies, Brennan
For *nix, a handy trick to use is to run the following shell script in your lib directory: for i in *.jar; do echo $i; unzip -l $i | grep java.lang.String; done (Will vary by system and shell you are usingI am using Korn Shell here, but others are similar.) This will quickly tell

Re: mapping complex types

2006-10-19 Thread Noé Amorim
i was generating the stubs from a wsdl(zipinfo.wsdl) file i found on xmethods and i got 4 classes: Zipinfo.java ZipinfoLocator.java ZipinfoSoap.java ZipinfoSoapStub.java and i saw in the manual and some examples that the classes should come in the form as: this was retrived from an example

java.net.SocketException: Connection reset

2006-10-19 Thread Westelinck, Kenneth
Hi all, I am using Axis to call webservices running on a .NET platform (M$ CRM in this case). This works fine, but every now and then I receive the following exception: org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at

simpleaxis2server.bat: System can not find the given axis2.xml

2006-10-19 Thread adam . x . ellwood
I have downloaded the latest nightly standard binary dist, I get this error running simpleaxis2server.bat: C:\axis2\axis2-1.1-SNAPSHOT\binsimpleaxis2server.bat Using AXIS2_HOME: C:\axis2\axis2-1.1-SNAPSHOT Using JAVA_HOME: C:\jdk1.6.0 [SimpleAxisServer] Starting [SimpleAxisServer] Using the

simpleaxis2server.sh: cannot find axis2.xml

2006-10-19 Thread adam . x . ellwood
I am getting this error when running the simpleaxis2server.sh file: [EMAIL PROTECTED] /cygdrive/c/axis2/axis2-1.1-SNAPSHOT/bin $ sh ./simpleaxis2server.sh Using JAVA_HOME: c:\jdk1.6.0 Using AXIS2 Repository : c:\axis2\axis2-1.1-SNAPSHOT/repository Using AXIS2 Configuration :

RE: simpleaxis2server.bat: System can not find the given axis2.xml

2006-10-19 Thread Spies, Brennan
The build.xml file that is generated by WSDL2Java expects an environmental variable called exactly that (pointing to the root of your axis installation). Try adding this, and see if it works. Brennan Spies Sr. Programmer Analyst Shared Application Services -Original

org.apache.axis2.AxisFault: Connection reset

2006-10-19 Thread Gnanasekaran Vinayakamurthy
Hi Group, I am getting connection reset problem in Axis2, when I try to make web service calls to .Net client (MS Reporting services) again and again But it works fine when called initial couple of times... Could any one help on this? I am getting following exception:

Getting very low round trip transfer rate

2006-10-19 Thread Lawrence
Hello there, I need to send a round trip stream of data ~30k (document) using Axis web services at about minimum rate of six (6) transfers a second. I have not been able to achieve this throughput speed. I have heard about high rates of invoice transfer in the media but it does not seem to be

Re: org.apache.axis2.AxisFault: Connection reset

2006-10-19 Thread robert lazarski
Try putting a perpetual ping on the server while executing the service calls and see if that helps. You also could try 'netstat -ancp | grep 8080' or similar command and watch the socket activity - that may explain what is happening. This is a common error on db's , which may have something to

RE: org.apache.axis2.AxisFault: Connection reset

2006-10-19 Thread Gnanasekaran Vinayakamurthy
Axis2 client and .Net web service server(MS Reporting services) are running on windows platform and I just tried using 'netstat -a' in the system, where my Axis2 client is running and found that connections made by Axis2 were not closing for long time, however I had closed connection using

Re: org.apache.axis2.AxisFault: Connection reset

2006-10-19 Thread robert lazarski
Are you using the latest 1.1 nightly? http://people.apache.org/dist/axis2/nightly/ If so, please file a jira and paste your 'netstat -a' output, along with your code. This might be related to another jira issue that I was unsuccessful in reproducing, so your full test case would be appreciated

Re: Problem with ConverterUtil.ConvertToArray

2006-10-19 Thread Deepal Jayasinghe
Hi Hoogenboom; Pls create a JIRA attaching your wsdl. Thanks Deepal Hi, I have generated webservice client code with the Axis2 plugin for Eclipse based on a wsdl file. One of the elements is a byte array. The generated client tries to convert the string array to a byte[] by means of the

Re: Message parsing problem when using TCPServer example: Message: only whitespace content allowed before start tag and not -

2006-10-19 Thread Thilina Gunarathne
It's not possible to send/receive MTOM or SWA messages using TCP transport... They depend heavily on HTTP headers..On the other hand Axis2 should not be sending MIME messages when used with transports other than HTTP.. Please log a JIRA for that..~ThilinaOn 10/19/06, Yadav, Yogendra (IT) [EMAIL

Re: ADB file transfer sample

2006-10-19 Thread Thilina Gunarathne
Yes.. It's possible...I'm currently working on upgrading the file transfer sample to use ADB..See [1] [2] for more info..~Thilina[1]http://people.apache.org/~thilina/axis2/docs/mtom-guide.html#25 [2]http://www.wso2.net/articles/axis2/java/2006/08/10/binary-with-adbOn 10/18/06, VF [EMAIL

Re: simpleaxis2server.sh: cannot find axis2.xml

2006-10-19 Thread Thilina Gunarathne
Hi Adam,You seem to be running cygwin.. I have not tested the scripts on cygwin.I'll look in to these problems.In the mean time please try this [1]. I did some modification while ago..~Thilina