Hi,

From the error, it seems that the web service is using RPC/Encoding.
This is an obsolete encoding (non compliant with WS-I Profile) and no java 
frameworks supports it any more.
You must use axis1 (only this version supports) to consume the web service.
Also you should ask the providers why are they exposing the service as a legacy 
service. 





________________________________
From: Sanjay Gupta <sanjay.gu...@billwiseinc.com>
To: "java-user@axis.apache.org" <java-user@axis.apache.org>
Sent: Fri, January 28, 2011 8:24:42 PM
Subject: Consuming Axis1 Service from Axis2


Hi,
 
I need to consume a third party service that’s written in axis1. I tried to use 
axis2 wsdl2java to generate stub and got error show below. I really can’t use 
axis1 since I already use axis2 in my web app. I was wondering if anybody 
encountered this scenario and was able to successfully consume axis1 web 
services in an environment where axis2 was present. I would greatly appreciate 
any help.
 
Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find 
type 
{http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema 
http://10.16.16.22:8080/aaa/services/crmaaa
 
Thanks
 
Sanjay


      

Reply via email to