Spurious client time out errors -- duplicate transmission

2009-02-06 Thread Raghu Udupa
Hi, I am using Axis2C/1.5.0 on a Linux server as a client communicating to a Web service. Each message is delivered to a possibly different web service through a separate process. The process communicates either via http or https depending on remote web service configuration On couple of

RE: Spurious client time out errors -- duplicate transmission

2009-02-06 Thread Raghu Udupa
Hi, This problem happens only when I use HTTP protocol. With HTTPS every thing works fine. One message is sent and one is received. I am using Axis2C/1.5.0 on a Linux server as a client communicating to a Web service. Each message is delivered to a possibly different web service through a

RE: Axis C++ 1.6 client app connecting using https through http proxy

2009-02-06 Thread Nadir Amra
Ryan, Just send the stuff to me.I think you can also attach files to the jira.. If not, I can attach the files when you send them. thanks. Nadir Amra McCullough, Ryan rmccullo...@rightnow.com wrote on 02/05/2009 07:39:02 PM: [image removed] RE: Axis C++ 1.6 client app connecting

How to get a value from SOAP header using Axis C++?

2009-02-06 Thread Golikov, Vassili
My apps server needs to talk to Informatica WS. It sends a session ID in the header which should be retrieved and used in all their requests. How can I get this value from a SOAP header? Vassilli Golikov Equity Derivatives IT Credit Suisse Securities (USA) LLC One Madison Avenue 10th Floor New

RE: How to get a value from SOAP header using Axis C++?

2009-02-06 Thread McCullough, Ryan
Are you using Axis2/c? or Axis c++? From: Golikov, Vassili [mailto:vassili.goli...@credit-suisse.com] Sent: Friday, February 06, 2009 2:50 PM To: axis-c-user@ws.apache.org Subject: How to get a value from SOAP header using Axis C++? My apps server needs to talk to Informatica WS. It sends a

RE: How to get a value from SOAP header using Axis C++?

2009-02-06 Thread Golikov, Vassili
C++. This is actual response from PowerCenter: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Header ns1:Context soapenv:actor= soapenv:mustUnderstand=0

RE: How to get a value from SOAP header using Axis C++?

