[jboss-user] [JBoss Web Services] - Re: Error deploying WebServiceProvider when using WS-RM
Nicolas Bielza
do-not-reply at jboss.com
Tue Apr 19 12:22:37 EDT 2011
Nicolas Bielza [http://community.jboss.org/people/nicolas.bielza] created the discussion
"Re: Error deploying WebServiceProvider when using WS-RM"
To view the discussion, visit: http://community.jboss.org/message/601018#601018
--------------------------------------------------------------
I finally found out that the use of WS-Addressing is not picked up from the policy.
I got rid of the problem by adding the @Addressing annotation to the Provider implementation:
@WebServiceProvider(serviceName = "purchaseorderprocessin3",
portName = "SalesOrderProcessingOrderingOutPort",
targetNamespace = "http://sap.com/xi/AP/CRM/Global",
wsdlLocation = "WEB-INF/wsdl/SalesOrderProcessingOrderingOut.wsdl")
@ServiceMode(value = Service.Mode.PAYLOAD)
@Addressing(required=true)
public class SalesOrderProcessingOrderingOutImpl implements Provider<Source> {
...
}
More details here: http://download.oracle.com/javase/6/docs/api/javax/xml/ws/soap/AddressingFeature.html http://download.oracle.com/javase/6/docs/api/javax/xml/ws/soap/AddressingFeature.html
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/601018#601018]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110419/f2da4d12/attachment.html
More information about the jboss-user
mailing list