Operation Client API

2009-02-19 Thread Rutger van Eerd - Vanboxtel BV
Hello, AFAIK Axis2/C always adds a SOAP Header element, even if there are no SOAP headers. In this case the Header element is empty, e.g. soapenv:Header/soapenv:Header. I have to communicate to a SOAP service which appears to be broken; it cannot handle the SOAP Header element, even if it

Re: Operation Client API

2009-02-19 Thread Supun Kamburugamuva
Best example of using op_client is in the svc_client code. svc_client internally uses the op_client. So if you look at svc_client code you can find out how to use op_client. Thanks, Supun. On Thu, Feb 19, 2009 at 7:18 PM, Rutger van Eerd - Vanboxtel BV rve...@vanboxtel.nl wrote: Hello,

Re: Operation Client API

2009-02-19 Thread Rajika Kumarasiri
On Thu, Feb 19, 2009 at 7:48 PM, Rutger van Eerd - Vanboxtel BV rve...@vanboxtel.nl wrote: hi, Try op_client API, http://svn.apache.org/repos/asf/webservices/axis2/trunk/c/include/axis2_op_client.h Hello, AFAIK Axis2/C always adds a SOAP Header element, even if there are no SOAP headers. In

axis cpp client - exception handling and showing correct message ?

2009-02-19 Thread S Balaji
Hi All, Question : How do I do the exception handling in axis cpp client so that correct relevant message is printed out ? Detailed description below : I am new to Web services. I have a requirement to write C++ client to call a customer's web services. My client code has to run on many

Re: axis cpp client - exception handling and showing correct message ?

2009-02-19 Thread Nadir Amra
I would suggest you download the latest code from SVN, build it, and try that instead of using binaries - the axis-c-1.6b-Win32-trace-bin binaries are very, very, old and are buggy. Hopefully, a 1.6 version will be released. Do not know when yet. Nadir Amra S Balaji ija...@yahoo.com wrote

Re: axis cpp client - exception handling and showing correct message ?

2009-02-19 Thread S Balaji
Thanks Nadir. Sorry but I am unable to find the correct links to download : I started from : http://ws.apache.org/axis/cpp/index.html - in this link, under Axis(C++) on the left, there is a download link which takes me to http://ws.apache.org/axis/cpp/download.html. All the drops here

Re: Operation Client API

2009-02-19 Thread Manjula Peiris
I am not sure about the previous Axis2/C releases but in the current svn trunk Axis2/C does not send empty Headers. On Thu, 2009-02-19 at 15:18 +0100, Rutger van Eerd - Vanboxtel BV wrote: Hello, AFAIK Axis2/C always adds a SOAP Header element, even if there are no SOAP headers. In this

RE: Why?

2009-02-19 Thread DANIEL, Yves Marie
When you start tomcat from eclipse, is the axis war deployed ? If not, you are starting another instance of tomcat (check eclipse windows preferences tomcat). If it is started, indeed you should see the same messages ! Yves-Marie De : Martin Gainty

IP of WS client in Server side code

2009-02-19 Thread Appasamy Thirugnana
How to find the IP of WS client in Server side code?. Can any one please help? Thanks Appasamy T

AXIS2 |SOAP XML at Server Side

2009-02-19 Thread Appasamy Thirugnana
I need to print the SOAP request XML that is coming inside to access my webservice in Axis2. In skeleton we cant do that it seems. Can anyone tell me which file i need to do that Thanks Appasamy

Re: AXIS2 |SOAP XML at Server Side

2009-02-19 Thread Guo Tianchong
hi Appasamy, Please use SOAPMonitor. ref: http://ws.apache.org/axis2/1_4_1/soapmonitor-module.html Guo - Original Message - From: Appasamy Thirugnana To: axis-user@ws.apache.org Sent: Thursday, February 19, 2009 5:48 PM Subject: AXIS2 |SOAP XML at Server Side I need to

Why SOAP fault doesn't get mapped to AxisFault?

2009-02-19 Thread Rahul Kulkarni
Hi all, I have a G++ gSoap server and JAVA Axis client configuration. When gSoap server raises SOAP fault using soap_receiver_fault function, JAVA Axis client doesn't map it to AxisFault exception. What could be the reason? The versions being used are gSoap-2.7.9 and Axis-1.2.1. The

