Portability of Axisc

2007-09-24 Thread Murali Konnipati
Hi All, I would like to know about the portability of Axis2c. Can i install axis2c in AIX, Solaris O/s. Please help in this regard. Thanks Regards, Murali Krishna K

Re: Portability of Axisc

2007-09-24 Thread Sanjaya Ratnaweera
Hi murali, You can install Axis2/C in to Solaris, but we've not tested with AIX. ~sanjaya Hi All, I would like to know about the portability of Axis2c. Can i install axis2c in AIX, Solaris O/s. Please help in this regard. Thanks Regards, Murali Krishna K

Re: How to develop a HTTPs-based webservice client

2007-09-24 Thread Dumindu Pallewela
Hi Murali, If you want to set the properties required for HTTPS transport, in your client code, please do the following: axutil_property_t *prop_sc = axutil_property_create(env); axutil_property_set_value(prop_sc, env, axutil_strdup(env, /path/to/server/cert));

adb-codegen, SOAPAction, Operation

2007-09-24 Thread mark . nuessler
hello users, i generate c and java sources from the mtomsample with adb. i can communicate from c to c and from java to java, but when i send from java-client to c-server there is again the issue, that the c-version tries to identify the method-name within the first node and the java-version

Re: adb-codegen, SOAPAction, Operation

2007-09-24 Thread Samisa Abeysinghe
[EMAIL PROTECTED] wrote: hello users, i generate c and java sources from the mtomsample with adb. i can communicate from c to c and from java to java, but when i send from java-client to c-server there is again the issue, that the c-version tries to identify the method-name within the first

RE : adb-codegen, SOAPAction, Operation

2007-09-24 Thread mark . nuessler
helo samisa, thx 4 your fast reply, my fault was, that i didn't engage the addressing module, so the c-server expected the functionname to be the first node. with addressing enabled the c-server got the right method name in invoke. mfg derMark

cannot infer transport from URL

2007-09-24 Thread Murali Konnipati
Hi All, When i try to execute my webservice client program, it is giving the following error in the axis2 generated log file -- PBS LOG file [Mon Sep 24 23:15:24 2007] [debug] phase_resolver.c(324) This handler is

Re: dependencies for compiling svn version

2007-09-24 Thread Chintana Wilamuna
On 9/24/07, Michael Sutter [EMAIL PROTECTED] wrote: compiled without error. The libtool (vers. 1.5.2) is installed. I also compiled a new version as I switched to the new versions of autoconf and Libtool 1.5.2 is quite old (released in early 2004 according to their website.) Michael, can you

Re: dependencies for compiling svn version

2007-09-24 Thread Michael Sutter
Sorry, this not fixed the error. I still get: src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined src/Makefile.am:2: src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again. Any

Problem with SVC client send_receieve method

2007-09-24 Thread Murali Konnipati
Hi All, I am sending a message to .net webservice using the Service Client API. At the time of calling send_receieve method, it was giving the following error... Stub invoke FAILED: Eroor code: 2 :: NULL parameter was passed when a non NULL parameter was expected Can anybody

Eclipse and axis2c

2007-09-24 Thread Daniel Pomrehn
Hello, I'm new to Axis2c and using the latest release. I'd like to use Eclipse as IDE to develop an service. When I try to compile an example I get 14 error messages of undefined references to: _imp_axiom_element_create _imp_axiom_element_set_text _imp_axiom_node_get_data_element

Re: how to set the username password dynamically using Rampart

2007-09-24 Thread Kaushalye Kapuruge
Hi Murali, Rampart/C[1] is the security module of Axis2/C. And it is based on the security policy assertions. So in order to enable username tokens, you need to engage Rampart/C with axis2/C. Please look at the scenario2, which shows how to enable user name tokens. And I hope following

Re: Problem while returning the response back (axis2C)

2007-09-24 Thread Dimuthu Gamage
Hi Sathya, If I got your question correctly, you are asking why there the returning object (which is created inside the service logic) is re-created in the client side. When you create and return the adb objects in ther server logic it is serialized into an xml and embed it in a soap message

Re: Can I use Axis in Servlet env?

2007-09-24 Thread Anas Mughal
Axis2 comes with a war deployment file. Just drop the war in your app server. Here are the comments regarding the WAR file: This will be the web application of Axis2 which can be deployed in most of the servlet containers. http://ws.apache.org/axis2/download/1_3/download.cgi -- Anas Mughal

RE: axis2 access .net web service

2007-09-24 Thread zhrb
Hi, I have set setUseSeparateListener(true),warning information: org.apache.axis2.AxisFault: Unable to engage module : addressing at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:333) at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:318) at

Re: Searching for help for error: java.lang.RuntimeException: Schema for namespace 'http://calendar.util.sun/xsd' already contains type 'Abstract Calendar'

2007-09-24 Thread Roland Piazzi
I'm not creating it manually, its created within the wsdl file and this is created via java2wsdl...? Should i modify my wsdl-file? - Original Message - From: Anne Thomas Manes [EMAIL PROTECTED] To: axis-user@ws.apache.org; Roland Piazzi [EMAIL PROTECTED] Sent: Sunday, September 23,

Unable to get valid response from webservice.

2007-09-24 Thread Nagesh Subrahmanyam
Hi, I am getting the following response when invoking the webservice. Could this be a problem with the way I am invoking (I am using SAAJ) ? Or, an issue with the service itself ? WSDL : http://trial.serviceobjects.com/ce/CurrencyExchange.asmx?WSDL ?xml version=1.0 encoding=utf-8?

How to get the web service directory?

2007-09-24 Thread Ralf Kaiser
Hello, In a web service, created with AXIS2, i neet to load a configuration file where the admin can define some default values. The configuration file is stored in a specific directory inside the web service installation directory. I had tried to access the current directory but that is set to

Re: Unable to get valid response from webservice - working now.

2007-09-24 Thread Nagesh Subrahmanyam
Hi all, Got it working. I had forgotten to qualify the tags with namespace. Regards, Nags, Nagesh Subrahmanyam wrote: Hi, I am getting the following response when invoking the webservice. Could this be a problem with the way I am invoking (I am using SAAJ) ? Or, an issue with the service

axis2.log missing

2007-09-24 Thread vpl
Hi, I've browsed the axis user mailing list and could not find a clear answer to this new-comer ... question. Please help I'm unsing the axis2.war deployed into a tomcat 6.0.14. In the catalina.out I see a log4j INFO when my Web-service is deployed. But I added on the server side some log4j code

SOAPMonitor for axis2

2007-09-24 Thread Fátima Milla Olaya
Hi, I want to use the module SOAPMonitor, in the instructions it is said to compile the applet classes but in the soapmonitor.jar there aren't any java files, when I start the SOAPMonitor and I open the Java console the error is that it can't find the soapmonitorapplet. Thanks

Re: axis2 access .net web service

2007-09-24 Thread Paul Fremantle
Zhang You need to make sure addressing.mar is in the classpath of the client. In order to do this you need to use WS-Addressing. Secondly, this ability of Axis2 is completely STANDARD and INTEROPERABLE! Its just that there is a difference between the way .Net Server and Axis2 Server handles

Re: [HELP!!!] [JIRA AXIS2-3215 created] was: Strange behavior with AXIS2_1.3: org.apache.axis2.AxisFault: For input string:

2007-09-24 Thread Patrick Houbaux
Workaround found! It seems that both problems are coming from the fact that I'm using Soap With Attachment for another service in my web application (i.e. in axis2.xml: the parameter enableSwA is set to true). If I turn this to false for the client stubs I don't get anymore exceptions and I

Re: Apache Savan: No release, unable to build release by myself

2007-09-24 Thread Thilina Gunarathne
Try changing the plugin version in the pom.xml to 1.2 or 1.3.. Those versions seems to be in the repository. http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/ thanks, Thilina On 9/21/07, Niels de Feijter [EMAIL PROTECTED] wrote: Hi Guys, I'm curious about the status of

Erros in generating C service using axis-c

2007-09-24 Thread sneha jain
Hi all, I am using axis-c 1.6 ... I have a wsdl and am trying generate C skeletons using it. I am successful in generating the skeletons without errors. But when i try to create the service dll it gives errors which seem to be simple syntax errors but i cant understand y.. example of errors i

Re: SOAPMonitor for axis2

2007-09-24 Thread robert lazarski
Read the instructions carefully - you need the source distro to compile the applet. Alternatively, unpack the soapmonitor jar as explained in the instructions - the applet classes are already compiled there but they must be moved properly to the right location. HTH, Robert On 9/24/07, Fátima

web service is just not there after deployment

2007-09-24 Thread Kerstin Bauer
Hi all! I suppose, this ist a simple question but I don't know how to solve this problem... I've written some web service and everthing worked fine so far. Now I've generated a new project (in Eclipse) where all my web services are in a specific package structure (I changed a few names, too),

[ANNOUNCEMENT] Axis2 Training Course London Nov 6-9th

2007-09-24 Thread Paul Fremantle
Hi I will be running an Axis2 training course in London in conjunction with SkillsMatter. This course has been run a few times before with good results. You can see the curriculum here: http://skillsmatter.com/axis-course Feel free to contact me ([EMAIL PROTECTED]) if you want more information.

