i do not use WSAD but it looks there is problems with output - maybe something is wrong in WSDL you use?

alek

Sudhir Ganti wrote:

Hi All,

I am using WSIF with WebSphere in WSAD 5.1.2 and get these errors . Could someone please help me out here.

*_When using EJB Binding I get the following error_*

*_ _*

org.apache.wsif.WSIFException: Could not create instance for home 'IOR:0000000000000038524d493a636f6d2e74657374332e736572766963652e52616e646f6d4e756d47656e486f6d653a3030303030303030303030303030303000000000010000000000000130000102000000000a6c6f63616c686f737400062c000000a54a4d4249000000124773e3aa37643062633737336533616166633334000000240000008149454a50010007736572766572311544656661756c7420454a4220436f6e7461696e657200000059acac0002000100290000005f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d65730844656661756c74454152235465737433454a422e6a61722352616e646f6d4e756d47656e000000000000070000000100000014000000000501000100000000000101000000000049424d0a00000008000000001410000300000026000000020002000049424d040000000500050101020000000000001f0000000400000003000000200000000400000001000000250000000400000003'; nested exception is:

      java.lang.ClassCastException: com.test3.service._RandomNumGen_Stub

at org.apache.wsif.providers.ejb.WSIFPort_EJB.getEjbObject(WSIFPort_EJB.java:225)

at org.apache.wsif.providers.ejb.WSIFOperation_EJB.<init>(WSIFOperation_EJB.java:185)

at org.apache.wsif.providers.ejb.WSIFPort_EJB.getDynamicWSIFOperation(WSIFPort_EJB.java:137)

at org.apache.wsif.providers.ejb.WSIFPort_EJB.createOperation(WSIFPort_EJB.java:296)

at org.apache.wsif.base.WSIFClientProxy.invoke(WSIFClientProxy.java:256)

      at $Proxy0.getRandomNumber(Unknown Source)

      at com.client.test3.TestWSIF.main(TestWSIF.java:68)

*_ _*

*_When using SOAP Binding I get the following error_*

org.xml.sax.SAXException: Deserializing parameter 'getRandomNumberResponse': could not find deserializer for type {http://service.test3.com}getRandomNumberResponse

at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:276)

at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893)

at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:200)

at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:684)

at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:241)

      at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265)

      at org.apache.axis.client.Call.invoke(Call.java:1871)

      at org.apache.axis.client.Call.invoke(Call.java:1777)

      at org.apache.axis.client.Call.invoke(Call.java:1315)

at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeAXISDocStyle(WSIFOperation_ApacheAxis.java:1717)

at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1435)

at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1037)

at org.apache.wsif.base.WSIFClientProxy.invoke(WSIFClientProxy.java:314)

      at $Proxy0.getRandomNumber(Unknown Source)

      at com.client.test3.TestWSIF.main(TestWSIF.java:67)

Thank you

sudhir



--
The best way to predict the future is to invent it - Alan Kay

Reply via email to