Hi,
I am using Axis2 to create a SoapClient. I am getting a runtime exception as
follows:
Caused by: java.lang.ClassCastException: 
org.apache.axiom.om.impl.llom.OMTextImpl incompatible with
org.apache.axiom.om.impl.OMNodeEx
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.createOMElement(StAXOMBuilder.java:275)
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:163)
at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:318)
.........
at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:139)
at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:228)
...
All I am doing is ServiceClient sender = new ServiceClient();

I am new to Axis2 and could you help me fix this?
Thanks
-- 
View this message in context: 
http://www.nabble.com/Cannot-create-ServiceClient-tp16418344p16418344.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to