Re: Using AXIS2C from scripting environment

2007-08-09 Thread Yuvaraj Athur Raghuvir
Hello Nandika, Is axiom_xml_reader_init (); an exported function? I do not find it any of the lib files. In this case, how should I link it? I get a linker error due to this call. Regards, Yuva On 8/9/07, Nandika Jayawardana [EMAIL PROTECTED] wrote: Hi Yuva, There are few posibilities

Re: Using AXIS2C from scripting environment

2007-08-09 Thread Dinesh Premalal
Hi Yuvaraj, Yuvaraj Athur Raghuvir [EMAIL PROTECTED] writes: Hello Dinesh, This is what the log file says: Thu Aug 09 11:27:28 2007] [debug] c:\08.utils\axis2\axis2c-src-1.0.0\ axis2c-src-1.0.0\src\core\phaseresolver\phase_resolver.c(231) module name is:addressing [Thu Aug 09 11:27:28

Re: Using AXIS2C from scripting environment

2007-08-09 Thread Yuvaraj Athur Raghuvir
Hello Dinesh, I am trying to do exactly what the yahoo_client.c sample does from a scripting language called J available here http://www.jsoftware.com/.[1] 1) Running yahoo_client.c crashes at axis2_svc_client_free(svc_client, env); Debugging via VC revels the crash at (one of

Re: [WSDL2C] Bug in C - ServerStubs - Unexpected Subelement

2007-08-09 Thread Dr. Florian Steinborn
Hi, just to let you know what we did to temporarily bypass the problem: We added just one exclamation mark and it works: [...] if(has_parent) axutil_stream_write(stream, env, start_input_str, start_input_str_len); changed to if(!has_parent) axutil_stream_write(stream, env,

Re: [WSDL2C] Bug in C - ServerStubs - Unexpected Subelement

2007-08-09 Thread Samisa Abeysinghe
Looks like a logic error in the generated code. I could change the style sheet logic to include this. However, I would like to have a test case to ensure the change works. Samisa... Dr. Florian Steinborn wrote: Hi, just to let you know what we did to temporarily bypass the problem: We added

Re: Using AXIS2C from scripting environment

2007-08-09 Thread Nandika Jayawardana
Hi Yuvaraj, To build axis2c from vc project, use the vc2005 project solution file located in AXIS2 SOURCE DIRides\vc\axis2c folder. It will build axis2c to a folder named deploy in AXIS2 SOURCE DIRides\vc\axis2c directory. Regards Nandika On 8/9/07, Yuvaraj Athur Raghuvir [EMAIL PROTECTED]

Re: [WSDL2C] Bug in C - ServerStubs - Unexpected Subelement

2007-08-09 Thread Dr. Florian Steinborn
Hi Samisa Looks like a logic error in the generated code. I could change the style sheet logic to include this. However, I would like to have a test case to ensure the change works. attached you find a WSDL and the generated C code with the error. This could make it easier to see your

Re: Using AXIS2C from scripting environment

2007-08-09 Thread Yuvaraj Athur Raghuvir
Hello Nandika, Can you also tell me the location from where I can download the following? a) libapr-1.lib apr-1.lib libhttpd.lib associated dlls b) libcurl_imp.lib associated dlls [should I choose with SSL or without?] c) httpd.lib associated dlls d) ssl ( I have got the installation from

Re: Using AXIS2C from scripting environment

2007-08-09 Thread Dumindu Pallewela
Yuvaraj Athur Raghuvir wrote: Can you also tell me the location from where I can download the following? a) libapr-1.lib apr-1.lib libhttpd.lib associated dlls These libs are in the lib/ directory of your apache installation. DLLs can be found inside bin/ directory. You can download apache

Re: Service compilation problem

2007-08-09 Thread Subra A Narayanan
I followed ur suggestion and looked at the gcc command options as generated by the make file. That solved the problem. Thanks! On 8/7/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Subra A Narayanan wrote: Thanks Samisa. I tried your solution and it worked for the 'math' sample. So I

Re: [Axis2/C]: SOAP request with line breaks fails

2007-08-09 Thread Samisa Abeysinghe
Samisa Abeysinghe wrote: Subra A Narayanan wrote: Hey Samisa, It still doesn't work. Anything else that I can do to solve this problem? I tested it on my machine, with newlines in the payload, and it works with the latest svn. I tested with a PHP client and echo service. You seem to have

