Hi there, I am using wsif-2.0. What should I change it to? Encoded? Please let me know , thank you, sudhir
-----Original Message----- From: Aleksander Slominski [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 1:48 PM To: [email protected] Subject: Re: Exception when using EJB and SOAP binding Sudhir Ganti wrote: >Here is the WSDL I am using , Thank you, sudhir > > you are doing doc/literal - unfortunately support for it in WSIF2 is spotty - what is exactly version of wsif you used - did you try the latest nightly build from cvs? alek > > >-----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:0000000000000038524d493a636f6d2e74657374332e736572766963652e52616e 6 >46f6d4e756d47656e486f6d653a30303030303030303030303030303030000000000100 0 >0000000000130000102000000000a6c6f63616c686f737400062c000000a54a4d424900 0 >000124773e3aa37643062633737336533616166633334000000240000008149454a5001 0 >007736572766572311544656661756c7420454a4220436f6e7461696e657200000059ac a >c0002000100290000005f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d65 7 >3235f5f686f6d654f66486f6d65730844656661756c74454152235465737433454a422e 6 >a61722352616e646f6d4e756d47656e0000000000000700000001000000140000000005 0 >1000100000000000101000000000049424d0a0000000800000000141000030000002600 0 >000020002000049424d040000000500050101020000000000001f000000040000000300 0 >000200000000400000001000000250000000400000003'; > > >>nested exception is: >> >> java.lang.ClassCastException: >> >> >com.test3.service._RandomNumGen_Stub > > >> at >> >> >> >org.apache.wsif.providers.ejb.WSIFPort_EJB.getEjbObject(WSIFPort_EJB.ja v >a:225) > > >> at >> >> >> >org.apache.wsif.providers.ejb.WSIFOperation_EJB.<init>(WSIFOperation_EJ B >.java:185) > > >> at >> >> >> >org.apache.wsif.providers.ejb.WSIFPort_EJB.getDynamicWSIFOperation(WSIF P >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(Deseri a >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.invo k >eAXISDocStyle(WSIFOperation_ApacheAxis.java:1717) > > >> at >> >> >> >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invo k >eRequestResponseOperation(WSIFOperation_ApacheAxis.java:1435) > > >> at >> >> >> >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.exec u >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
