Hi Dmitry,

Thanks for your reply. I have had some issues in the past because of jar 
conflicts when I tried to use a 3rd party vendor’s web services almost a year 
back. I am going to try again.

Sanjay

From: Dmitry Ruban [mailto:dmi...@ruban.biz]
Sent: Monday, January 31, 2011 7:05 PM
To: java-user@axis.apache.org
Subject: Re: Consuming Axis1 Service from Axis2

Hello Sanjay,

We have been using both Axis2 and Axis1 in our application without any issues. 
Why do you think Axis1 and Axis2 can't work side by side? Cheers

On 31/01/11 16:23, Sanjay Gupta wrote:
Hi,

Yes it is using RPC/Encoding which is my problem. We asked the 3rd party app 
vendor and they are aware that they are using obsolete encoding but they don’t 
have any plan in the near term to make any changes. So I am kind of stuck. I 
was wondering if anybody figured out a workaround. My preference is to make the 
call inside my web app which is not possible since I am already using axis2.

Thanks,

Sanjay

From: am am [mailto:akme...@yahoo.com]
Sent: Saturday, January 29, 2011 1:23 PM
To: java-user@axis.apache.org<mailto:java-user@axis.apache.org>
Subject: Re: Consuming Axis1 Service from Axis2

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><mailto:sanjay.gu...@billwiseinc.com>
To: "java-user@axis.apache.org"<mailto:java-user@axis.apache.org> 
<java-user@axis.apache.org><mailto: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<http://schemas.xmlsoap.org/soap/encoding/%7DArray>
 from the parent schema http://10.16.16.22:8080/aaa/services/crmaaa

Thanks

Sanjay


Reply via email to