Standalone Schema without Target Namespace - Axis 2.1.5.1

2010-04-22 Thread Vishwal Shah
Hi, I am trying to generate Stubs for Standalone schema using Axis2 XSD2Java , My Schema does not have a Target Namespace. I get the below error [echo] Generating code ... [java] Exception in thread "main" java.lang.NullPointerException [java] at org.apache.axis2.util.URLProcess

Re: Axis2 and POJO from Axis1

2010-04-22 Thread Demetris
Hi all, even the example from the UserGuide outputs this when intecepted. How can I print the complete SOAP message (env and body) that is emitted as payload from these simple clients? Thanks POST /axis2/services/BooksAxis2Service HTTP/1.1 Content-Type: text/xml; charset=UTF-8 SOAPAction: "ur

Differences in WLS security with Axis 1.4 versus Axis2

2010-04-22 Thread William Walsh
Is anyone aware of how/why WebLogic is showing us differences between Axis 1.4 and Axis2 in how security is being processed on invocation of a service? For Axis 1.4 we have our own provider that extends org.apache.axis.providers.java.RPCProvider, which in its invokeMethod method sets up a prop

RE: WSU prefix not being inserted in Security token reference

2010-04-22 Thread Schrum, Allan
I think this may address your issue: http://svn.apache.org/viewvc?view=revision&revision=912481 In that change a namespace that was declare in a sibling-scoped element would be used undeclared in another sibling element. This patch keeps track of namespaces better. Let us know if this patch fi

Caused by: java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementI

2010-04-22 Thread sourabh jain
I am working on axis2 1.5.1 version with the JIXB. I have developed a web-service and binding’s objects with the help of these technologies, I follow JIXB BindGen approach to get the xsd and binding.xml for the existing Java objects. Now, when I am trying to send a request from the soapUI tool

Re: axis2 error marshall doc 0x1a

2010-04-22 Thread Andreas Veithen
In an XML document, 0x1a is forbidden as a character in character data [1], as well as a character reference [2]. JiBX seems to enforce this requirement in a strict way. Andreas [1] http://www.w3.org/TR/REC-xml/#NT-Char [2] http://www.w3.org/TR/REC-xml/#NT-CharRef On Thu, Apr 22, 2010 at 13:16,

Illegal character code 0x1a in content text

2010-04-22 Thread TomazM
Have any idea of this cind of problem: Caused by: org.jibx.runtime.JiBXException: Error writing marshalled document at org.jibx.runtime.impl.MarshallingContext.element(MarshallingContext.java:734) at si.arnes.aris.bean.Uporabniki.JiBX_binding_marshal_1_6(Uporabniki.java)

axis2 error marshall doc 0x1a

2010-04-22 Thread TomazM
Have any idea of this cind of problem: Caused by: org.jibx.runtime.JiBXException: Error writing marshalled document at org.jibx.runtime.impl.MarshallingContext.element(MarshallingContext.java:734) at si.arnes.aris.bean.Uporabniki.JiBX_binding_marshal_1_6(Uporabniki.java)

WSU prefix not being inserted in Security token reference

2010-04-22 Thread Avijit Ajay
Hello, I am trying to access a Weblogic web service from a Axis 2 client. The web service is secured using SAML tokens. While trying to access the web service, I get the following error : Error at Line:0 Prefix [wsu] used without binding it to a namespace URI When i checked the request I foun

Re: Axis2 1.4.1 + JDK 1.4 + WebSphere 5.1 Integration Issue

2010-04-22 Thread Saibun Toe
Huh, finally found some temp solution which is to user Axis 1.3 instead of Axis 1.4.1. Even though have to modify my response object (somehow can return 2 layer object only -object contain 1 object-, the latter object cannot contain another object, otherwise it will return blank object). Anywa