Runtime Error - The system is attempting to engage a module that is not available: rampart

2007-09-24 Thread Rajesh, Peter (CLAIMS, WIP)
Hi, After installing the webservice in Weblogic 8.1 and try to run the Axis 2 client I get the below error. Am I missing anything in the configuration? Please let me know if there is a solution for this. test-axis2: [java] org.apache.axis2.AxisFault: The system is attempting to engage a

Re: AXIS2 with SAAJ

2007-09-24 Thread Joe S
Yes I am sure that the request and response messages are correct. I used SOAPTrace to verify this. I have set this aside until I hear something from apache. westpine wrote: Are you sure that response contains elements you are searching for? Try to send request from some tool and retrieve

[Axis C++] Re: Erros in generating C service using axis-c

2007-09-24 Thread Nadir Amra
First, ensure you are using Axis C++ from SVN, since that is the most stable version. Second, on client-side is supported - i.e. you cannot create a C Web service. Nadir K. Amra sneha jain [EMAIL PROTECTED] wrote on 09/24/2007 07:19:12 AM: Hi all, I am using axis-c 1.6 ... I have a

Re: web service is just not there after deployment

2007-09-24 Thread Martin Gainty
from $AXIS_1_3_HOME\samples\stock java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/Adm inService deploy.wsdd Processing file deploy.wsdd AdminDone processing/Admin view $CATALINA_HOME/webapps/axis/WEB-INF/server-config.wsdd you should see StockQuoteService deployed

Re: Searching for help for error: java.lang.RuntimeException: Schema for namespace 'http://calendar.util.sun/xsd' already contains type 'Abstract Calendar'

2007-09-24 Thread Anne Thomas Manes
Please file a JIRA with your code and the generated WSDL. Thanks. On 9/24/07, Roland Piazzi [EMAIL PROTECTED] wrote: when i modify the wsdl-file (delete the doubled content) and after that create the wsdl2java files there misses the method setCalendarDate3. How can I do without modifying the

Re: WSDL11ToAxisServiceBuilder.populateBinding causing NPE?

2007-09-24 Thread Anne Thomas Manes
Might I suggest that Axis2 should not return an NPE in this situation? Anne On 9/24/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: the names you have declared in operation fault and the wsdl:fault message=secmsgns:MessagingNotEnabledForPartnerFault name=MessagingNotEnabledForPartnerFault/

Re: Runtime Error - The system is attempting to engage a module that is not available: rampart

2007-09-24 Thread Deepal Jayasinghe
You are getting exception at the client side while the module has engaged successfully at the server side. Thanks Deepal Rajesh, Peter (CLAIMS, WIP) wrote: Hi, After installing the webservice in Weblogic 8.1 and try to run the Axis 2 client I get the below error. Am I missing anything in

Calling Axis1 Service with Axis2 Client

2007-09-24 Thread Markus . Hampel
Hi, I'm trying to migrate from Axis1 to Axis2, but have to call an external Service running under Axis1. The Axis1 code to call the service is following: Service externalService = new Service() Call externalServiceCall = (Call) externalService.createCall();

Exception Mapping between wsdl:fault and AxisFault/Java Client Exceptions

2007-09-24 Thread Jay Zawar
Hi, I have generated a service with the Axis2 Codegen Wizards (using Axis2 1.3 entirely). The WSDL generated meets my expectations: the wsdl:fault elements are created properly. However, my service class is told to throw e.g. com.foo.bar.CustomException. This maps - by the way - against the

Can I put image file in service (in .aar) file?

2007-09-24 Thread Vikas
Hi Friends, I want to access some images from service class ie on server side. Like we put resources in .jar file, Can we put resources in .aar file and refer that at runtime? I am able to send images from service to client but all paths are hard coded. Actually I want to send

Re: Can I put image file in service (in .aar) file?

2007-09-24 Thread Deepal jayasinghe
Well you can put anywhere inside the .aar file can you can get the resource as classLoader.getResourceAsStream(file name); say for an instance if you put your resource under service aar as follows MyService.aar META-INF services.xml resources myImage.jpg

[Axis2] schema validation exception

2007-09-24 Thread Jack Sprat
I am getting an UnsupportedOperation Exception each time I try to validate an OMElement against a schema. I am using Axis2 1.2 with no data binding so my service class receives an OMElement object. The validation code is quite simple: // Get XML stream reader from OMElement received

Re: Calling Axis1 Service with Axis2 Client

2007-09-24 Thread Anne Thomas Manes
It appears that the service you are trying to call uses RPC/encoded, and Axis2 does not support RPC encoding. Anne On 9/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm trying to migrate from Axis1 to Axis2, but have to call an external Service running under Axis1. The Axis1 code

Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-24 Thread Alexander Philippi
Hi, I have to handle incoming SOAP streams from a third system with axis2. This stream comes within a HTTP Post. The Webservice should receive the SOAP stream, transform it to a new XML-structure and send this new generated xml-stream to an other system. I was able to set up the webservice easily,

Re: [Axis C++] Re: Erros in generating C service using axis-c

2007-09-24 Thread sneha jain
Hi, thanks for the reply.. I downloaded the binary distribution from the apache site..could you please tell me what is axis c++ from SVN and i wasnt able to understand your second point. On 9/24/07, Nadir Amra [EMAIL PROTECTED] wrote: First, ensure you are using Axis C++ from SVN, since that

Re: Improved Error Response for Bad Requests on ADB

2007-09-24 Thread Jorge Fernandez
Hi Amila, Sorry for the late response but I've been very busy last days trying to finish my final project to get my degree. Yes it is true that when there is a NPE the excepcion should be thrown as Axis2 fault. As you can see, in exception A, the message contains an Axis2 fault and is well

Re: Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-24 Thread Paul Fremantle
Alexander How many systems are there? What I think you are describing is X--Y--Z Is that right? Paul On 9/24/07, Alexander Philippi [EMAIL PROTECTED] wrote: Hi, I have to handle incoming SOAP streams from a third system with axis2. This stream comes within a HTTP Post. The

AW: Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-24 Thread Alexander Philippi
Yes. System X sends me the SOAP stream, Y is the webservice and System Z is the receiver. (The webservice should work in both directions) - Ursprüngliche Mail Von: Paul Fremantle [EMAIL PROTECTED] An: axis-user@ws.apache.org Gesendet: Montag, den 24. September 2007, 19:30:36 Uhr

Re: [Axis C++] Re: Erros in generating C service using axis-c

2007-09-24 Thread Nadir Amra
SVN is the repository where the latest code is stored. You need to download and build AXIS C++ from latest code. My second point was you will not be able to create a Web service in C - only client-side is supported. Nadir K. Amra sneha jain [EMAIL PROTECTED] wrote on 09/24/2007 12:23:38

Re: web service is just not there after deployment

2007-09-24 Thread Kerstin Bauer
Hi Martin! Thanks for your reply. The stock quote web service works fine. I've already deployed web services that I wrote myself and they worked fine, too. But now I changed the package structure of one of my webservices from packe servJava to package de.dilis.servman.servJava (it's deeper

Re: [axis2-1.3] wsdl2java takes forever - unbearably long

2007-09-24 Thread Jake Goulding
Dims: I removed jalopy, as I didn't really care about formatting this code right now. This caused the build to go *much* faster. I did not try a newer jar, as I couldn't find one within 30 seconds of searching. :-) Thanks! -Jake Davanum Srinivas wrote: please delete the jalopy.jar and try

Re: [axis2-1.3] wsdl2java takes forever - unbearably long

2007-09-24 Thread Jake Goulding
Martin: I have 2GB on my desktop. I also ran the process on another Linux machine that has 4GB and a Windows machine with 6GB. All 3 machines were slow. -Jake Martin Gainty wrote: Jake-- Have much RAM do you have? M-- - Original Message - From: Davanum Srinivas [EMAIL

Re: [Axis2] schema validation exception

2007-09-24 Thread Martin Gainty
For your websphere environment check the version of axiom jar (assume axiom-api-1.1.1.jar) check the version of Xerces (assume version 2.8.0 xercesImpl.jar) in either case I would copy the 2 good jars to your webspere deployment library folder HTH M-- - Original Message - From:

How to pass user id and password to Webservice

2007-09-24 Thread Ashish Kulkarni
Hi How to pass userid and password, to validate user calling web service. I want to validate userid and password against some validation framework, so what is the best way to pass it Weather to put it in Header element of web service? or weather in Body Element? What is the best practise, are

Re: [Axis2] schema validation exception

2007-09-24 Thread Jack Sprat
I am using the Axiom and Xerces JAR files included with the Axis2-1.2 distribution: axiom-api-1.2.4.jar axiom-dom-1.2.4.jar axiom-impl-1.2.4.jar xercesImpl-2.8.1.jar I assume those are the right ones?? These are included in the deployed WAR file. I went through the pain of my 1st Websphere

Axis2 1.3: Generated stubs have *Marker methods?

2007-09-24 Thread John G. Norman
I notice that my generated stubs now have some new methods. If I have a method getPhoneNumber I now have an extra getPhoneNumberMarker. I think. I looked at for about 10 seconds. What's that about? (Broke a bunch of my unit tests . . .) John

Re: Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-24 Thread David Villegas
Hi, I think this is exactly the same problem I'm facing right now... I want to adapt an application running as a server to receive a notification from Axis when there is a SOAP request: I have defined the interface of the service with a WSDL file, and I have a simple skeleton working, but I

Re: [axis2-1.3] wsdl2java takes forever - unbearably long

2007-09-24 Thread Martin Gainty
Hi Jake- I used to have the same performance issues until I bumped Physical RAM from 2MB to 4MB and I also set these JAVA_OPTS to use 256MB (min) and 512MB (max) for TOMCAT -Xms256m -Xmx512m -XX:MaxPermSize=512m -XX:+PrintGCDetails -XX:+UseConcMarkS weepGC -XX:+CMSPermGenSweepingEnabled

xsd:double

2007-09-24 Thread Rishi krish
Hi We have an xml element of schema type double and since we are coding in java I have used the following api - String.valueOf(double) to convert a double to a string while creating the xml] and Double.parseDouble(String) to create a double out of that. Now there are some systems that seems to

