Re: Unable to locate/load library

2007-09-19 Thread Samisa Abeysinghe
Subra A Narayanan wrote: Samisa/Dinesh, I think I wasn't clear about my question. My web service library name is libuserdata.so. I have placed this file in axis2-deploy-directory/services/userdata folder. libuserdata.so uses another library called libtestws.so. This is file that is not

Re: AW: echo.exe client has infer transport error

2007-09-19 Thread Dinesh Premalal
Hi, Mark Nüßler [EMAIL PROTECTED] writes: hello josef, another tool, that can help you with this kind of problems maybe is 'filemon' from sysinternals. i saw, that you are using vs2005, maybe it is helpful to you to build the axis2c from scratch using 'DEBUG=1' in build\win32\configure.in

Re: prob, array of base64binary

2007-09-19 Thread Dimuthu Gamage
On 9/19/07, Mark Nüßler [EMAIL PROTECTED] wrote: hello dimuthu, yes i know [this works fine]. but i think it would be nice to have it in adb-generation, cause i want to generate as much as i can. Yea sure. I will try my best to fix it asap. Thanks Dimuthu thx derMark Dimuthu Gamage

Compiling and runtime errors WSDL2C

2007-09-19 Thread Callner, David A.
NOTE: I am creating a client wsdl2c -uri SoaSimRegistry.wsdl -d adb -u -l c Axis2-1.3/Java and axis2c-bin-1.0.0-linux/C I'm getting the following compile time errors. After running the WSDL2C I get compile time errors of first_node = parent. first_node is not defined in the function. This

Axis2C: linker error: _axutil_error_messages

2007-09-19 Thread Michael Mole
I'm getting a linker error and cannot figure out how to resolve it. I'm wondering if anyone else has seen a linker error about _axutil_error_messages? The scenario is described below. I am coding in C++ and have two classes: class_A and class_B. Class_A has a private member of type

Re: Axis2C: linker error: _axutil_error_messages

2007-09-19 Thread Shaun Mangelsdorf
Hi Michael, I had this same issue with the 1.0 release. If you look in the source tree at util/include/axutil_error.h line 577 there is a definition in the header file which is causing this issue. const axis2_char_t* axutil_error_messages[AXIS2_ERROR_LAST + 1]; I believe this has been

Re: Axis2C: linker error: _axutil_error_messages

2007-09-19 Thread Samisa Abeysinghe
Shaun Mangelsdorf wrote: Hi Michael, I had this same issue with the 1.0 release. If you look in the source tree at util/include/axutil_error.h line 577 there is a definition in the header file which is causing this issue. const axis2_char_t* axutil_error_messages[AXIS2_ERROR_LAST + 1];

Re: Compiling and runtime errors WSDL2C

2007-09-19 Thread Dimuthu Gamage
Hi David, This should be most probably due to an unsupported schema by wsdl2c templates. We dont have access to the schema at http://shag.mitre.org:28080/SoaCenter/SoaSimRegistry?xsd=1 which is imported by the wsdl. So please send us the schema, so we can exactly figure out the problem. Thanks,

Re: Segmentation fault while sending a message to server

2007-09-19 Thread Dimuthu Gamage
Hi Sathya, You seems generating code with ADB (Axis Data Binding) support. That way you dont need to build the xml yourself. But the sample you have referred in the document (the hello.c) is written not using ADB. The code you wrote simply build the axiom model for an xml like following

AW: InvocationTargetException when importing WSDL

2007-09-19 Thread Ralf Kaiser
Hello, Yes. I am using Eclipse with WTP to import the WSDL. Import is done using the URL from the running server (not from a file). Yesterday i had to restart my computer to get the import working (did not change any parameter or so but suddenly it worked) Ciao, Ralf _ Von: Lahiru

Windows Vista and Axis2

