Installation Problems

2006-09-21 Thread Christian Rudnick
Hi, while installation i have to set the AXISJAVA_LIB environment variable. What do i have to do? Is it really necessary to install the Axis Java environment before? Thanks for any help Christian - To unsubscribe, e-mail:

Re: Installation Problems

2006-09-21 Thread Christian Rudnick
Hi, isn't it so that the ant build process will make these jar files? So i do not have them before compiling. Am i mistaken? Thanks Christian Am Thursday, 21. September 2006 07:16 schrieb Murali Konnipati: Hi, If you want WSDLWs feature, then u need to put Axis Java jar files

RE: Problem with deployment of calculator web service

2006-09-21 Thread John Hawkins
Yes - this is almost certainly a socket/transport/network/config error. You've started me on a different track now by saying that you are trying the samples. Which samples? Have you ensured that they are deployed on the server? Popuri, Monica [EMAIL PROTECTED] 21/09/2006 06:41 Please

RE: Problem with deployment of calculator web service

2006-09-21 Thread Popuri, Monica
By sample I meant calculator etc. By any chance, can this error be linked with absence of Channel_HTTP_SSL or Channel_SSL parameters in axiscpp.conf file? -Original Message-From: John Hawkins [mailto:[EMAIL PROTECTED]Sent: Thursday, September 21, 2006 2:10 PMTo: Apache AXIS

RE: Problem with deployment of calculator web service

2006-09-21 Thread John Hawkins
If you don't have the channel defined in your conf file then make sure it's in your path (libpath if unix) (you don't need ssl at this stage). I assume you have read the instructions on the site - this is all described there I think. Popuri, Monica [EMAIL PROTECTED] 21/09/2006 09:44

RE: Problem with deployment of calculator web service

2006-09-21 Thread John Hawkins
Connection reset by peer is the equivelant of the server putting the phone down which means that you probably got to your server. Have you looked at the server.wssd file to see if it's changed? What server are you running? If it hasn't changed then I'd be inclined to manually alter it just to

RE: Problem with deployment of calculator web service

2006-09-21 Thread Popuri, Monica
server.wsdd is perfectly alright, I am deploying axis in Apache 1.0.3 So apache is only server running.what should be changed for deploying manually? -Original Message-From: John Hawkins [mailto:[EMAIL PROTECTED]Sent: Thursday, September 21, 2006 3:02 PMTo: Apache AXIS C User

RE: Problem with deployment of calculator web service

2006-09-21 Thread John Hawkins
What do you mean by perfectly alright? Has it got the calculator service deployed or not? Popuri, Monica [EMAIL PROTECTED] 21/09/2006 10:45 Please respond to Apache AXIS C User List axis-c-user@ws.apache.org To Apache AXIS C User List axis-c-user@ws.apache.org cc Subject RE:

RE: Problem with deployment of calculator web service

2006-09-21 Thread Popuri, Monica
yes, because I am able to execute calculator program successfully using simple_axis_server . -Original Message-From: John Hawkins [mailto:[EMAIL PROTECTED]Sent: Thursday, September 21, 2006 3:24 PMTo: Apache AXIS C User ListSubject: RE: Problem with deployment of

RE: Problem with deployment of calculator web service

2006-09-21 Thread Popuri, Monica
Hi John, there are some things I need to update you on my installation:I have Axis C++ installed in a folder say /obj/package/axis-c-linux-bin. Tested calculator sample with simple_axis_server , works fine. Now when I deploy in apache (1.0.3 this time) , I am still referring to same

RE: Problem with deployment of calculator web service

2006-09-21 Thread John Hawkins
OK, that's great - now I understand exactly where we're up to :-) So, Now I think the next thing to do would be to run trace on the Axis server (see here http://ws.apache.org/axis/cpp/TraceGuide.html). You might want to try putting trace on at the client too if the server trace looks OK - i.e.

Re: XSD - WSDL tool wanted

2006-09-21 Thread Anne Thomas Manes
Sure. I'll let you follow up by making the changes Brennan suggests to make it work more easily with Ant. On 9/20/06, Davanum Srinivas [EMAIL PROTECTED] wrote: Anne, Could we consider this template.wsdl as a donation? :) i can check it into samples -- dims On 9/20/06, Anne Thomas Manes

Re: Axis - .NET Interop

2006-09-21 Thread Anne Thomas Manes
Wrapped doc/literal should work -- although you will probably do better using Axis 1.4 rather than Axis 1.3. There still are some problems with arrays, but you shouldn't have a problem with the bean. Please post some sample WSDLs and SOAP messages. Anne On 9/20/06, Brian Moffatt [EMAIL

Re: [Spam] Re: classpath

2006-09-21 Thread Rodrigo Ruiz
Fabio, to prevent the log4j warning, you may create a config directory, add it to your classpath, and put inside a log4j.properties file with the following contents: # Start of log4j.properties log4j.rootCategory=INFO, CONSOLE log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

RE: [Axis2] Action mappings

2006-09-21 Thread Brecht Yperman
Hello, I have this problem with every wsdl I try to publish a webservice for. Help would be very much appreciated :-) Thanks, Brecht From: Brecht Yperman [mailto:[EMAIL PROTECTED] Sent: woensdag 20 september 2006 17:09 To: axis-user@ws.apache.org Subject: [Axis2]

Problem with WSDL2Java generation

2006-09-21 Thread Kai Hüner
Hello, When I try to generate Java code of a WSDL-file (using the eclipse plugin, newest release of axis2), I get an error message telling me SchemaCompilationException: Unsupported content Complex Content !. Is there any known workaround (e.g. newer jar files of a nightly build) or have I to do

RE: [Axis2] Using 'type' attribute for the message part

2006-09-21 Thread Kedar, Shahar
Hi Anne, Thank you. Much appreciated. Shahar -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, September 21, 2006 8:27 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Using 'type' attribute for the message part Yes -- that is correct. If you are

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

2006-09-21 Thread john richter
Hello, i followed your rules from Axis 1 bin distribution readme: Please follow each of the following steps: Note - These instructions assume that the Axis2.war is already deployed in Tomcat 1.) Download the rampart-1.0.mar and addressing-1.0.mar from

Re: Integration of AXIS in Spring

2006-09-21 Thread robert lazarski
If you are using Axis2, you can follow this document: http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/1_1/spring.html Provided you use the axis2 nightlies or wait a week or so for the next release. If using Axis 1.x , seach the spring forums as IIRC they use a class from the

Re: WS-Addressing Interoperability Problem

2006-09-21 Thread David Illsley
Off the top of my head, if you'd prefer not to modify the generated classes so you can regenerate them easily, you can do: stub._getServiceClient().getOptions().setProperty(...) David On 18/09/06, Anthony Bull [EMAIL PROTECTED] wrote: Thanks, that worked awesome. I was using a code generated

Re: Axis2 and dotNet interoperateability

2006-09-21 Thread David Illsley
Looks to me like you need to engage the addressing module in the axis2 server so that there are addressing headers in the response. See the Axis2 documentaton for how to do this. David On 21/09/06, scott ken [EMAIL PROTECTED] wrote: My C# client (.dotNet 2.0 and WSE 3.0) generated the following

Re: unreachable statement

2006-09-21 Thread robert lazarski
I'm getting some validation warnings - please try validating your wsdl - xml spy has a validator. Nevertheless, I was able to compile the code using a recent axis2 build . I recommend using ant to do your build ... you seem to be putting jars on your classpath which is the hard way:

RE: [Axis2] Issue with SOAP response

2006-09-21 Thread Charak, Vikas
Yes build of Sep-18 -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 12:50 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Issue with SOAP response Are you using the latest nightly build? On 9/18/06, Charak, Vikas [EMAIL

Re: [Axis2] jar conflicts

2006-09-21 Thread Giri
Hi when i deploy axis web service in WAS5.0 te following error i used to get in server log files.? log4j:WARN No appenders could be found for logger (com.awpl.ws.servicebean.WsUtil). log4j:WARN Please initialize the log4j system properly. java.lang.SecurityException: class

Re: [Axis2] Undeploying a web service

2006-09-21 Thread Davanum Srinivas
Latest nightly should not have the locking problem. Can you please test and confirm? thanks, dims On 9/21/06, Kedar, Shahar [EMAIL PROTECTED] wrote: Hi All, Let say I want to undeploy a web service while Axis is running. What is the best way of doing that? Is it simply deleting the

RE: No content length

2006-09-21 Thread Doolittle, Todd
Title: RE: No content length That would imply there was something in the WSDL that specified not to use chunked. Im no web services expert. Can that be specified in the WSDL? -Original Message- From: Anthony Bull [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: No content length

2006-09-21 Thread Davanum Srinivas
nope. On 9/21/06, Doolittle, Todd [EMAIL PROTECTED] wrote: That would imply there was something in the WSDL that specified not to use chunked. I'm no web services expert. Can that be specified in the WSDL? -Original Message- From: Anthony Bull [mailto:[EMAIL PROTECTED] Sent:

Re: Axis - .NET Interop

2006-09-21 Thread Brian Moffatt
Thanks Anne. I too thought wrapped doc/literal would be my best bet for interoperability. Attached are my WSDL, and some SOAP messages. The file javaSOAPMessages.txt contains the request and response messages captured when calling the Axis service from the Java client (which works beautifully).

Re: Axis documentation

2006-09-21 Thread Erik Norgaard
Anne Thomas Manes wrote: The value of the SOAPAction HTTP header is a URI. It may be (and often is) different from the endpoint URL (i.e., targetEndpointAddress). The value of the SOAPAction URI is specified in the definitions/binding/operation element in the WSDL in this line:

[Axis2] context lookup issue

2006-09-21 Thread Johan Lundberg
I am using Axis2 nightly build from 31 August and cannot lookup the java:comp/env context from a created InitialContext created inside a class in the aar-file When I do this: Context initContext = new InitialContext(); Context envContext = (Context)initContext.lookup(java:comp/env); I get a

Axis2: xmlns= in toEnvelope() method

2006-09-21 Thread Felix Sprick
Hi, I have problems when validating the incoming soap call which has been generated with the Axis2-generated stub ( I am using the latest nightly build). The problem is that the namespace is not recognized anymore. This is the error message: The element 'MessageTag' in namespace

RE: CodeGeneration error while using commandline batch file WSDL2Java

2006-09-21 Thread Spies, Brennan
Darn, this delegation thing never works for me... ;) Will do. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 6:25 PM To: axis-user@ws.apache.org Subject: Re: CodeGeneration error while using commandline batch file WSDL2Java

Re: [Axis2] context lookup issue

2006-09-21 Thread robert lazarski
Can you do the same lookup successfully via a non-axis2 class inside WEB-INF/classes ? Robert On 9/21/06, Johan Lundberg [EMAIL PROTECTED] wrote: I am using Axis2 nightly build from 31 August and cannot lookup the java:comp/env context from a created InitialContext created inside a class in

Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
I'm a bit stumped here. I've been scouring documentation, articles, commentaries and the like for two days, so now I'm going to pester you fine folks. :-) I am generating a wsdl at build time and inserting into the WEB-INF directory in my .aar file like so: $ jar -tf services/pbqs.aar |

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread robert lazarski
With a nightly or recent build try: parameter name=useOriginalwsdltrue/parameter Or wait for the upcomming release in about a week or so. HTH, Robert On 9/21/06, D. Kreft [EMAIL PROTECTED] wrote: I'm a bit stumped here. I've been scouring documentation, articles, commentaries and the like

RE: CodeGeneration error while using commandline batch file WSDL2Java

2006-09-21 Thread Spies, Brennan
My mistake... Sharad, your WSDL is probably missing a fault nested in your binding...hence Axis is complaining about it. Look at the example here: http://www.gridlab.org/WorkPackages/wp-5/guide/faults.html -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent:

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
On 9/21/06, robert lazarski [EMAIL PROTECTED] wrote: With a nightly or recent build try: parameter name=useOriginalwsdltrue/parameter Is this to go into the axis2.xml or the services.xml? I'm guessing the latter, but hoping to save myself some time (and more beating my head against the

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread robert lazarski
services.xml Robert On 9/21/06, D. Kreft [EMAIL PROTECTED] wrote: On 9/21/06, robert lazarski [EMAIL PROTECTED] wrote: With a nightly or recent build try: parameter name=useOriginalwsdltrue/parameter Is this to go into the axis2.xml or the services.xml? I'm guessing the latter, but hoping

RE: CodeGeneration error while using commandline batch file WSDL2Java

2006-09-21 Thread Sharad Baronia
Hi, I have attached new wsdl file, which is validated with XMLSPY. Still WSDL2Java gives error. Any thoughs!! C:\apache\axis2v1night\binwsdl2Java -uri D:\sbaronia\workspace\test\corporateac tion.wsdl -o c:\test1 -l java -d adb -a -s -t -ss -sd -g -u -ssi Using AXIS2_HOME:

RES: Installing Axis2 in Tomcat

2006-09-21 Thread Silvio dos Passos Neto
Robert, I did what you told but it not work. But, I realized the problem is in my own enviroment because I downloaded two new fresh tomcat installation (the same version e a newer one) and tried to run axis2 under this exactly the the way it came from apache and both work at least the index

SAXParseException in axis1.4

2006-09-21 Thread rp johns
In switching to axis1.4 from axis1.1 I get the following exception when trying to process the response: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity (stack trace shown below) Let me first say that I can make this problem go away by calling

RE: CodeGeneration error while using commandline batch file WSDL2Java

2006-09-21 Thread Sharad Baronia
Hi, Now it works. Why message-part-type works for input/output, but doesn't work for fault? This is problem in the code---you have to change to support message-part-type for fault? -- Problem version: -- xsd:complexType

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
Wait a second... It seems *really* counter-intutive to have to supply a configuration setting to use a file that one intentionally puts in his .aar so that Axis can use it. It was my understanding after reading the documentation that a WSDL file in the META-INF directory was supposed to inhibit

Re: Axis documentation

2006-09-21 Thread Davanum Srinivas
How does this sample look? works with latest nightly. import org.apache.axis2.client.ServiceClient; import org.apache.axis2.client.Options; import org.apache.axis2.addressing.EndpointReference; import org.apache.axis2.transport.http.HTTPConstants; import

Re: Axis documentation

2006-09-21 Thread Davanum Srinivas
Sending file as attachment as well. -- dims On 9/21/06, Erik Norgaard [EMAIL PROTECTED] wrote: Anne Thomas Manes wrote: The value of the SOAPAction HTTP header is a URI. It may be (and often is) different from the endpoint URL (i.e., targetEndpointAddress). The value of the SOAPAction URI

RE: CodeGeneration error while using commandline batch file WSDL2Java

2006-09-21 Thread Spies, Brennan
Sharad, You are using RPC/encoded style, which is not supported by Axis 2.0 (not WS-I compliant). Given your schema, it doesn't really make any sense, either. Doc/literal would be more appropriate. -Original Message- From: Sharad Baronia [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
On 9/21/06, robert lazarski [EMAIL PROTECTED] wrote: With a nightly or recent build try: parameter name=useOriginalwsdltrue/parameter Okay, I tried this and I get no love from Axis2. I've got the WSDL in place: $ jar -tf services/pbqs.aar | grep wsdl META-INF/pbqs.wsdl And the

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread robert lazarski
If you are using RPCMessageReceiver it doesn't make sense to use your own WSDL . This is a FAQ: http://www.wso2.net/kb/104 The jist of it is that via databinding with xmlbeans, adb, jibx etc you will have your own wsdl. With RPC you are not using your own wsdl and axis2 will generate one for

[Axis2] Problem in passing XML data as String parameter

2006-09-21 Thread Satyajit Jha
Hi,I am using a stub client generated from wsdl using axis wsdl2java. I am trying to execute an operation with a string parameter. When I try to pass some XML data fragment as string for that parameter, it gives me HTTP Transport error : '400' - 'Bad Request' error. I looked at the SOAP request

Re: [Axis2] context lookup issue

2006-09-21 Thread Johan Lundberg
Hi Robert I tried to do this from a special servlet in axis2/WEB-INF/classes and the lookup works like a charm. Why isn't it accessible from the aar classes? feature or bug? If it is a feature, how do I get access to the context from initContext.lookup(java:comp/env); ? My final goal is to

Re: [Axis2] context lookup issue

2006-09-21 Thread robert lazarski
Well it might be a classloader issue because an aar uses a different classloader than a servlet. You can of course have an aar which can see classes in a higher classloader - for example you can have an aar whcih references your ServiceClass that is placed in WEB-INF/lib or WEB-INF/classes ...

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
On 9/21/06, robert lazarski [EMAIL PROTECTED] wrote: If you are using RPCMessageReceiver it doesn't make sense to use your own WSDL . This is a FAQ: http://www.wso2.net/kb/104 Yeah, I saw that a couple of days ago. I think I actually read it more than once. The explanation of why I would

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread robert lazarski
You can use your own wsdl provided you use any other message receiver except for RPC*. If you have a wsdl that you made yourself or got from somewhere, why not just use databinding via xmlbeans or adb ? Robert On 9/21/06, D. Kreft [EMAIL PROTECTED] wrote: On 9/21/06, robert lazarski [EMAIL

Re: [Axis2] context lookup issue

2006-09-21 Thread Johan Lundberg
I'm not sure how I could get a reference to the ServiceClass in WEB-INF/classes. Can you be more specific cause I feel a bit isolated inside my aar. also: Gábor Prótár got this working the way I intended it to initially. Check the thread 'Tomcat + Axis2 + MySQL' fist post from 9/19 2006 2:08

Re: [Axis2] context lookup issue

2006-09-21 Thread robert lazarski
Other way around ... I was suggesting you get a reference to some class from WEB-INF/classes that your servlet sets up, that you call from inside the aar . It shouldn't be your servlet - use a singleton perhaps. I really don't understand why you could get a bound InitalContext inside

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
On 9/21/06, robert lazarski [EMAIL PROTECTED] wrote: You can use your own wsdl provided you use any other message receiver except for RPC*. If you have a wsdl that you made yourself or got from somewhere, why not just use databinding via xmlbeans or adb ? I'm not familiar with either

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread robert lazarski
java2wsdl is what you are after I believe . Its a bat / sh file under the bin dir. HTH, Robert On 9/21/06, D. Kreft [EMAIL PROTECTED] wrote: On 9/21/06, robert lazarski [EMAIL PROTECTED] wrote: You can use your own wsdl provided you use any other message receiver except for RPC*. If you

Re: [Axis2] context lookup issue

2006-09-21 Thread Davanum Srinivas
Folks, Please create a JIRA issue, so that we can track and fix the problem. thanks, dims On 9/21/06, robert lazarski [EMAIL PROTECTED] wrote: Other way around ... I was suggesting you get a reference to some class from WEB-INF/classes that your servlet sets up, that you call from inside the

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
The nightly build has a Java2WSDL.sh, which will get me there, I'm sure...but is there documentation on how to use it (i.e. the arguments it takes)? There's no javadoc in the nightly docs snapshot for org.apache.ws.java2wsdl.Java2WSDL. Or am I relegated to source diving? -dan On 9/21/06, D.

RE: Axis2 is ignoring my WSDL

2006-09-21 Thread Charak, Vikas
Hi, I support Dan's views. We are creating Java Interfaces first and then WSDLs from those interfaces, so that an external non-java client can know about the contract. The implementation of those interfaces will happen in future. If we choose RPCMessageReceivers and deploy services, then Axis2

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread Dennis Sosnoski
D.Kreft wrote: Wait a second... It seems *really* counter-intutive to have to supply a configuration setting to use a file that one intentionally puts in his .aar so that Axis can use it. It was my understanding after reading the documentation that a WSDL file in the META-INF directory was

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread Martin Gainty
What I found is.. if you use any style other than RPC the wsdl's wont be created under AXIS2 Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
On 9/21/06, Martin Gainty [EMAIL PROTECTED] wrote: What I found is.. if you use any style other than RPC the wsdl's wont be created under AXIS2 ...which I maintain is an unnecessary feature. One should be able to specify his own WSDL regardless of what the messageReceiver is set to be for

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread Martin Gainty
You have to start from somewhere ..in our case a definition that is both complete and syntactically correct But..If the wsdl you provide (either its content or style) is hosed there is no way for the program to correct it However.. If the program is *somehow* able to intuit from the services

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread Martin Gainty
Good Evening All- I'm finding org.apache.axis2.engine.Service class doesnt exist in my distro's is this a new class? I do however see org.apache.axis2.Service class from core.jar- thanks, M- * This email message and any files

Re: Axis2 is ignoring my WSDL

2006-09-21 Thread D . Kreft
On 9/21/06, Martin Gainty [EMAIL PROTECTED] wrote: But..If the wsdl you provide (either its content or style) is hosed there is no way for the program to correct it However.. If the program is *somehow* able to intuit from the services operations/methods and parameter(s) what the generated

Missing jar

2006-09-21 Thread Spies, Brennan
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.2.jar to the WEB-INF/lib. You may want to include this jar in the nightly build