No operation was found with the name {http://impl.service.xq.com/#sayhi,wasnotfound

Source: Internet
Author: User

No operation was found with the name {http://impl.service.xq.com/#sayhi,wasnotfound

Org. apache. cxf. common. i18n. UncheckedException: No operation was found with the name {http://impl.service.xq.com/#sayhi.
At org. apache. cxf. endpoint. ClientImpl. invoke (ClientImpl. java: 347)
At org. apache. cxf. endpoint. ClientImpl. invoke (ClientImpl. java: 341)
At com. xq. test. Test. main (Test. java: 12)
Exception in thread "main" java. lang. NullPointerException
At com. xq. test. Test. main (Test. java: 17)

Change the targetNamespace of @ webservice to "http://service.xq.com/", that is, the package name of the released interface, and directly enter http: // localhost: 8080/cxftest/ws/helloService? View the xmlns: ns1 = "http://service.xq.com/" for the wsdl: definitions tag, which is the value of targetNamespace.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.