Re: SOAP encoding for Axis2: Is XMLBeans the only solution?

2011-05-18 Thread fire fox
Please help guys. On Thu, Apr 14, 2011 at 6:01 PM, fire fox wrote: > The WSDL I'm working specifies 'rpc/encoding' style. I've found a > tutorial on Axis2 RPC Support: > http://axis.apache.org/axis2/java/core/docs/Axis2-rpc-support.html > > However, in the tutorial, examples are based on rpc/lit

Re: Is Axis (not Axis2) still being developed?

2011-05-18 Thread Andreas Veithen
On Tue, May 17, 2011 at 13:53, Martin Gainty wrote: > main concern are the majority of sample projects and client folders still > use ant. Since the samples are not released as Maven artifacts, they don't need to be mavenized. They could continue using Ant. > we should think about refactoring ws

RE: addChild with a node that has German characters

2011-05-18 Thread Iyengar, Kumar
I resolved the issue. The addChild method works correctly. It is because a toString() method was being called on the OMElement. After serializing it properly it started working. --kumar -Original Message- From: franvk [mailto:[email protected]] Sent: Wednesday, May 18, 2011 1:11 AM

Re: Is Axis (not Axis2) still being developed?

2011-05-18 Thread Andreas Veithen
On Tue, May 17, 2011 at 11:04, Simon Frettloeh wrote: > Hi Andreas, > > first of all, thank you for your answer. > > Am 16.05.2011 21:40, schrieb Andreas Veithen: >>> >>> I'm wondering whether Axis (not Axis2) is still being developed. >> >> No. Since a picture says more than a thousand words: >>

Re: SOAP Fault Detail element cannot have two childs?

2011-05-18 Thread Andreas Veithen
Follow the link in my previous reply. That page has at least three links, buttons or menu entries to create a new issue report ;-) Andreas PS: You should not use Nabble and instead subscribe to the [email protected] mailing list. Nabble is broken and doesn't correctly process replies post

Re: addChild with a node that has German characters

2011-05-18 Thread Andreas Veithen
While it is relatively clear WHAT you are trying to do, you remain relatively vague about HOW you are trying to do this (which is probably where the problem is). You should show us some code snippets that show this. Andreas On Wed, May 18, 2011 at 08:01, Iyengar, Kumar wrote: > Hi all, > > > > I

Re: CDATA Tags POJO

2011-05-18 Thread Andreas Veithen
A CDATA section is a purely syntactic construct and has no semantic meaning, i.e. in an XML document "" is expected to be completely equivalent to "x <= y". If an application makes a distinction between these two ways of serializing character data, then that application should be considered as brok

about having "/services" in the query string

2011-05-18 Thread Yuhan Zhang
Hi all, I am having some trouble on passing parameters to an axis2 web service. My parameter is an escaped url: http://localhost:8080/services/UrlCrawlerService/crawl?depth=1&url=http%3A//www.ralphs.com/services/Pages/coinstar.aspx&url=https%3A//mail.google.com It gives me an error saying:

Re: [Axis2] Axis2 1.1 and JDK 1.6

2011-05-18 Thread Deepal Jayasinghe
Please create a JIRA and if possible attach your axis2.xml as well. On Wed, May 18, 2011 at 1:06 PM, Anjali Hattarki wrote: > We have client proxy code that we generated using axis2 v1.1. This code > works fine with jdk 1.5, however we have a need to upgrade to JDK 1.6. > During this process, we

[Axis2] Axis2 1.1 and JDK 1.6

2011-05-18 Thread Anjali Hattarki
We have client proxy code that we generated using axis2 v1.1. This code works fine with jdk 1.5, however we have a need to upgrade to JDK 1.6. During this process, we hit the following exception, javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be

RE: AW: Stub generated using Axis2 is unable to Maintain session between RESTful service and Client

2011-05-18 Thread Martin Gainty
//if Incoming Handler doesnt see a SOAP Header ...then addressing is disabled by returning InvocationResponse.CONTINUE org.apache.axis2.handlers.addressing.AddressingInHandler: public InvocationResponse invoke(MessageContext msgContext) throws AxisFault { // if there are not headers put

axis2 and soaphandler

2011-05-18 Thread Jan Agermose
hi I created a axis2 ADB client from a wsdl and the serice needs username and password. I have an example already running that is not using Axis and its implementing a class extending javax.xml.ws.handler.soap.SOAPHandler and by annotation and handlerchain xml files and magic it adds the soaph

AW: Stub generated using Axis2 is unable to Maintain session between RESTful service and Client

2011-05-18 Thread Stadelmann Josef
Depal, But then it does not need WS-Addressing to be engaged! Correct or Not? WS-Addressing adds into SOAP-Headers! Or what is the reason to engage WS-Addressing with REST if REST does not have any SOAP-Headers? Josef -Ursprüngliche Nachricht- Von: Deepal jayasinghe [mailto:deep...@gmail

Re: Stub generated using Axis2 is unable to Maintain session between RESTful service and Client

2011-05-18 Thread Deepal jayasinghe
Hi, What type of session you are using ? are you using SOAPSession? If you are using SOAPSession, then it does not work with REST. In the case of REST it does not send any addressing headers, so SOAPSession does not work. However, if you use transport session this should work. Deepal > Hi, > > I

AW: addChild with a node that has German characters

2011-05-18 Thread Stadelmann Josef
What do you mean with messed up? What you see by an editor or any other form of display and is in your code base in your buffer ready to be displayed are different pairs of shoes. 1. You need to look how UTF-8 encodes the German Umlaut(s)! For that Goto Wiki @ http://en.wikipedia.org

CDATA Tags POJO

2011-05-18 Thread Christopher Johnson
All - Using axis2 1.5.3 I've noticed that when using POJO service and setting a string to include something like the following: object.setString( " " ) but the <,>'s are escaped when returned from axis. How can I set the string value of an object in axis to include CDATA text so it's not escaped

RE: NoSuchMethodError: org.apache.axis2.addressing.EndpointReference.isWSAddressingAnonymous()Z

2011-05-18 Thread Martin Gainty
i use eclipse ..glad to hear you got the Axis Service working Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wi

Stub generated using Axis2 is unable to Maintain session between RESTful service and Client

2011-05-18 Thread Denise Wu
Hi, I created a webservice and enabled session management on both server and client. It works FINE until I enable REST on the client by adding the 3rd line of code in the serviceStub.java. The session management stops working. // add session management _serviceClient.getOptions().setManageSession

RE: addChild with a node that has German characters

2011-05-18 Thread franvk
Hi Kumar! I have the samen problem, but instead German characters they are Chinese characters. In this case, the application crashes, because the Chinese characters cannot be traduced to UTF-8 format. I think it is not a problem with Axis2, just with the format of XML documents. That is my opini