Here is the WSDL I am using , Thank you, sudhir
-----Original Message----- From: Aleksander Slominski [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 11:34 AM To: [email protected] Subject: Re: Exception when using EJB and SOAP binding 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:0000000000000038524d493a636f6d2e74657374332e736572766963652e52616e6 46f6d4e756d47656e486f6d653a303030303030303030303030303030300000000001000 0000000000130000102000000000a6c6f63616c686f737400062c000000a54a4d4249000 000124773e3aa37643062633737336533616166633334000000240000008149454a50010 007736572766572311544656661756c7420454a4220436f6e7461696e657200000059aca c0002000100290000005f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d657 3235f5f686f6d654f66486f6d65730844656661756c74454152235465737433454a422e6 a61722352616e646f6d4e756d47656e00000000000007000000010000001400000000050 1000100000000000101000000000049424d0a00000008000000001410000300000026000 000020002000049424d040000000500050101020000000000001f0000000400000003000 000200000000400000001000000250000000400000003'; > nested exception is: > > java.lang.ClassCastException: com.test3.service._RandomNumGen_Stub > > at > org.apache.wsif.providers.ejb.WSIFPort_EJB.getEjbObject(WSIFPort_EJB.jav a:225) > > at > org.apache.wsif.providers.ejb.WSIFOperation_EJB.<init>(WSIFOperation_EJB .java:185) > > at > org.apache.wsif.providers.ejb.WSIFPort_EJB.getDynamicWSIFOperation(WSIFP ort_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(Deseria lizationContextImpl.java:893) > > at > org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java: 200) > > at > org.apache.axis.message.MessageElement.publishToHandler(MessageElement.j ava: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.invok eAXISDocStyle(WSIFOperation_ApacheAxis.java:1717) > > at > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invok eRequestResponseOperation(WSIFOperation_ApacheAxis.java:1435) > > at > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.execu teRequestResponseOperation(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
RandomNumGen.wsdl
Description: RandomNumGen.wsdl