Re: [Axis2][VOTE]Axis2 1.3 release artifacts (#take2)

2007-08-09 Thread Amila Suriarachchi
+1 to release. Amila. On 8/8/07, Deepal jayasinghe [EMAIL PROTECTED] wrote: Michele Mazzucco wrote: Hi all, am I wrong or the JMS lib is missing? Nope , we do not need to add JMS jars by default, since we have not unable JMS transport by default. Thanks Deepal

Re: Axis 2 https port address

2007-08-09 Thread Deepal Jayasinghe
Hi Ali, Did you try with Axis2 1.3 take2 ? , please test with that and if the issue is there then please create a JIRA. Thanks Deepal Thanks Deepal Hi, I have deployed a service in weblogic which listens at both http and https addresses. My service is build using useOriginalWsdl=true

error withy

2007-08-09 Thread francois.m.bodson
Hi all, I get an error when running a client of a web service using wss security. The xml generated by axis after inserting the signature looks like this: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema;

getInboundFaultFromMessageContext in last RC

2007-08-09 Thread Jorge Fernandez
Hi all, I'm getting this exception in last RC when returning the exception below. What is the cause of that? I've tried with other exceptions and I had no problem. Thanks, Jorge Fernández org.apache.axis2.AxisFault: unknown at

Re: [Axis2][VOTE]Axis2 1.3 release artifacts (#take2)

2007-08-09 Thread Michele Mazzucco
Ok, so which libs shall I include if I want JMS support? Thanks, Michele On 8 Aug 2007, at 17:36, Deepal jayasinghe wrote: Michele Mazzucco wrote: Hi all, am I wrong or the JMS lib is missing? Nope , we do not need to add JMS jars by default, since we have not unable JMS transport by

Re: non-repudiation with signature using rampart 1.2

2007-08-09 Thread Ruchith Fernando
On 8/4/07, Pavan Madiraju [EMAIL PROTECTED] wrote: Thanks Dimuthu, Does anyone have example code for WS security using only digital signature ? Please see policy/sample02 in the Rampart distro. Thanks, Ruchith Tried to modify the simple example ( Sample4) to implement one way security.

AW: Question about Fault Structure

2007-08-09 Thread Hidalgo, Indira, VF-DE
Hello everybody, Do you have some Idea about how can I stop the multiRef generation by Fault Structures?. I have already used the property: globalConfiguration ... parameter name=sendMultiRefs value=false/ ... /globalConfiguration But it did not function :( Thanks in advance, Indira.

Re: Rampart Sample 4 -

2007-08-09 Thread Ruchith Fernando
Can you please post your client and service configuration? Thanks, Ruchith p.s. Please *subscribe* by sending a mail to [EMAIL PROTECTED] and post rampart related issues in the rampart-dev@ list On 8/4/07, Pavan Madiraju [EMAIL PROTECTED] wrote: I am trying to execute sample 4 from Rampart

destroy

2007-08-09 Thread Jorge Fernandez
Hi, I'm using SOAP sessions and I'm testing my Web service opening and closing sessions and I can see sometimes in the logs that the session is being closed more than once. Sometimes, this happens with more than one minute of difference. And when I shutdown Tomcat, all sessions are closed

serviceGroupContext problems

2007-08-09 Thread Jorge Fernandez
Hi again, Debugging my Web service with eclipse I'm having two clients stopped and from the two of them I can see that configurationContext has in serviceGroupContextMap one only entry with the ID of the last connected client. I also would like to ask where should I store variables that should

Re: [AXIS2] Problem with WS-Trust

2007-08-09 Thread Ruchith Fernando
Hi, You can use org.apache.rahas.client.STSClient to obtain a token from the service. Please have a look at this sample client code [1]. You can see this sample in action in WSO2 WSAS 2.0 [2] Thanks, Ruchith 1.

MustUnderstand error

2007-08-09 Thread francois.m.bodson
Hi all, When calling a web service with a wsdd security file I get the following error message: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand faultSubcode: faultString: Did not understand quot;MustUnderstandquot;

Re: Axis2 and Rampart / Rahas Client

2007-08-09 Thread Ruchith Fernando
Please see this : http://marc.info/?l=axis-userm=118665642802630w=2 Thanks, Ruchith On 7/25/07, Chris82KS [EMAIL PROTECTED] wrote: Hello @all! I want to use a service as security token provider. For this task I've chosen Rahas 1.1 in Axis2 1.1. Now I want to write a client which shall

soap over jms

2007-08-09 Thread Michele Mazzucco
Hi all, I want use both SOAP over HTTP and SOAP over JMS (topic with multiple subscribers) but it's not very clear how to achieve my goal. I want to put a sort of proxy/load balancer in front of my distributed app to receive HTTP requests and forward them via JMS to a replicated web service.

Re: soap over jms

2007-08-09 Thread Paul Fremantle
Michele You could use Apache Synapse (ws.apache.org/synapse). It can take XML/SOAP over HTTP requests and forward them to JMS. No coding required. It can also perform load-balancing. You could do round-robin DNS to Synapse to spread the load to a pair of Synapse servers or just have one. It can

Re: soap over jms

2007-08-09 Thread Michele Mazzucco
Paul, thanks very much for the quick answer. However my idea about the proxy was a bit different, that is the proxy is used to address fault tolerance issues (at least at this stage), not for performance reasons. The rationale is that my web service is statefull and it looks to me that keeping

Re: Apache Axis 2 Architecture Question

2007-08-09 Thread Davanum Srinivas
Anthony, Can you please cross post to rampart-dev@ thanks, dims On 8/9/07, Anthony Bull [EMAIL PROTECTED] wrote: Hi, I have a question regarding the architecture of my Axis 2 client applications. Application description: We are using the WS-Security username token header to authenticate

OMException when using the http async msg receiver

2007-08-09 Thread Michele Mazzucco
Hi all, I'm testing axis2 1.3 rc3 available here [1], but when I try to hit the administration page I see an internal error. The environment is linux + tomcat 6.0.13 (async connector) + java 1.5. This is the server log: 09-Aug-2007 14:15:08 org.apache.catalina.core.AprLifecycleListener init

Re: OMException when using the http async msg receiver

2007-08-09 Thread Michele Mazzucco
Some more info. If I use the default http transport receiver (i.e. SimpleHTTPServer) instead of HttpCoreNIOListener it seems to work fine. Michele On Thu, 2007-08-09 at 14:21 +0100, Michele Mazzucco wrote: Hi all, I'm testing axis2 1.3 rc3 available here [1], but when I try to hit the

axis2 - service error switching adb to xmlbeans

2007-08-09 Thread theMenace
Hi, Love the product (using axis2 1.2), and everything was going swimmingly until... I'm generating a service from a WSDL. It was working fine with adb binding, but I want to do schema validation, so I'm trying to switch it to xmlbeans databinding. Once I switched it to xmlbeans, regenerated,

Re: soap over jms

2007-08-09 Thread Michele Mazzucco
Ok, sorry Paul :). I simply meant if there's anything special I should know in order to use pure JMS inside my web service running on top of axis2/synapse, i.e. I guess I should use a TextMessage if I want to forward a message somewhere. What shall the it include?, just the SOAP body or the full

java/Axis client - SOAP::Lite perl server

2007-08-09 Thread jony
I have a working pair of (SOAP::Lite) client/server written in Perl. Now I need to re-code the client portion in Java to integrate it with a pre-existing framework. Im running into trouble figuring out how to (de)serialize the data coming in. Im getting lots of org.xml.sax.SAXException: Bad

[axis2] jms configuration how to

2007-08-09 Thread Michele Mazzucco
Hi all, I'm trying to have the jms transport running (activemq embedded in tomcat) but it does not work. The JMS portion of axis2.xml is as follows: transportReceiver name=jms class=org.apache.axis2.transport.jms.JMSListener parameter name=default parameter

Re: axis2 - service error switching adb to xmlbeans

2007-08-09 Thread theMenace
Nevermind. I found this http://ws.apache.org/axis2/1_1_1/adv-userguide.html http://ws.apache.org/axis2/1_1_1/adv-userguide.html , that told me I needed to copy my schemaorg_apache_xmlbeans folder onto the classpath of my aar file. -chuck theMenace wrote: Hi, Love the product (using

Question about AAR

2007-08-09 Thread Bhojraj, Santosh
Hi: I am trying to create an AAR archive file for my service and I need to include some third party jars in it along with the class files and services.xml. Please tell me how. I tried adding the 'Classpath' attribute to the manifest file but it didn't work. Thanx!! Santosh

Overloaded methods

2007-08-09 Thread Bhojraj, Santosh
Hi: I have a java interface with several service APIs defined, some of which are overloaded. How do I use Axis 2 to generate a WSDL for it ? I got an error when trying to run the Ant task. Please see the attachment. Thanx!! Santosh CommonBPMRepositoryIF.java Description:

wsdl2java incorrectly generate java stub

2007-08-09 Thread Serg Mazurok
Hello guys! I had used Axis 1.4 to generate Java proxies. Generated sources didn't match the WSDL definition - method signature contain array instead of complex object. I presume that method signature should contain complex object containing vehicle array, limit, offset, resultSizeType,

Re: [axis2] jms configuration how to

2007-08-09 Thread Asankha C. Perera
Michele transportReceiver name=jms class=org.apache.axis2.transport.jms.JMSListener parameter name=default parameter name=java.naming.factory.initialorg.apache.activemq.jndi.ActiveMQInitialContextFactory/parameter parameter

Re: Question about AAR

2007-08-09 Thread Charitha Kankanamge
Santosh, You can add third party jars in to a lib directory and include that in aar as follows. (Place it in the same directory level as in META-INF) - Yourservice - META-INF - services.xml - lib For more information, please have a look at

Re: Rampart error with MustUnderstand

2007-08-09 Thread Pavan Madiraju
I am trying to get samples\policy\sample2 working but getting the following error. Is anyone able to get the sample2 working ? Error: [java] org.apache.ws.security.WSSecurityException: The signature verification failed (The provided certificate is invalid). I am using the service.jks and

Re: OMException when using the http async msg receiver

2007-08-09 Thread Davanum Srinivas
Michele, JIRA bug please. thanks, dims On 8/9/07, Michele Mazzucco [EMAIL PROTECTED] wrote: Some more info. If I use the default http transport receiver (i.e. SimpleHTTPServer) instead of HttpCoreNIOListener it seems to work fine. Michele On Thu, 2007-08-09 at 14:21 +0100, Michele

Email marking

2007-08-09 Thread Demetris G
Just a question outside the Axis content - I get emails from various lists and most of them mark their title with the mailing list name - [jxta], [owl-s] etc. I noticed that Axis mailing lists sometimes have this sometimes they don't - I get emails that have all the signs of spam / malicious

Timed out waiting for 180003

2007-08-09 Thread Srinivasa Rao Kusampudi
Hi, Our Web Services Client is doing some load test and getting erro like : com.ibm.websphere.ce.cm.connectionwaitTimeoutException: connection not available, Timed out waiting for 180003. If the number of requests are increased, and what server will do? I am not able to understand that this

Tomcat 5.5.23/Rampart 1.2 not working for digital signature validation (Policy example 2)

2007-08-09 Thread Ford, Jennifer M.
I've just discovered that digital signature validation appears to work with Tomcat 5.0.28, but not with Tomcat 5.5.23. Is this a known bug or should I enter a ticket? Jennifer - To unsubscribe, e-mail: [EMAIL PROTECTED] For

returning complex object with Axis2

2007-08-09 Thread feh
Please bear with me...it's been a few months since I've worked with Axis 2, so my description of the situation may not be very clear... I've learned just enough about Axis 2 to write a soap service. It is a little bit unusual, in that the soap service was added to an existing web application,

File Transmission WebService

2007-08-09 Thread Dr. Laurence Leff
I am having trouble with my first web service. (I was able to get the CalcClient and Calculator.jws from the Axis User's Guide working. I used this as a guide to writing my own service.) Here is my Client and T.jws file: import org.apache.axis.AxisFault; import org.apache.axis.client.Call;

Re: Is this regression for MTOM functionality in Axis2 1.3

2007-08-09 Thread Davanum Srinivas
Shalab, Not a known issue, please log a bug with some way for us to recreate the issue. thanks, dims On 8/9/07, Shalab Goel [EMAIL PROTECTED] wrote: Hello, I have a .NET service for which I am writing an Axis2 client. One of the operations streams MTOM content to the client. This

Re: [Axis2] WSDL with multiple ports only updates endpoint for one port

2007-08-09 Thread Davanum Srinivas
Please try latest nightly or the 1.3-take2 artifacts (till we finalize 1.3 final) thanks, dims On 8/9/07, Ted Jones [EMAIL PROTECTED] wrote: I should mention that I am using Axis2 1.2. From: Ted Jones Sent: Thursday, August 09, 2007 4:53 PM To:

Re: Tomcat 5.5.23/Rampart 1.2 not working for digital signature validation (Policy example 2)

2007-08-09 Thread Ruchith Fernando
Please see here : http://marc.info/?l=axis-userm=118671612624113w=2 Thanks, Ruchith On 8/10/07, Ford, Jennifer M. [EMAIL PROTECTED] wrote: I've just discovered that digital signature validation appears to work with Tomcat 5.0.28, but not with Tomcat 5.5.23. Is this a known bug or should I

Re: Overloaded methods

2007-08-09 Thread Amila Suriarachchi
in wsdl 1.1 the operation name must be unique within a port tpye. So you can not use the overloaded methods. On 8/10/07, keith chapman [EMAIL PROTECTED] wrote: I believe WSDL 1.1 does not support method overloading. Certainly WSDL 2.0does not support it. That may b the issue. Thanks,

Re: [Axis2][VOTE]Axis2 1.3 release artifacts (#take2)

2007-08-09 Thread Lahiru Sandakith
+1 for the release including plugins. On 8/8/07, Deepal jayasinghe [EMAIL PROTECTED] wrote: Michele Mazzucco wrote: Hi all, am I wrong or the JMS lib is missing? Nope , we do not need to add JMS jars by default, since we have not unable JMS transport by default. Thanks Deepal

RE: [axis2] jms configuration how to

2007-08-09 Thread Chen, Lizhao
Hi, Michele, I don't think it runs embedded ActiveMQ in Tomcat which described in http://activemq.apache.org/tomcat.html, you should have to run standalone ActiveMQ else. Best Regards! Lizhao Chen 86-021-50800850-8395 -Original Message- From: Michele Mazzucco [mailto:[EMAIL