WSIF EJB Invocation failed from Weblogic to WebSphere
Posted: Dec 28, 2005 3:10 AM
Advertisement
I have deployed an ejb in WebSphere 5.1. The ejb invocation is working fine through a JSP. I have created a WSIF WSDL for the ejb and trying to invoke from a Weblogic BPEL Process Manager. It gives the following error. <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"> <part name="summary"> <summary>Operation failed!; nested exception is: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception: [java.io.IOException: Can't skip sender's custom marshaled class: RMI:java.lang.Throwable:F8678B4F4D2EB705:D5C635273977B8CB]</summary> </part> <part name="detail"> <detail>weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception: [java.io.IOException: Can't skip sender's custom marshaled class: RMI:java.lang.Throwable:F8678B4F4D2EB705:D5C635273977B8CB]</detail> </part> </bindingFault> Both Weblogic and WebSphere Servers are in the same machine. The WSIF WSDL that i created is below. <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://misys.com/wsif/examples" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlejb="http://schemas.xmlsoap.org/wsdl/ejb/" xmlns:wsdlformat="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://misys.com/wsif/examples"> <wsdl:message name="displayHelloRequest"> <wsdl:part name="in0" type="xsd:string"/> </wsdl:message> <wsdl:message name="displayHelloResponse"> <wsdl:part name="displayHelloReturn" type="xsd:string"/> </wsdl:message> <wsdl:portType name="HelloWorld"> <wsdl:operation name="displayHello" parameterOrder="in0"> <wsdl:input name="displayHelloRequest" message="impl:displayHelloRequest"/> <wsdl:output name="displayHelloResponse" message="impl:displayHelloResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="HelloWorldBeanEJBBinding" type="impl:HelloWorld"> <wsdlejb:binding/> <wsdlformat:typeMapping encoding="Java" style="Java"> <wsdlformat:typeMap typeName="xsd:string" formatType="java.lang.String" /> </wsdlformat:typeMapping> <wsdl:operation name="displayHello"> <wsdlejb:operation methodName="displayHello" parameterOrder="in0" interface="remote" /> <wsdl:input name="displayHelloRequest"/> <wsdl:output name="displayHelloResponse"/> </wsdl:operation> </wsdl:binding> <wsdl:service name="HelloWorldService"> <wsdl:port name="HelloWorldBinding" binding="impl:HelloWorldBeanEJBBinding"> <wsdlejb:address className="com.misys.equation.plus.ejb.helloworld.HelloWorldBean" jndiName="HelloWorld" initialContextFactory="com.sun.jndi.cosnaming.CNCtxFactory" jndiProviderURL="iiop://ramanathithan:2809/nodes/ramanathithan/servers/server1/ "/> </wsdl:port> </wsdl:service> </wsdl:definitions> If any of you came across with this issue, then please let me know how did u solve it.