[prev in list] [next in list] [prev in thread] [next in thread]
List: wsif-dev
Subject: Re: Java Version for WSIF
From: Aleksander Slominski <aslom () cs ! indiana ! edu>
Date: 2007-02-28 19:15:38
Message-ID: 45E5D4DA.90305 () cs ! indiana ! edu
[Download RAW message or body]
CCed wsif-dev
Clifford Audinet wrote:
> I noticed that the version required is 1.3. Has this been tested on
> 1.4 or 1.5?
i did minimal testing on 1.4 and 1.5 - when you were running tests did
you monitor also server side - were there any errors there?
thanks,
alek
> I've run all the samples and am getting errors on every call I make
> using the dynamic invoker class and at this point I'm assuming it's
> because I'm running 1.5_10. I know I can still get 1.4_X but I'm not
> sure about 1.3...I will take a look.
>
> Attached is a text file with the errors I'm receiving which I hope are
> caused be me using the wrong Java version. Can you take a quick
> glance and let me know if this is indeed the issue?
>
> Thanks,
>
> Cliff
>
> ------------------------------------------------------------------------
>
> WSIF getQuote Example
> =====================
> C:\wsif-2.0>java clients.DynamicInvoker samples/simplesoap/StockquoteSOAP.wsdl g
> etQuote IBM
> Reading WSDL document from 'samples/simplesoap/StockquoteSOAP.wsdl'
> Preparing WSIF dynamic invocation
> - WSIF0006W: Multiple WSIFProvider found supporting the same namespace URI 'http
> ://schemas.xmlsoap.org/wsdl/soap/'. Found ('org.apache.wsif.providers.soap.apach
> eaxis.WSIFDynamicProvider_ApacheAxis, org.apache.wsif.providers.soap.apachesoap.
> WSIFDynamicProvider_ApacheSOAP')
> - WSIF0007I: Using WSIFProvider 'org.apache.wsif.providers.soap.apacheaxis.WSIFD
> ynamicProvider_ApacheAxis' for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soa
> p/'
> Executing operation getQuote
> Exception in thread "main" org.apache.wsif.WSIFException: Cannot get Object part
> 'Result'. No parts are set on the message
> at org.apache.wsif.base.WSIFDefaultMessage.handleNoPartsException(Unknow
> n Source)
> at org.apache.wsif.base.WSIFDefaultMessage.getObjectPart(Unknown Source)
>
> at clients.DynamicInvoker.invokeMethod(Unknown Source)
> at clients.DynamicInvoker.main(Unknown Source)
>
>
> Axis C++ Simple HTTP Server echoString Example
> ==============================================
> C:\wsif-2.0>java clients.DynamicInvoker C:\axis-simple-server\AxisServer\wsdls\b
> ase.wsdl echoString Hello
> Reading WSDL document from 'C:\axis-simple-server\AxisServer\wsdls\base.wsdl'
> Preparing WSIF dynamic invocation
> - WSIF0006W: Multiple WSIFProvider found supporting the same namespace URI 'http
> ://schemas.xmlsoap.org/wsdl/soap/'. Found ('org.apache.wsif.providers.soap.apach
> eaxis.WSIFDynamicProvider_ApacheAxis, org.apache.wsif.providers.soap.apachesoap.
> WSIFDynamicProvider_ApacheSOAP')
> - WSIF0007I: Using WSIFProvider 'org.apache.wsif.providers.soap.apacheaxis.WSIFD
> ynamicProvider_ApacheAxis' for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soa
> p/'
> Executing operation echoString (just hangs...)
>
>
> Axis C++ Simple HTTP Server calculator add Example
> ==================================================
> C:\wsif-2.0>java clients.DynamicInvoker C:\axis-simple-server\AxisServer\wsdls\c
> alculator.wsdl add 2 2
> Reading WSDL document from 'C:\axis-simple-server\AxisServer\wsdls\calculator.ws
> dl'
> Preparing WSIF dynamic invocation
> - WSIF0006W: Multiple WSIFProvider found supporting the same namespace URI 'http
> ://schemas.xmlsoap.org/wsdl/soap/'. Found ('org.apache.wsif.providers.soap.apach
> eaxis.WSIFDynamicProvider_ApacheAxis, org.apache.wsif.providers.soap.apachesoap.
> WSIFDynamicProvider_ApacheSOAP')
> - WSIF0007I: Using WSIFProvider 'org.apache.wsif.providers.soap.apacheaxis.WSIFD
> ynamicProvider_ApacheAxis' for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soa
> p/'
> Executing operation add (just hangs...)
>
>
> Axis2 Java Simple HTTP Server getVersion Example
> ================================================
> C:\wsif-2.0>java clients.DynamicInvoker http://localhost:8080/axis2/services/Ver
> sion?wsdl getVersion
> Reading WSDL document from 'http://localhost:8080/axis2/services/Version?wsdl'
> Preparing WSIF dynamic invocation
> - WSIF0006W: Multiple WSIFProvider found supporting the same namespace URI 'http
> ://schemas.xmlsoap.org/wsdl/soap/'. Found ('org.apache.wsif.providers.soap.apach
> eaxis.WSIFDynamicProvider_ApacheAxis, org.apache.wsif.providers.soap.apachesoap.
> WSIFDynamicProvider_ApacheSOAP')
> - WSIF0007I: Using WSIFProvider 'org.apache.wsif.providers.soap.apacheaxis.WSIFD
> ynamicProvider_ApacheAxis' for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soa
> p/'
> Executing operation getVersion
> - Exception:
> org.xml.sax.SAXException: Deserializing parameter 'getVersionResponse': could n
> ot find deserializer for type {http://axisversion.sample/xsd}getVersionResponse
> at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:276)
> at org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
> rializationContextImpl.java:893)
> at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
> va:200)
> at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
> t.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.in
> vokeAXISDocStyle(Unknown Source)
> at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.in
> vokeRequestResponseOperation(Unknown Source)
> at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.ex
> ecuteRequestResponseOperation(Unknown Source)
> at clients.DynamicInvoker.invokeMethod(Unknown Source)
> at clients.DynamicInvoker.main(Unknown Source)
> Exception in thread "main" org.apache.wsif.WSIFException: exception on AXIS invo
> ke: ; nested exception is:
> org.xml.sax.SAXException: Deserializing parameter 'getVersionResponse':
> could not find deserializer for type {http://axisversion.sample/xsd}getVersionR
> esponse; nested exception is:
> org.xml.sax.SAXException: Deserializing parameter 'getVersionResponse':
> could not find deserializer for type {http://axisversion.sample/xsd}getVersionR
> esponse
> at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.in
> vokeAXISDocStyle(Unknown Source)
> at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.in
> vokeRequestResponseOperation(Unknown Source)
> at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.ex
> ecuteRequestResponseOperation(Unknown Source)
> at clients.DynamicInvoker.invokeMethod(Unknown Source)
> at clients.DynamicInvoker.main(Unknown Source)
> Caused by: org.xml.sax.SAXException: Deserializing parameter 'getVersionResponse
> ': could not find deserializer for type {http://axisversion.sample/xsd}getVersi
> onResponse
> at org.apache.axis.AxisFault.makeFault(AxisFault.java:120)
> at org.apache.axis.client.Call.invoke(Call.java:1874)
> at org.apache.axis.client.Call.invoke(Call.java:1777)
> at org.apache.axis.client.Call.invoke(Call.java:1315)
> ... 5 more
> Caused by: org.xml.sax.SAXException: Deserializing parameter 'getVersionResponse
> ': could not find deserializer for type {http://axisversion.sample/xsd}getVersi
> onResponse
> at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:276)
> at org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
> rializationContextImpl.java:893)
> at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
> va:200)
> at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
> t.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)
> ... 7 more
--
The best way to predict the future is to invent it - Alan Kay
---------------------------------------------------------------------
To unsubscribe, e-mail: wsif-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wsif-dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic