Exception in thread "main" com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag.
2014-05-23 22:30
621 查看
webservice 抛异常,原因:
handleMessage返回false是不对的,要返回true正确。
public class HeaderHandler implements SOAPHandler<SOAPMessageContext>{ @Override public boolean handleMessage(SOAPMessageContext context) { return false; } .................. ................. .............. }
handleMessage返回false是不对的,要返回true正确。
相关文章推荐
- 解决com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag.
- 解决com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag.
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException:
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: 必须在没有程序包的类上指定 @Web
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: 解决办法
- Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport e
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- Exception in thread "main" javax.xml.ws.WebServiceException: Could not find wsdl:binding operation i
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStrea
- Exception in thread "main" javax.xml.ws.WebServiceException: Could not find wsdl:binding operation i
- 异常:Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/Lin
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
- Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream解决MyEclipse8.0
- myeclipse中发送邮件出现Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream