Hi, No it didn't change anything. Apperantly, when the getPort command is executed, I get a wrong provider assigned dynamically. I am using a jax-rpc webservice, but I get an Axis Provider.
Have you got any clue how I fix this? Kind Regards, Dylan Honorez, [EMAIL PROTECTED] http://www.xt-i.com ________________________________________ From: Raghunath Parthasarathi Krishnaswamy [mailto:[EMAIL PROTECTED] Sent: vrijdag 23 juli 2004 10:42 To: [EMAIL PROTECTED] Subject: Re: SOAP vs AXIS Hi, Below log looks like you are using SOAP WS with AXIS WSIF Dynamic Provider. Try to comment out the below code in Dynamic Invoker source. � � � � // The default SOAP provider is the Apache SOAP provider. If Axis was specified � � � � // then change that � � � � if ("axis".equals(protocol)) { � � � � � � WSIFPluggableProviders.overrideDefaultProvider( � � � � � � � � "http://schemas.xmlsoap.org/wsdl/soap/", � � � � � � � � new WSIFDynamicProvider_ApacheAxis()); � � � � } Let me know the result. regards raghu R a g h u n a t h � P � K ------------------------------------------------- Technical Lead - Business Integration IBM Global Services India Level 2, Prestige Towers, #99, Residency Road, Bangalore 5260025, India "Honorez Dylan" <[EMAIL PROTECTED]> 07/22/2004 06:57 PM Please respond to wsif-user To <[EMAIL PROTECTED]> cc Subject SOAP vs AXIS Hi again, I found something strange in the ouput I get with my tests: - WSIF0006W: Multiple WSIFProvider found supporting the same namespace URI 'http://schemas.xmlsoap.org/wsdl/soap/'. Found ('org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAx is, org.apache.wsif.providers.soap.apachesoap.WSIFDynamicProvider_ApacheSOAP ') � - WSIF0007I: Using WSIFProvider 'org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxi s' for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soap/' shows up when I execute getPort(). After that I get a stacktrace. Why does the WSIF framework chooses Axis as provider, when my WSDL is clearly defined to use with SOAP? Is this normal, or is this what's causing the stacktrace afterwards? Stacktrace: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 � � � � � � � � at java.util.ArrayList.RangeCheck(ArrayList.java:507) � � � � � � � � at java.util.ArrayList.get(ArrayList.java:324) � � � � � � � � at org.apache.wsif.util.WSIFUtils.unWrapPart(Unknown Source) � � � � � � � � at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.unwra pSOAPParts(Unknown Source) � � � � � � � � at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.prepa re(Unknown Source) � � � � � � � � at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invok eRequestResponseOperation(Unknown Source) � � � � � � � � at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.execu teRequestResponseOperation(Unknown Source) � � � � � � � � at AnotherTest.main(AnotherTest.java:42) � � � � � � � � at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) � � � � � � � � at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) � � � � � � � � at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) � � � � � � � � at java.lang.reflect.Method.invoke(Method.java:324) � � � � � � � � at com.intellij.rt.execution.application.AppMain.main(Unknown Source) Exception in thread "main" Process terminated with exit code 1 Also, I'd like to know if empty input services (with no parameters) are supported. I also haven't figured out how you get the parts out of the output message? Is the naming there done by using the WSIF and get the output parameters from there? I haven't been able to test that because of the neverending stack trace. Again, my WSDL is included. Met vriendelijke groeten, Dylan Honorez, [EMAIL PROTECTED] http://www.xt-i.com
