Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/363.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WAS 8.5.5.2中的javax.xml.ws.WebServiceException_Java_Web Services_Websphere 8 - Fatal编程技术网

WAS 8.5.5.2中的javax.xml.ws.WebServiceException

WAS 8.5.5.2中的javax.xml.ws.WebServiceException,java,web-services,websphere-8,Java,Web Services,Websphere 8,在WAS 8.5.5.2中部署应用程序时出现以下错误。专家们的意见真的会很感激吗 我的应用程序没有任何要添加的物理WSDL文件。在哪里可以设置用户名和密码来解决此问题 javax.xml.ws.WebServiceException: Error: The javax.xml.ws.security.auth.username property was set, but no value was specified. [11/25/15 2:19:41:643 PST] 0000008e S

在WAS 8.5.5.2中部署应用程序时出现以下错误。专家们的意见真的会很感激吗

我的应用程序没有任何要添加的物理WSDL文件。在哪里可以设置用户名和密码来解决此问题

 javax.xml.ws.WebServiceException: Error: The javax.xml.ws.security.auth.username property was set, but no value was specified.
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.setupProperties(AxisInvocationController.java:507)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.initOperationClient(AxisInvocationController.java:407)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:103)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:419)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:213)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.sun.proxy.$Proxy91.getAnnotations(Unknown Source)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.myapp.servlet.ViewerGetAnnot.getAnnotations(ViewerGetAnnot.java:263)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.myapp.servlet.ViewerGetAnnot.doGet(ViewerGetAnnot.java:122)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3837)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:981)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 [11/25/15 2:19:41:643 PST] 0000008e SystemErr     R    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

您是如何在应用程序中为客户端设置用户名属性的?您需要检查此项并在同一位置设置用户名值。您好,我没有在任何地方设置用户名。是否存在与此设置相关的配置文件xml或props文件?我会在那里,不管那里有什么设置。。。