Re: Regarding Axis2C architecture

2008-03-19 Thread Kaushalye Kapuruge
Hi Baxi, The most common methods that worth looking at are axis2_msg_ctx_get/set_property_value() axis2_msg_ctx_get_soap_envelope() You can pass information between phases using the message context and get/set using the former. If you need to add certain headers to the SOAP message the latter

Transport sender value is NULL, unable to continue

2008-03-19 Thread Sérgio Gomes
Hello, I'm having issues with Axis2/C (latest release). I'm running into an issue I've seen described in some places while searching for info, here's the log: [Wed Mar 19 12:49:16 2008] [debug] phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport

RE : Transport sender value is NULL, unable to continue

2008-03-19 Thread Lefrancois, Carl
Hello Sérgio, I'm not sure if this is the problem, but check the axis2.xml file in the AXIS2C_HOME directory for a section on Addressing: !-- = -- !-- Global Modules -- !-- = -- !--

RE : Transport sender value is NULL, unable to continue

2008-03-19 Thread Lefrancois, Carl
Sérgio, Never mind, I see you commented the Addressing section already. It would have helped if I read the attachment you provided first! Carl -Message d'origine- De : Sérgio Gomes [mailto:[EMAIL PROTECTED] Envoyé : mercredi, mars 19, 2008 09:02 À : Apache AXIS C User List Objet :

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Senaka Fernando
Hi Sérgio, If you are using HTTPS yes, this can be an issue. Please add these to your axis2.xml transportSender name=https class=axis2_http_sender parameter name=PROTOCOL locked=falseHTTP/1.1/parameter parameter name=xml-declaration insert=false/ /transportSender

Re: Axis2/C, C++ and 'undefined symbol: __gxx_personality_v0'

2008-03-19 Thread Alex Bolgarov
I've tried with two versions: first, I downloaded and compiled latest released Axisc/2 v. 1.3.0 from the http://ws.apache.org/axis2/c; after seeing this error, I downloaded a WSO2 Web Services Framework for C++ from the http://wso2.org/projects/wsf/cpp, where, I hoped, given that the name includes

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Senaka Fernando
Hi again, Please remove the duplicates in your axis2.xml. Sorry, that I forgot to mention that. And, I hope you built the source with the --enable-openssl=yes configure option. More info can be found in the Axis2/C manual, at [1] [1]

Re: Axis2/C, C++ and 'undefined symbol: __gxx_personality_v0'

2008-03-19 Thread Senaka Fernando
Hi Alex, I tried Axis2/C with a C++ client and it works fine. However, when it comes to server side, the message receiver can't invoke the AXIS2_SVC_SKELETON_INIT(), probably because it was built in C instead of C++. Thus, I guess that you will have to rebuild axis2/C using g++ in the first

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Sérgio Gomes
Hi Senaka, Thanks for your help. I tried commenting the http transports in axis2.xml (I think that's what you meant by duplicates), as well as adding the certificate information from the server (not the key file or passphrase, since I don't need client authentication, and I don't have them). Oh,

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Dinesh Premalal
Hi Sérgio, Sérgio Gomes [EMAIL PROTECTED] writes: dispatching order found continue with default dispatching order [Wed Mar 19 12:49:16 2008] [error] conf_builder.c(860) transport sender value is NULL, unable to continue [Wed Mar 19 12:49:16 2008] [error] conf_builder.c(262) conf builder

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Sérgio Gomes
Hi Dinesh, Unfortunately, no such luck, I still get the same error :-/ I'm thinking of trying a new instalation in a different machine, just to make sure that it's a setup issue; I'm afraid the system libraries in this one might be too old. Would you recommend any specific Linux

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Samisa Abeysinghe
What is your repo location? Do you have a lib folder in your repo? Samisa... Sérgio Gomes wrote: Hi Dinesh, Unfortunately, no such luck, I still get the same error :-/ I'm thinking of trying a new instalation in a different machine, just to make sure that it's a setup issue; I'm afraid the

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Sérgio Gomes
Hi Samisa, My repo directory is inside my home folder, namely ~/src/axis2c-src-1.3.0/ . That's where I compiled Axis, and I've set that as my AXIS2C_HOME, keeping everything in there, both source and intermediate binaries. However, since I installed to /usr, there's no lib directory in there; all

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Dinesh Premalal
Hi Sérgio, Sérgio Gomes [EMAIL PROTECTED] writes: Hi Samisa, My repo directory is inside my home folder, namely ~/src/axis2c-src-1.3.0/ . That's where I compiled Axis, and I've set that as my AXIS2C_HOME, keeping everything in there, both source and intermediate binaries. However, since I

Re: Axis2/C, C++ and 'undefined symbol: __gxx_personality_v0'

2008-03-19 Thread Alex Bolgarov
OK, I used LD_PRELAOD env. variable to preload the libstdc++.so when starting the axis2_http_server, like this: LD_PRELOAD=/usr/lib/libstdc++.so.6 ./axis2_http_server -r ${AXIS2C_HOME} -l 6 and now my test runs successfully: the client sends a request, I see in the axis log tracing of function

Re: Transport sender value is NULL, unable to continue

2008-03-19 Thread Senaka Fernando
If not, Won't a symbolic link work in this case? (I mean adding a symbolic link lib which will point to '/usr/lib'). Regards, Senaka Hi Sérgio, Sérgio Gomes [EMAIL PROTECTED] writes: Hi Samisa, My repo directory is inside my home folder, namely ~/src/axis2c-src-1.3.0/ . That's where I

Re: Axis2/C, C++ and 'undefined symbol: __gxx_personality_v0'

2008-03-19 Thread Manjula Peiris
Hi Alex, I think extern C alone should solve the problem. Because recently I did the same thing and it worked for me. Can you try only with extern C solution ? Thanks, -Manjula. On Wed, 2008-03-19 at 13:36 -0400, Alex Bolgarov wrote: OK, I used LD_PRELAOD env. variable to preload the

How to return Object[] from axis2

2008-03-19 Thread Chinmoy Chakraborty
Hi All, I am using hitting Axis2 with axis 1.4 client. I have a service which returns Object[]. With axis 1.4 in both ends it worked well. But in axis2 it gives Nullpointer exception when the service tried to return Object[] (object array). Does axis2 support object array as return type? If yes

Re: codegen generating void methods in skeleton interface

2008-03-19 Thread Mauro Molinari
mikle ha scritto: If I remove the Ack element, the method is generated correctly... seems like the codegen isn't happy with multiple elements within the wrapper.. Must be coz i'm using unwrap.. would be cool if the codegen would revert back to wrapped in such cases... You may try an Axis2

Re: [Axis2] WSDL2Java with -xsdconfig option -- xb:extension or xb:suffix are ignored

2008-03-19 Thread Peter Hargreaves
Hi Folks, Trying to work round this - I can manually generate my xmlbeans with scomp (which obeys my xsdconfig file). Could anyone tell me - can I run WSDL2Java then substitue my scomp xmlbeans? I've looked at this but how to go about the substitution is not obvious. Any ideas? Thanks,

Maven2 AAR and MAR plugins and Eclipse M2 plugin

2008-03-19 Thread RICHARD FEATHERSTONE
Hi, Has anyone experienced any problems using the aar and mar plugins from within eclipse? If I run package from the command line everything works fine. In order to get the correct packaging from the m2 plugin within eclipse I need to add execution elements to the plugins as below For aar

Re: How to return Object[] from axis2

2008-03-19 Thread Deepal jayasinghe
Yes Axis2 support Object arrays. The error may be due to some issue in your code , however we can help you to fix that if you can send us the code or create a JIRA attaching test code. Thank you! Deepal Hi All, I am using hitting Axis2 with axis 1.4 client. I have a service which returns

Re: Interop problems with .Net and Axis 2 using MTOM

2008-03-19 Thread Paul Fremantle
Can you trace the request response with TCPMON? It seems like you are getting a fault back from .NET. Paul On Wed, Mar 19, 2008 at 3:44 PM, Amo23 [EMAIL PROTECTED] wrote: Hi Thilina, Thanks for the response to the post. I'll clarify my post a bit more.The service is written by our

Re: Interop problems with .Net and Axis 2 using MTOM

2008-03-19 Thread Amo23
Here is the C# WSDL _ ?xml version=1.0 encoding=utf-8? wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tm=http://microsoft.com/wsdl/mime/textMatching/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;

Re: Interop problems with .Net and Axis 2 using MTOM

2008-03-19 Thread Paul Fremantle
Any chance of the TCPMON trace. It looks to me like there is a problem in the response from the server. Paul 2008/3/19 Amo23 [EMAIL PROTECTED]: Here is the C# WSDL _ ?xml version=1.0 encoding=utf-8? wsdl:definitions

Re: Deploying Axis Artifacts to Maven Repo

2008-03-19 Thread Andreas Veithen
Ric, Can you post a copy of your pom.xml? Andreas On 18 Mar 2008, at 23:28, RICHARD FEATHERSTONE wrote: Hi Andreas, Thanks for your help. I actually figured some of this out by trial and error. With a project creating an aar archive just set packaging to aar when using the aar

Re: Generating client for Jira webservice

2008-03-19 Thread Andreas Veithen
Stefan, There is no reason to believe that the Jira WSDL violates the WSDL standard. The use of element instead of type for faults is required by the WS-I profile, but I'm not sure if this particular requirement also applies to rpc/encoded services. Andreas On 18 Mar 2008, at 23:14,