Re: [axis2-1.3] wsdl2java takes forever - unbearably long

2007-09-24 Thread Jake Goulding
Martin: I'm not quite sure what Tomcat has to do with generating the Java stubs from the WSDL. However, I did assign more memory to the java process with -Xmx1500m (in the script wrapper that wsdl2java.sh calls). This did not improve performance at all. At this point, I'm quite sure it was the

Re: How to pass user id and password to Webservice

2007-09-24 Thread Ted Jones
Ashish, You can use one of several authentication protocols with Axis2. Here are some useful links: http://wso2.org/library/161 http://ws.apache.org/axis2/modules/rampart/1_1/security-module.html Thanks, Ted - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To:

sending a message from client to server

2007-09-24 Thread topcoder1
in Axis2 how do I send a message from server to client? not an error or the result of the method call. for example: public void startProcess(){ for(int i=0;i10;i++){ Thread.sleep(1000); setProgress(0.1*i); //signal the client

Re: Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-24 Thread Ajith Ranabahu
Hi, You guys should look at Synapse (http://ws.apache.org/synapse/). Synapse is based on Axis2 and is the perfect thing for what you are looking for Ajith On 9/24/07, David Villegas [EMAIL PROTECTED] wrote: Hi, I think this is exactly the same problem I'm facing right now... I want to adapt

WstxEOFException: Unexpected EOF in prolog

2007-09-24 Thread Nicholas Hogg
Hi, I know this problem has come up on the list a few times but none of the previous responses has helped me out. My problem is an exeption WstxEOFException: Unexpected EOF in prolog when invoking a service call (see below for stack trace) however it only occurs when the client servlet sits

Re: [Axis C++] Re: Erros in generating C service using axis-c

2007-09-24 Thread sneha jain
What if i want to create a web service in C ?? But on the site they say that it has support for both C/ C++ ?? Actually its a project i am working on ... Its an existing application which is in C and i want to expose this as web service..Is this not possible ?? On 9/24/07, Nadir Amra [EMAIL

Re: Possible to specify session scope with WSDL2Java?

2007-09-24 Thread Stella Lok
Hi, Is it possible to specify a session scope for WSDL2Java-generated stub files? I could not find a way to do it. Much thanks, Stella

Re: WSDL11ToAxisServiceBuilder.populateBinding causing NPE?

2007-09-24 Thread Amila Suriarachchi
On 9/24/07, Anne Thomas Manes [EMAIL PROTECTED] wrote: Might I suggest that Axis2 should not return an NPE in this situation? yes, it should throw a proper exception. I'll fix it. Anne On 9/24/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: the names you have declared in operation fault

Re: Axis2 1.3: Generated stubs have *Marker methods?

2007-09-24 Thread Amila Suriarachchi
these methods are generated per operation. please check whether there is an operation with this name. Amila. On 9/25/07, John G. Norman [EMAIL PROTECTED] wrote: I notice that my generated stubs now have some new methods. If I have a method getPhoneNumber I now have an extra

Re: log4j Axis2 Server not running. please help ...!!!!!!!

2007-09-24 Thread Upul Godage
Hi, Try giving an absolute file path. (Linux) log4j.appender.LOGFILE.File=/home/user1/apps/axis2/logs/axis2-vpl.log (Windows) log4j.appender.LogFile.File=c:\\logs\\test.log Upul On 9/24/07, vpl [EMAIL PROTECTED] wrote: Struggling with this log4j config . for some hours now. Please help