Using double quotes in axis xml

2009-02-19 Thread Kjell Tillstrand
I'm using axis2 binary dist to create a webservice client, I've got an wsdl and are generating a client with ADB binding. The problem I'm having is that the server is throwing an error. The people with the server are saying that the reason is that the request is using single quotes instead of

Axis 1.4 and WS-RM

2009-02-19 Thread Erwin Reinhoud
Hello All, Anyone know when there will be a Sandesha 1.4 version? Thanks in advance. Kind regards, Erwin

Re: AXIS2 |SOAP XML at Server Side

2009-02-19 Thread keith chapman
In the skeleton you could do the following, MessageContext.getCurrentMessageContext().getEnvelope().serialize(System.out); Thanks, Keith. On Thu, Feb 19, 2009 at 3:18 PM, Appasamy Thirugnana athirugn...@sapient.com wrote: I need to print the SOAP request XML that is coming inside to access

namespaceToPackages AntCodegenTask, Example?

2009-02-19 Thread Willard, Jonathan
Hi I am trying to use the AntCodegenTask namespaceToPackages option. It is not doing what I want. Can some one explain or refer me to a useful doc? I actually have 3 namespaces to map so any information about doing multiple would be helpful too. My ant task looks like this:

Problems with AxisServlet and classes in WEB-INF/classes vs. WEB-INF/lib

2009-02-19 Thread Kirby Bohling
I am having a problem with Axis2 1.4.1 used to deploy a WebService to a Tomcat 6.0.18 server. I've have a complex application that exhibits weird behavior, and I have boiled it down to a simplified case. It should be attached as a Maven project. Using the AxisServlet, I can access a WebService

RE: IP of WS client in Server side code

2009-02-19 Thread RickCromer
I get it from Axis v1 using the following code, but I don't know how to do it with Axis2 MessageContext msgContext = MessageContext.getCurrentContext(); String clientIp = msgContext.getStrProp(Constants.MC_REMOTE_ADDR); Regards, Rick Cromer From: Appasamy Thirugnana

java.lang.NoSuchMethodError: org.apache.axiom.om.OMFactory.createOMElement(

2009-02-19 Thread hping
Hello all, I am new to axis2 land, and currently I am using axis2 1.4.1, and created my own server and client. When the client call the axis2 service, I got this exception. Here the utils.UtilsServiceMessageReceiverInOut class is inside the Services.aar file. Inside that file, I already

Re: Sealing Violation: SOLVED

2009-02-19 Thread cundimundi
I solved the issue. In the WEB-INF/conf/axis.xml file I commented out the line that loads the the addressing-1.4.mar original: !-- = -- !-- Global Modules -- !-- = -- !-- Comment

AxisFault Server.NoService on deploy

2009-02-19 Thread Lachlan Deck
Hi there, I've recently updated a server app that was previously using Axis 1.1 to Axis 1.4 but am now getting AxisFault - Server.NoService on our deployment servers only :-/ wsdl4j was used to generate the stubs for the client apps (that are out in the wild - all of which use Axis1.4)

AxisFault thrown with 'unknown'

2009-02-19 Thread Vidura Gamini Abhaya
Hi, I've modified the Axis2 1.4 engine for some experiments and after a recent modification it is throwing the following AxisFault at the client intermittently, org.apache.axis2.AxisFault: unknown at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512) at

Re: AxisFault Server.NoService on deploy

2009-02-19 Thread Lachlan Deck
So interestingly, the old wsdd file just had a transport defined for http (which is the default I believe for new projects) transport name=http requestFlow handler type=HTTPActionHandler/ handler type=URLMapper/ /requestFlow /transport Axis logs mentioned this on the old app (Axis

RE: Why SOAP fault doesn't get mapped to AxisFault?

2009-02-19 Thread Rahul Kulkarni
Actually, the SOAP Fault is getting mapped to the AxisFault exception, but doesn't contain the SOAP Fault contents in AxisFault exception. The AxisFault contains the org.w3c.dom.DOMException. Does it indicate that there is an issue with the below mentioned SOAP response? Thanks and Regards,