[ 
https://issues.apache.org/jira/browse/CXF-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517159
 ] 

Jervis Liu commented on CXF-866:
--------------------------------

Hi Daisy, the current dispatch_provider sample code is like below:

@WebServiceProvider()
public class GreeterDOMSourcePayloadProvider implements Provider<DOMSource> {
..........}


@WebServiceProvider()
@ServiceMode(value = Service.Mode.MESSAGE)            
public class GreeterDOMSourceMessageProvider implements Provider<DOMSource> {
.........
}

Do you mean you changed @WebServiceProvider() to @WebServiceProvider(portName = 
"SoapPort2", serviceName = "SOAPService2", 
                      targetNamespace = 
"http://apache.org/hello_world_soap_http";, 
                      wsdlLocation = "wsdl/hello_world.wsdl") ?

Then it works? What version of CXF are you using?


> Impls for Sample dispatch_provider don't have @WebServiceProvider
> -----------------------------------------------------------------
>
>                 Key: CXF-866
>                 URL: https://issues.apache.org/jira/browse/CXF-866
>             Project: CXF
>          Issue Type: Bug
>          Components: Samples
>    Affects Versions: 2.0-M1
>            Reporter: Daisy Li
>             Fix For: 2.0.1
>
>
> GreeterDOMSourceMessageProvider.java
> GreeterDOMSourcePayloadProvider.java
> The sample doesn't work with spring container because they don't have 
> @WebServiceProvider. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to