我对带有soap服务的java上的连接器代码有奇怪的例外,
由于 wsdl,我已经生成了源代码,我把它放到了我的项目中,但是我无法正常工作,我得到了 belove 异常,但奇怪的是我裁剪了那个 wsdl 源代码并创建了一个只存在那个源的新项目,并且成功了,没找到方法,等你的回复
致命 [ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)' - 29.08.2013 17:32:41,602 Thu EEST javax.servlet.ServletException: javax.xml.ws.WebServiceException: java .io.IOException:对于输入字符串:“”
javax.servlet.ServletException: javax.xml.ws.WebServiceException: java.io.IOException: For input string: ""
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at com.netas.vas.tic.ws.aop.LoggingFilter.doFilter(LoggingFilter.java:49)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: javax.xml.ws.WebServiceException: java.io.IOException: For input string: ""
at com.sun.xml.ws.streaming.TidyXMLStreamReader.close(TidyXMLStreamReader.java:73)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:421)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:184)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:154)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:139)
at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:287)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:249)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:200)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190)
at weblogic.wsee.jaxws.spi.WLSServiceDelegate.<init>(WLSServiceDelegate.java:89)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl.<init>(WLSProvider.java:674)
at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:141)
at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:114)
at javax.xml.ws.Service.<init>(Service.java:92)
at com.netas.vas.tic.ws.client.freeurl.subscription.SOF99SubscriptionCreateRequestWithControl_Service.<init>(SOF99SubscriptionCreateRequestWithControl_Service.java:45)
at com.netas.vas.tic.ws.rest.RegisterResource.freeUrl(RegisterResource.java:390)
at com.netas.vas.tic.ws.rest.RegisterResource.newPerson(RegisterResource.java:214)
at com.netas.vas.tic.ws.rest.RegisterResource.register(RegisterResource.java:139)
at com.netas.vas.tic.ws.rest.RegisterResource_msujha_NoIntfViewImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:31)
at com.netas.vas.tic.ws.rest.RegisterResource_msujha_NoIntfViewImpl.register(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.jaxrs.dispatch.EJBDispatchProvider$EJBMethodInvoker.invoke(EJBDispatchProvider.java:58)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
... 23 more
Caused by: java.io.IOException: For input string: ""
at weblogic.utils.http.HttpChunkInputStream.initChunk(HttpChunkInputStream.java:69)
at weblogic.utils.http.HttpChunkInputStream.skip(HttpChunkInputStream.java:215)
at weblogic.utils.http.HttpChunkInputStream.skipAllChunk(HttpChunkInputStream.java:395)
at weblogic.utils.http.HttpChunkInputStream.close(HttpChunkInputStream.java:291)
at weblogic.net.http.KeepAliveStream.close(KeepAliveStream.java:122)
at com.sun.xml.ws.streaming.TidyXMLStreamReader.close(TidyXMLStreamReader.java:71)
... 59 more
-------------------------------------------------- ------------------------------------------