2007-09-19 Thread Nasreen Laghari
Hi All, I'm trying to make a java or JSP client to invoke webservice. I'm using Axis2 and Windows Vista. Few days ago I asked about Service Object throwing exception of Can not Initiliaze then Mr Deepal replied me that i was using Axis1 coding. Then I move on to Axis2 coding. But I'm having

Re: Windows Vista and Axis2

2007-09-19 Thread Deepal jayasinghe
What is the application sever you are using ? if is is tomcat try to put into common\lib or somewhere that your JSP can access. If you send me your webapp then I might me able to help you. Thanks Deepal Hi All, I'm trying to make a java or JSP client to invoke webservice. I'm using Axis2

Re: Axis Webservice question again

2007-09-19 Thread mr.knowledge
Thanks for the link. I post my question again in this forum as well. But if someone has an idea (because I think the error is the namespace declaration) please let me know. regards alex - Original Message - From: mr.knowledge To: axis-user@ws.apache.org Sent: Tuesday,

Beginner

2007-09-19 Thread Marco Schwarz
I using Ant 1.7 and Axis1.2 and I have problem with the .wsdd file. I don't found a simple tutorial (with example) that explain the axis-admin (I suppose that that task create the .wsdd file). Have someone a good link or example Thanks Marco

add xmlns:soapenc xmlns:xsd xmlns:xsi soapenv:encodingStyle

2007-09-19 Thread G71
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 1) xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 2) xmlns:xsd=http://www.w3.org/1999/XMLSchema; 3) xmlns:xsi=http://www.w3.org/1999/XMLSchema-instance; 4)

Re: InvocationTargetException when importing WSDL

2007-09-19 Thread Lahiru Sandakith
Ralf, please try preferences - validation - disable wsdl validation and then see whether the error still persists if so please report and issue in bugs.eclipse.org under the wtp, explaining your scenario. There may already be issues with validation. Thanks Lahiru On 9/19/07, Ralf Kaiser [EMAIL

Re: [axis2 , rampart] When using Username Token password is hashed by default?

2007-09-19 Thread Nencho Lupanov
hello again, I'll try to anwer myself: The plain text password is set as a property only if transport binding is used. Why the password type is not set to plain text when asymetricbinding is used for example? thanks, Nencho 2007/9/18, Nencho Lupanov [EMAIL PROTECTED]: Hello, I am using a

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Amila Suriarachchi
On 9/18/07, Demetris G [EMAIL PROTECTED] wrote: So hold on a sec - Amila, are you saying that Axis2 is not considered a stable and reliable enough standalone web service container Axis2 is not a web service container. Axis2 is a soap and REST message processor which supports WS*. Axis2

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Amila Suriarachchi
On 9/19/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: On 9/18/07, Demetris G [EMAIL PROTECTED] wrote: So hold on a sec - Amila, are you saying that Axis2 is not considered a stable and reliable enough standalone web service container Axis2 is not a web service container. Axis2

Re: [Axis2] set xmlns:soapenc xmlns:xsd xmlns:xsi soapenv:encodingStyle

2007-09-19 Thread Anne Thomas Manes
Axis2 does not support SOAP encoding. If you need to use SOAP encoding, then use Axis rather than Axis2. Anne On 9/19/07, G71 [EMAIL PROTECTED] wrote: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 1)

Re: Beginner

2007-09-19 Thread Anne Thomas Manes
If your service is relatively simple and you're happy to take the defaults, then you can simply deploy the service using the .jws method (you don't need a WSDD). You need a WSDD if you have complex types (you must tell Axis how to map the XML types to Java types), if you want to use a style other

Re: AXIS2 with SAAJ

2007-09-19 Thread westpine
I'm using this code. body is SOAPBody object. String name = body.getElementsByTagName(Name).item(itemIndex).getTextContent(); -- View this message in context: http://www.nabble.com/AXIS2-with-SAAJ-tf443.html#a12775991 Sent from the Axis - User mailing list archive at Nabble.com.

Re: Axis Webservice question again

