How to get rid of Unexpected SubElement Exception

2009-01-07 Thread ibrahim demir
Hi All; I have already said about my problem but want to repeat. I am using Axis2 and Axis2 Code Generator for Eclipse to generate my client codes. (Choosing ABD binding) As you know when the response has extre elements or the order is different than the wsdl than it causes and Unexpected

Re: minimum set of libraries in classpath.

2009-01-07 Thread Christoph Ludwig
Hi, On Sun, Jan 04, 2009 at 07:58:30AM +0530, Amila Suriarachchi wrote: please have a look at here[1]. thanks, Amila. [1] http://amilachinthaka.blogspot.com/2008/11/minimal-jars-to-run-apache-axis2.html this question comes up quite often and back when I recherched it myself I found

getTextContent() and setTextContent(String arg0) are not implemented in org.apache.axiom.om.impl.dom.NodeImpl

2009-01-07 Thread Chinmoy Chakraborty
Hello, I found that org.apache.axiom.om.impl.dom.NodeImpl#getTextContent() and org.apache.axiom.om.impl.dom.NodeImpl#setTextContent(String arg0) these methods rae not implemented yet. Could you please tell me when these methods will be implemented? May be I can try the SNAPSHOT jars? Chinmoy

Re: getTextContent() and setTextContent(String arg0) are not implemented in org.apache.axiom.om.impl.dom.NodeImpl

