Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

Alexey Borschenko <[email protected]> Sun, 6 Sep 2020 20:08:02 +0300
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
No idea how it works under WebSphere. Sorry.

> On 6 Sep 2020, at 20:04, Murali Challa <[email protected]> wrote:
> 
> Thank you for your response Alexey..
> 
> Yes.. I created the stubs with Axis2 and added required jars.
> 
> But my doubt is that , any configurations we need to do in websphere to make my stub work?
> Or any where any to declare the stub files ?
> 
> When I ran the stub with a Java standalone program, service client is getting initialized and the specified service call is getting executed.
> 
> But when I deployed same stub in my server, it is not working and no errors to debug the issue.
> 
> So kindly help to suggest if any changes need to be done at app server end other than adding jars.
> 
> Thanks again for your consideration and help.
> 
> Thanks & Best Regards,
> Murali
> 
> On Sun, 6 Sep 2020, 10:21 pm Alexey Borschenko, <[email protected] <mailto:[email protected]>> wrote:
> You have to check migration documents. There are lot of changes from v1 to v2. It’s not just about placing v2 JARs into application. You will have to rework it a bit.
> 
>> On 6 Sep 2020, at 11:16, Murali Challa <[email protected] <mailto:[email protected]>> wrote:
>> 
>> Hi Team,
>>  
>> Earlier we are using axis1 jar to consume the services from one of our business applications.
>> Now the management is asking us to migrate axis1 to axis2 jar.
>>  
>> Below are the steps that I followed to generate the Service stub file.
>>  
>> I have added the Axis2-1.7.8 bin folder as run time in my eclipse.
>> Then Generated the Stub file with wsdl and by using Axis2 webservice option in eclipse.
>> All the required axis2 jars are added to our application.
>> Finally deployed our application in our webshere server.
>>  
>> But now we are not able access the services as earlier and not getting error logs to debug the issue.
>> By adding some sysouts statements, we are guessing that the flow is breaking while creating _serviceClient object.
>>  
>> Kindly help to know if we are missing something. Also please confirm if we need to add any configurations in our webshpere to use axis2 jar.
>>  
>> Please note that we just generated the stub file and made code changes to pass the required inputs for service calls. And just added the required axis2 jar files.
>>  
>> Please help us to know if we are missing something.
>>  
>> Thanks & Regards,
>> Murali
>>  
>> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] <mailto:[email protected]> For additional commands, e-mail: [email protected] <mailto:[email protected]>