2009-02-06 Thread McCullough, Ryan
We had a similar issue. We resolved it by modifying the source code and compiling our own Axis binaries. Add the following axis\include\axis\client\Call.hpp: /** * Returns the DeSerialized response header. */ IHeaderBlock* getDeSerHeaderBlock(const AxisChar * pName, const

Re: InOnlyAxisOperation Error

2009-02-06 Thread keith chapman
In your messageReceivers can you try using the following instead, messageReceivers messageReceiver mep=http://www.w3.org/ns/wsdl/in-only; class=org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver/ messageReceiver mep=http://www.w3.org/ns/wsdl/in-out;

Re: Error establishing end to end conectivity in axis and jboss

2009-02-06 Thread Amila Suriarachchi
On Thu, Feb 5, 2009 at 4:46 PM, Salman A. Kagzi salma...@s7software.comwrote: Guo, If I replace jboss integrated axis2 with a standalone axis2 server, the same code works fine. As mentioned earlier everything works (i.e. code works) when I deploy my web service under axis2 standalone

Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda
Hi I'm getting the following exception when trying to deploy a war file that contains an application with axis2 web services, it contains all the libraries needed and the axis2.war file inside. I have tested in my pc with a downloaded tomcat 6 and it works smoothly, but when I try to deploy it in

Re: Deploying axis2 in tomcat 6

2009-02-06 Thread robert lazarski
On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote: [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException: loading repository from classpath java.lang.RuntimeException: java.io.FileNotFoundException snip [INFO] Module validation failed: The system is attempting

Re: Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda
iksrazal wrote: On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote: [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException: loading repository from classpath java.lang.RuntimeException: java.io.FileNotFoundException snip [INFO] Module validation failed:

Re: Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda
iksrazal wrote: On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote: [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException: loading repository from classpath java.lang.RuntimeException: java.io.FileNotFoundException snip [INFO] Module validation failed:

Standalone axis2 app, how can I pass resources to MessageReceiver?

2009-02-06 Thread Keith A. Milner
Hi, I'm trying to build an axis2 web services into an existing application framework. This current framework creates a number of resources (mainly references to internal handlers for things like logging and other common capabilities of the system) which need to be passed to the business logic

Re: sandesha problem

2009-02-06 Thread Andrei Ivanov
Any thoughts? On Mon, Feb 2, 2009 at 11:13 AM, Andrei Ivanov andrei.iva...@gmail.com wrote: On Mon, Feb 2, 2009 at 8:07 AM, Amila Suriarachchi amilasuriarach...@gmail.com wrote: Can you try with the axis2 snapshot and sandesha2 snapshot. I see that sandesha2 snapshot is using generics... and

RE: Unexpected subelement while parsing nilled response

2009-02-06 Thread Phil Davies
Ah, thank you for that observation. I am a little confused as to how it happened that way, because this wsdl and the service itself were both created using axis2's java2wsdl utility. I will play around with switches to see if I can get the responses to match the namespaces. -Phil

[axis2] Multiref client request to axis2 service

2009-02-06 Thread Ashwini Chavan
I am sorry I posted my question to the wrong group. My axis2 webservice is generated using wsdl2java tool with XMLBeans data binding extension. Webservice client is sending multiref soap envelope in the request. My WSDL is document/encoded. I have attached my WSDL file and the client request

Re: Deploying axis2 in tomcat 6

2009-02-06 Thread rabelenda
rabelenda wrote: iksrazal wrote: On Fri, Feb 6, 2009 at 11:20 AM, rabelenda rabele...@gmail.com wrote: [ERROR] java.lang.RuntimeException: java.io.FileNotFoundException: loading repository from classpath java.lang.RuntimeException: java.io.FileNotFoundException snip [INFO]

RE: InOnlyAxisOperation Error

2009-02-06 Thread Sanjay Gupta
Keith, Thanks for you reply and pointer. I tried your sugession but I am still getting the error. Here is the stack trace. Thanks Sanjay [ERROR] An access occurred that is not valid. java.lang.UnsupportedOperationException: An access occurred that is not valid. at

Ramapart Config based dynamic client sample code

2009-02-06 Thread Wishing Carebear
Hello:Noticed that the OutflowConfiguration and InFlowConfiguration classes are deprectaed. Trying to see if RampartConfig could be used to get the same behavior. Saw the policy based examples but could not find any code that could add the Rampart code programmitically. 1) Please point me to

Strings passed as parameters into Axis2 implemented web service have carriage return stripped.

2009-02-06 Thread Kraus, David
I am using Axis2 1.2, and have a Web Service API which receives a text string which contains CRLF (carriage-return, linefeed) characters. By the time the string gets through the de-serialization layer on the receiving server-side, the CRLF has become just LF. This probably works well for Unix,

Re: Strings passed as parameters into Axis2 implemented web service have carriage return stripped.

2009-02-06 Thread Andreas Veithen
Dave, It sounds surprising, but this is actually the expected behavior. See WSCOMMONS-243 [1] for more information why this is so and what you can do to change that behavior. Andreas [1] https://issues.apache.org/jira/browse/WSCOMMONS-243 On Fri, Feb 6, 2009 at 20:39, Kraus, David

Re: [AXIS2] Migration Issues for Axis1 - Axis2

2009-02-06 Thread don t
Hi, if your application uses existing Java data objects then you may want to use JiBX data binding with Axis2. You will need to define the binding between Java objects and the XML messages. Sumit Gaikaiwari-3 wrote: Hi, I am working on migration of web-services in our project from Axis1

Re: Ramapart Config based dynamic client sample code

2009-02-06 Thread Wishing Carebear
Hello:The OutflowConfiguration that works right now looks like below: private static Parameter getOutflowConfiguration() { OutflowConfiguration ofc = new OutflowConfiguration(); ofc.setActionItems(Encrypt); ofc.setEncryptionUser(service);

Why?

2009-02-06 Thread Michael
Why would I see a different set of console message when I start Tomcat from the command than when I start it in Eclipse? When I start Tomcat from the command line I see messages for the axis2.war file being deployed, but I don't see them when I start Tomcat in Eclipse.

Re: InOnlyAxisOperation Error

2009-02-06 Thread keith chapman
From the stack trace it looks like an InOutMessageReceiver was used for an InOnly Operation. Thanks, Keith. On Fri, Feb 6, 2009 at 11:27 PM, Sanjay Gupta sanjay.gu...@primal.comwrote: Keith, Thanks for you reply and pointer. I tried your sugession but I am still getting the error. Here is