2007-09-19 Thread Anne Thomas Manes
Alex, I don't have time this morning to do a thorough scan of the documents, but I do notice that your BPEL definition references serviceLinkTypes, messageTypes, and portTypes in the tns namespace, but none of these components are defined in that namespace. I suggest you search through the BPEL

RE: ADBException: Unexpected subelement Code

2007-09-19 Thread Erwin Reinhoud
Dear Amila, Could you let me know if my infromation was of any use? I succesfully used the wsdl to generate a service using axis 1.4, but am hoping to be able to do the same with axis2. Kind regards, Erwin -Oorspronkelijk bericht- Van: Erwin Reinhoud Verzonden: dinsdag 18 september

Re: Axis Webservice question again

2007-09-19 Thread mr.knowledge
Anne, thank you very much for this advice (because I got only 2 answers). I will try this and if I have further problems I post again. best regards, alex - Original Message - From: Anne Thomas Manes [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Wednesday, September 19, 2007

access to HttpServletRequest headers

2007-09-19 Thread Giao
Hi, Is there any way for a WSDL2Java-generated skeleton class (like the MTOMSampleSkeleton) to access any of the HttpServletRequest headers? We have a requirement to use some of the info from the headers in the implementation. Thanks in advance. Giao Nguyen

RE: AXIS2 with SAAJ

2007-09-19 Thread Gennady Shumakher
According to my experience the AXIS2 SAAJ 1.3 implementation of org.w3c.domElement.getElementsByTagName and getElementsByTagNameNS do not search through the document tree, but at the 1st level of children only. I've opened a JIRA issue on that matter (

Re: AXIS2 with SAAJ

2007-09-19 Thread Joe S
Thank you for your response. If I do exactly as you mention with my sample xml. return should be positioned (itemIndex) 0 or 1 depending on whitespace. I get a null pointer exception. So I took it a step further and ran the below and get nothing. SOAPBody sb2 = reply.getSOAPBody(); NodeList

RE: AXIS2 with SAAJ

2007-09-19 Thread Joe S
That would make sense. I appreciate you starting the issue. I thought I was just doing something wrong. Thank you, Joe Gennady Shumakher-2 wrote: According to my experience the AXIS2 SAAJ 1.3 implementation of org.w3c.domElement.getElementsByTagName and getElementsByTagNameNS do not

Re: AW: InvocationTargetException when importing WSDL

2007-09-19 Thread Todd Allen
Have you tried Project - Clean within Eclipse? That often will clear up errors in a project. Todd At 04:49 AM 9/19/2007, you wrote: Hello Lahiru, i had already disabled the validation (before that error occurred). It seem that it has nothing to do with WSDL validation. The strange thing is

Accessing authentication information

2007-09-19 Thread Michael Imhof
We're using Axis Webservices and they are secured by basic authentication. Now, I would to access the user/password information of the basic authentication (this information must be send to the server anywhere). How can I access this information. Regards, Michael -- View this message in

Strange behavior with AXIS2_1.3: org.apache.axis2.AxisFault: For input string:

2007-09-19 Thread Patrick Houbaux
Hi all, I have a weird problem that I am stuck with. Here is the situation: I have a web service client stub generated with wsdl2java using xmlbeans which works ok when I used it from a standalone application. Now I have the need to use this client stub from an application server (i.e.

RE: Strange behavior with AXIS2_1.3: org.apache.axis2.AxisFault: For input string:

2007-09-19 Thread Horninger, Joe (Contr) (Mission Systems)
Patrick, I have a simple solution for problem #1. You're only checking for null. What if you rewrite your if to if(port != null !.equalsIgnoreCase(port) ). That should fix the NumberFormatException. The Unable to sendViaPost to url issue may or may not be resolved with this...

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Demetris G
That's what I thought :) Thanks Amila. Amila Suriarachchi wrote: On 9/19/07, *Amila Suriarachchi* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 9/18/07, *Demetris G* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: So hold on a sec - Amila, are you saying that

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Demetris G
Would you say the same for Axis ? Axis can be used as a standalone web services container - yes ? If not then we have people publishing papers on that that may have it wrong. Thanks Demetris G wrote: That's what I thought :) Thanks Amila. Amila Suriarachchi wrote: On 9/19/07, *Amila

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Demetris G
In other words - and excuse the multiple emails on this - although I do have a good understanding on how Axis and Axis2 work, my point is that I noticed in the literature that some researchers are using the wrong terminology to explain their functionality that confuses some people. These

Re: access to HttpServletRequest headers

2007-09-19 Thread Martin Gainty
easiest way is to dig out the headers from the messageReceiver class and then reference org.apache.axis.message.SOAPHeader which will use extractAllHeaderElements method to iterate thru all of the elements from the returned iterator http://ws.apache.org/axis/java/apiDocs/index.html Does this

Re: Strange behavior with AXIS2_1.3: org.apache.axis2.AxisFault: For input string:

2007-09-19 Thread Patrick Houbaux
Hi Joe, Well that I know and could have done it if that piece of code was not part of AXIS2 libs ... not in my application :) The real question is why AXIS2 detects a server proxy config while I'm not using any ... i.e. when System.getProperty("http.proxyHost"`) is set to "" by default when

Re: [axis2 , rampart] When using Username Token password is hashed by default?

2007-09-19 Thread Jon Hanshew
The only way to get a plain text password that I have found is to use basic security. Check out Rampart basic sample03. Nencho Lupanov wrote: Hello, I am using a security policy with Usernametoken enabled. I expected to have a clean text password because all i used in my poolicy is:

RE: WSDL generation using AXIS - newbie help

2007-09-19 Thread Dean Pullen
Thanks for the reply Anne, helped a lot. I've contacted them to sort it out, they're aware of the 'problem'. It's good to know I was thinking along the right lines, I just never expected such a loosely typed spec to be allowed, kinda' defeats the object. For other people interested please refer

Class loading using external jar in Axis 2

2007-09-19 Thread sgopal
Hi, I have deployed a web service that uses an external jar file by adding the jar file in the lib directory inside my AAR file. What I am trying to do is to remove the jar files and give an absolute path in the Class-path entry of the manifest.mf file. I have tried doing this in the manifest

[AXIS 1.4] Load webapp on startup

2007-09-19 Thread David Struck
I am deploying a WAR file on Tomcat 5.5.23 with AXIS web.xml and server-config.wsdd files included in the WAR's WEB-INF folder. I want the webapp to load when Tomcat starts up (instead of when the first request is made). I've tried added a load-on-startup tag to the web.xml file (for the

FW: [Axis2] Xml beans databinding with WSDL2java tool improvments. **HTML Content Modified**

2007-09-19 Thread Youtsey, Sean J CTR NUWC, Code 441
Amila, Thanks so much for your work on this. It will really help me as I am having current AXIS2 XMLBeans issues that are preventing me from using AXIS2. I have one slight issue with the process defined below in Step 3, where if I replace XMLBeans generated code with AXIS2 generated code the

Re: Accessing authentication information

2007-09-19 Thread Anthony Bull
Hi Michael, there are newer ways of doing this, but I haven't gotten around to getting them working (had difficulties). In your skeleton try the following - it has a deprecated call in it, but it still works with 1.2 and 1.3, so is fine for the time being..

Re: Class loading using external jar in Axis 2

2007-09-19 Thread Deepal Jayasinghe
hi sgopal , Hi, I have deployed a web service that uses an external jar file by adding the jar file in the lib directory inside my AAR file. What I am trying to do is to remove the jar files and give an absolute path in the Class-path entry of the manifest.mf file. Axis2 does not

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-19 Thread Amila Suriarachchi
On 9/19/07, Demetris G [EMAIL PROTECTED] wrote: Would you say the same for Axis ? Axis can be used as a standalone web services container - yes ? I am not familiar with Axis. My involvement is with the Axis2. Some one having a good knowledge of Axis may answer this. If not then we have