axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Ruban <dmi...@ruban.biz>
Subject Re: Consuming Axis1 Service from Axis2
Date Tue, 01 Feb 2011 03:05:19 GMT
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 3^rd 
> 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:akmeref@yahoo.com]
> *Sent:* Saturday, January 29, 2011 1:23 PM
> *To:* 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.Gupta@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 
> <http://schemas.xmlsoap.org/soap/encoding/%7DArray> from the parent 
> schema http://10.16.16.22:8080/aaa/services/crmaaa
>
> Thanks
>
> Sanjay
>


Mime
View raw message