I have a .net client consuming a WCF duplex service.

I am now trying to add a java webservice to be called by the WCF service and call some methods in the WCF service.

I have added a ref to the java webservice from the WCF service and the can call methods in teh java WS from the WCF service.

I have added a reference to the WCF service to the java WS and the wsdl seems to parse correctly apart from these 2 warnings

[WARNING] SOAP port "WSDualHttpBinding_IAdderAndCaller": uses a non-standard SOAP 1.2 binding.
line 1 of file:/C:/Users/Ash/Documents/NetBeansProjects/WCFJavaTest/src/conf/xml-resources/web-service-references/AdderAndCaller/wsdl/localhost_24859/AdderAndCaller.svc.wsdl

[WARNING] ignoring operation "output": not request-response or one-way
line 1 of file:/C:/Users/Ash/Documents/NetBeansProjects/WCFJavaTest/src/conf/xml-resources/web-service-references/AdderAndCaller/wsdl/localhost_24859/AdderAndCaller.svc.wsdl

Problem is when I test my java web service and try to instantiate the WCF service using the following line:

Java Code:
org.tempuri.AdderAndCaller moo = new org.tempuri.AdderAndCaller();
I get the following error:
java.lang.NullPointerException
at com.sun.xml.ws.model.wsdl.WSDLOperationImpl.freez( WSDLOperationImpl.java:141)
at com.sun.xml.ws.model.wsdl.WSDLPortTypeImpl.freeze( WSDLPortTypeImpl.java:91)
at com.sun.xml.ws.model.wsdl.WSDLBoundPortTypeImpl.fr eeze(WSDLBoundPortTypeImpl.java:215)
at com.sun.xml.ws.model.wsdl.WSDLModelImpl.freeze(WSD LModelImpl.java:260)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse (RuntimeWSDLParser.java:169)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse (RuntimeWSDLParser.java:131)
at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL( WSServiceDelegate.java:271)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSS erviceDelegate.java:234)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSS erviceDelegate.java:182)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDeleg ate(ProviderImpl.java:106)
at javax.xml.ws.Service.<init>(Service.java:57)
at org.tempuri.AdderAndCaller.<init>(AdderAndCaller.j ava:42)
at TestWeb.JavaWSTester.add(JavaWSTester.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.glassfish.webservices.InstanceResolverImpl$1.i nvoke(InstanceResolverImpl.java:137)
at com.sun.xml.ws.server.InvokerTube$2.invoke(Invoker Tube.java:146)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.in voke(EndpointMethodHandler.java:257)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRe quest(SEIInvokerTube.java:95)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:6 29)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:58 8)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573 )
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:4 70)
at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.pr ocess(AbstractTubeImpl.java:112)
at org.glassfish.webservices.MonitoringPipe.process(M onitoringPipe.java:138)
at com.sun.xml.ws.api.pipe.helper.PipeAdapter.process Request(PipeAdapter.java:115)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:6 29)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:58 8)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573 )
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:4 70)
at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.pr ocess(AbstractTubeImpl.java:112)
at com.sun.enterprise.security.webservices.CommonServ erSecurityPipe.processRequest(CommonServerSecurity Pipe.java:195)
at com.sun.enterprise.security.webservices.CommonServ erSecurityPipe.process(CommonServerSecurityPipe.ja va:127)
at com.sun.xml.ws.api.pipe.helper.PipeAdapter.process Request(PipeAdapter.java:115)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:6 29)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:58 8)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573 )
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:4 70)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSE ndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpTool kit.handle(HttpAdapter.java:519)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(H ttpAdapter.java:288)
at com.sun.xml.ws.transport.http.servlet.ServletAdapt er.handle(ServletAdapter.java:143)
at org.glassfish.webservices.JAXWSServlet.doPost(JAXW SServlet.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:847)
at org.apache.catalina.core.StandardWrapper.service(S tandardWrapper.java:1523)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:641)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipel ine.java:97)
at com.sun.enterprise.web.PESessionLockingStandardPip eline.invoke(PESessionLockingStandardPipeline.java :85)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:185)
at org.apache.catalina.connector.CoyoteAdapter.doServ ice(CoyoteAdapter.java:325)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:226)
at com.sun.enterprise.v3.services.impl.ContainerMappe r.service(ContainerMapper.java:165)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(P rocessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(Proce ssorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(Process orTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute (DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtoc olFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(Htt pProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(Pr otocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(Selec tionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:6 9)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doW ork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run (AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:662)


I have a feeling that the error is due to the dualbinding being used.

Any help would be great.

Kind Regards

Ash