This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Minor code problem with Axis, EJB, WSAD, Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Minor code problem with Axis, EJB, WSAD, Websphere" Watch "Minor code problem with Axis, EJB, WSAD, Websphere" New topic
Author

Minor code problem with Axis, EJB, WSAD, Websphere

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I am using below environment

client side
------------
ANT + Sun 1.4.2 JRE
JIBX (DE)SERIALIZERS, JIBX BINDING
AXIS 1.2 RC2 STUBS


server side
-----------
JIBX (DE)SERIALIZERS, JIBX BINDING
AXIS 1.2 RC2
JIBX BETA 3D
WSAD 5.1.2
WEBSPHERE 5.0 Test Environment



Basically I used WSAD 5.1.2 to code my EJB's. When I run my web service java client program to access a ejb web service exposed using AXIS,JIBX (DE)SERIALIZERS, WEBSPHERE 5.0 I am getting below exception on client side and no exception atleast in my server console. I guess the cause of this error is I used Sun 1.4.2 JRE on the client side to construct custom types and
passed them to server which uses IBM JRE 1.3.1 inside WebSphere 5.0 Test Environment. I am not sure may be it is a guess. If so how to ask ANT on take IBM JRE 1.3.1 with <javac> task. Please suggest ... ?


-------------------------------------------------------------------------
[java] - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
[java] Connecting to service at http://localhost:9999/Axis12Rc2IrscWeb/services/DCPlanListWS
[java] Sending first request...
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[java] faultSubcode:
[java] faultString: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
[java] java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
[java] org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:BE5D2E53ED0132D4) = BE5D2E53ED0132D4 whereas Target (Rep. ID RMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:C8417C221AEF1714) = C8417C221AEF1714 minor code: 4942F89A completed: No
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {http://xml.apache.org/axis/}hostname:hyddl0337

[java] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
[java] java.rmi.MarshalException: CORBA MARSHAL 0x4942f89a No; nested exception is:
[java] org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:BE5D2E53ED0132D4) = BE5D2E53ED0132D4 whereas Target (Rep. ID RMI:com.americanexpress.bluestar.beans.requestbeans.DCPlanListRequestBean:74291B603AE70D98:C8417C221AEF1714) = C8417C221AEF1714 minor code: 4942F89A completed: No
[java] at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
[java] at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
[java] at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
[java] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
[java] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
[java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
[java] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
[java] at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
[java] at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
[java] at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
[java] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:173)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
[java] at org.apache.axis.client.Call.invoke(Call.java:2702)
[java] at org.apache.axis.client.Call.invoke(Call.java:2378)
[java] at org.apache.axis.client.Call.invoke(Call.java:2301)
[java] at org.apache.axis.client.Call.invoke(Call.java:1758)
[java] at irsc.bluestar.DCPlanListWSBindingStub.getDCPlanList(DCPlanListWSBindingStub.java:180)
[java] at irsc.bluestar.IrscDcPlanListWsClient.query(IrscDcPlanListWsClient.java:43)
[java] at irsc.bluestar.IrscDcPlanListWsClient.main(IrscDcPlanListWsClient.java:67)
[java] Exception in thread "main"
[java] Java Result: 1
--------------------------------------------------------------------------





Thanks & Regards,
[ February 08, 2005: Message edited by: Lasse Koskela ]

RR Kumaran
SCJP 1.4
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Thread closed as a duplicate for this.

Please do not cross-post to several forums.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
Consider Paul's rocket mass heater.
 
subject: Minor code problem with Axis, EJB, WSAD, Websphere
 
Similar Threads
AXIS Stubs Problem and unable to consume EJB web service
Minor code problem with Axis, EJB, WSAD, Websphere
Weird AXIS Bug ?
ClassCastException with EJB access ...
Minor code problem with Axis, EJB, WSAD, Websphere