Apache CXF - The given SOAPAction does not match an operation

前端 未结 3 1685
面向向阳花
面向向阳花 2021-01-18 05:39

I started working again on a project I started a few years ago (code available here: http://code.google.com/p/mipnp/). It\'s a UPnP mediaserver that can stream media to an x

3条回答
  •  醉酒成梦
    2021-01-18 05:47

    I had the same problem, found the solution in http://forum.openkm.com/viewtopic.php?f=6&t=12494

    The Web service was created in java using simple @WebService and @WebParam annotations.

    It seems to be a problem in Apache CXF library from 2.5.1 to 2.6.14. The second solution of Daniel Kulp is the easy way.

    In ksoap2 (ksoap2-android-assembly-3.5.0-jar-with-dependencies.jar) library for Android you can use this way:

    HttpTransportSE transporte = new HttpTransportSE("http://10.0.2.2:8080/server-ws/actionServerWS?wsdl");
    transporte.call("", envelope);
    

    Hope this

提交回复
热议问题