2009-01-07 Thread Chinmoy Chakraborty
Andreas, I have created a JIRA (*WSCOMMONS-434*https://issues.apache.org/jira/browse/WSCOMMONS-434) regarding the issue. Please take a look. By the way, are you testing the SOAPMessageImpl with the changes for attachments? What's your opinion on that? Chinmoy On Wed, Jan 7, 2009 at 4:02 PM,

Re: getTextContent() and setTextContent(String arg0) are not implemented in org.apache.axiom.om.impl.dom.NodeImpl

2009-01-07 Thread Andreas Veithen
This is indeed not yet implemented (not even in the trunk). It should not be too difficult to implement them, and maybe we can still do it for the upcoming 1.2.8 release. Please open a JIRA issue (in WSCOMMONS) and I will have a look later today. Andreas On Wed, Jan 7, 2009 at 11:09, Chinmoy

Re: ADB maxlength

2009-01-07 Thread asheikh
Thanks Amila, I will... On Wed, Jan 7, 2009 at 9:58 AM, Amila Suriarachchi amilasuriarach...@gmail.com wrote: On Thu, May 22, 2008 at 1:22 AM, sultanat asultanud...@yahoo.com wrote: For the following schema, the axis2 1.4 ADB doesnt check for max length, it is only checking for the

Re: Rampart Axis2C segfaults at rampart_context_free operation

2009-01-07 Thread Somashekar
Still stuck with this issue...Any inputs on How to debug this issue? Somashekar wrote: AXIS2C - 1.4.0 Rampart - 1.2 I have configured an Axis2C webservice with WS-Security TransportBinding policy and Rampart Authn Provider Module for UserNameToken processing. Authn Module performs the

Securing Axis2 Web Services with wss4j

2009-01-07 Thread ibrahim demir
Hi All; I have to connect to a web service that has security. And they want me to put the given user name and password to the massage token. I have already created my clients with Axis2 Eclipse Code generator. How can I pass or add this security information to my stub. Is there some sample

XMLBeans

2009-01-07 Thread sri ram
Hi all When I run WSDL2Java  using XMLBeans as databinding,It generates lot of schema binary files. When we build the entire xsb files and deploy it,It takes 80 minutes. Can any one suggest a way to reduce this somehow. Add more friends to your messenger and enjoy! Go to

Re: Securing Axis2 Web Services with wss4j

2009-01-07 Thread Sameera Jayasoma
Hi Ibrahim, Following article describes how to secure web services using Apache Rampart. It may help you. http://wso2.org/library/3190 Sameera On Wed, Jan 7, 2009 at 7:28 PM, ibrahim demir ibrahimdem...@yahoo.comwrote: Hi All; I have to connect to a web service that has security. And they

InFlow module response

2009-01-07 Thread rabelenda
Hi, I', trying to make an axis2 module to check, when a message comes to a service, if the user has access rights to the operation. For this I need in the handler to make a response to the client when the user hasn't got permission. How can I manage to create a response to the client in the

Re: InFlow module response

2009-01-07 Thread Nandana Mihindukulasooriya
On 1/7/09, rabelenda rabele...@gmail.com wrote: Hi, I', trying to make an axis2 module to check, when a message comes to a service, if the user has access rights to the operation. For this I need in the handler to make a response to the client when the user hasn't got permission. If you

[Axis2] CData elements losing text

2009-01-07 Thread Chris Bowman
Hi, I am trying to add text to an OMElement so it is surrounded by CData tags. However, when I add my created OMElement as a child to another element, the wrapped text is lost. As far as I can see this should work: OMElementImpl displayNameNode = new OMElementImpl(displayName, ns,

RE: WSDL Generation has incorrect port

2009-01-07 Thread Kevin Witten
Hello Nandana, Thanks for the reply. Is there a nightly build I can download? Or do I need to get the latest code from the trunk and build it? And where do I get the trunk from? Thanks, Kevin Witten Software Engineer Nomadix, Inc. * 1100 Business Center Circle, Suite 100, Newbury Park, CA

The endpoint reference (EPR) for the Operation not found is

2009-01-07 Thread doahh
I have a webservice attached to a web app that hasn't been used for a few weeks but used to work perfectly. Now I am using it again and i am getting the error: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /services/ProsocWebService and the WSA Action =

Re: Rampart Axis2C segfaults at rampart_context_free operation

2009-01-07 Thread Nandana Mihindukulasooriya
Post your issue in the Axis2/C mailing list [1] or Rampart/C mailing list. thanks, nandana [1] - http://ws.apache.org/axis2/c/lists_issues.html [2] - http://ws.apache.org/rampart/c/lists_issues.html On Wed, Jan 7, 2009 at 7:19 PM, Somashekar somashekar.r...@gmail.comwrote: Still stuck with

Re: The endpoint reference (EPR) for the Operation not found is

2009-01-07 Thread doahh
Sorry for posting 3 times on the run but I realised that if I turn of authentication then I can get TCPMon to connect to: http://prosoc:8080/services/ProsocWebService.ProsocWebServiceHttpSoap12Endpoint/ The message it receives is: javax.xml.stream.XMLStreamException: ParseError at

returning custom wsdl.

2009-01-07 Thread Shah Asrani
Hi, I implemented that getWSDL method for WSDLSupplier interface and returned WSDL when ?wsdl is asked. It worked just fine. How can I do the same thing if some one asks for ?wsdl2 ? (i.e. return a custom wsdl 2.0) Best Regards, Shah

RE: WSDL Generation has incorrect port

2009-01-07 Thread Kevin Witten
I downloaded and build the latest trunk and gave it a try. Still does not work. The useOriginalwsdl parameter in the services.xml has no affect at all. The modifyUserWSDLPortAddress parameter, if set to true, in the services.xml causes the wsdl writer to change both the hostname and the port.

Re: [Axis2] CData elements losing text

2009-01-07 Thread Andreas Veithen
Can you please post a Java program (with no dependencies other than Axiom) that reproduces this problem? Andreas On Wed, Jan 7, 2009 at 16:15, Chris Bowman ch...@phoros.co.uk wrote: Hi, I am trying to add text to an OMElement so it is surrounded by CData tags. However, when I add my created

Re: Error getting attachments from SOAPMessage

2009-01-07 Thread Andreas Veithen
See my comments inline. I also committed my test cases to axis2-saaj (see MessageFactoryTest). Obviously, since they don't pass yet, there are commented out. Can you uncomment them and check your modifications against them? Andreas On Mon, Jan 5, 2009 at 07:43, Chinmoy Chakraborty

Re: [Axis2] CData elements losing text

2009-01-07 Thread Chris Bowman
Andreas, I wrote a stand alone, using the factory methods to create an OMElement as opposed to using the OMElementImpl. Code here: public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { OMFactory factory =

Re: [Axis2] CData elements losing text

2009-01-07 Thread Andreas Veithen
Chris, It is indeed incorrect to pass a null factory into the constructors. However, I am surprised you didn't get an exception, and I would like to check that with the latest Axiom version. Can you post the exact code that shows this behavior? Andreas On Thu, Jan 8, 2009 at 00:00, Chris Bowman

Re: The endpoint reference (EPR) for the Operation not found is

2009-01-07 Thread doahh
I have fixed this now and it was nothing to do with Axis2. The error I was seeing is always there if the operation is not added to the endpoint so that was not actually a problem. My problem was simply that I had not assigned a variable to my method call: (if ) callMyMethod(); rather than:

Re: List of free webservices

2009-01-07 Thread Sabari Venkatachalam
Hello,   I have found another one web service portal, http://services.aonaware.com/   Thanks, Sabari.V --- On Thu, 8/1/09, virtuallight virtualli...@hotmail.com wrote: From: virtuallight virtualli...@hotmail.com Subject: Re: List of free webservices To: axis-user@ws.apache.org Date: Thursday,

Re: XMLStreamException: end reached! - Found a Work Around

2009-01-07 Thread Deenadayalan J
Hi All, In the below sample xml, many fields had value. I set them to null and the code is working sucessfully for now. Still I have not figured out the reason for failure :-( Regards, Deena On Wed, Jan 7, 2009 at 3:23 PM, Deenadayalan J deena...@gmail.com wrote: Hi All, I got some more

Re: Two XBeans-packaged.jar having same class name

2009-01-07 Thread Deenadayalan J
Hi Aseem, I am not sure, If am correct. But my understanding is XBeans-packaged will be the same irrespective of the WSDL you use. Hence, try adding only one XBeans-packaged.jar in your classpath. Regards, Deena On Wed, Jan 7, 2009 at 4:44 PM, Aseem Sharma aseem_bat...@yahoo.co.inwrote: