Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Soap service works locally but on another server is raising ClassCast Exception  RSS feed

 
Adrian Barna
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please help me with a strange problem? I have a service

@WebMethod
@WebResult(name = "sendCustomerCommunicationResponse", targetNamespace = "......something/Underwriting/Correspondance/V1", partName = "Body")
public SendCustomerCommunicationResponse sendCustomerCommunication(
    @WebParam(name = "sendCustomerCommunicationRequest", targetNamespace = "........something/Underwriting/Correspondance/V1", partName = "Body")
    SendCustomerCommunicationRequest body)
    throws ServiceException_Exception, SystemException_Exception;
And locally I'm calling it with :
SendCustomerCommunicationResponse response = correspondanceServicePort.sendCustomerCommunication(sendCustomerCommunicationRequest);

And works well. But when I'm deploying the application on another server I'm receiving "java .lang.ClassCastException: it.usi.xframe.ub1.batch.services.esb.SendCustomerCommunicationRequest incompatible with it.usi.xframe.ub1
.batch.services.esb.SendCustomerCommunicationResponse "

Any ideas? Thank you in advance! P.S. The application is running on WebSphere server
 
Adrian Barna
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No one? Nothing?
 
g tsuji
Ranch Hand
Posts: 697
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mind the WAS versions, it could be different in "another server". More up-to-date may not necessarily be better, there could be errors due to regression such as this:
http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg1PI63175
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!