cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] Commented: (CXF-2644) Have policy engine support for {}Addressing
Date Mon, 07 Feb 2011 22:14:57 GMT


Daniel Kulp commented on CXF-2644:

Glen,  can you put together a full test?  I changed the occurances of:
<wsaws:UsingAddressing xmlns:wsaws="" />

in a bunch of our tests to the form in the sample wsdl and all the tests still passed.   Thus,
it seems to be working ok.

> Have policy engine support for {}Addressing
> ----------------------------------------------------------------------------------------
>                 Key: CXF-2644
>                 URL:
>             Project: CXF
>          Issue Type: New Feature
>          Components: WS-* Components
>            Reporter: Glen Mazza
>            Assignee: Glen Mazza
>            Priority: Minor
>             Fix For: NeedMoreInfo
>         Attachments: SampleWSDL.wsdl
> The following element: <wsam:Addressing wsp:Optional="false"/> (where wsam="")
> generated by default by NetBeans[1] could not be supported by the CXF's WS:Policy engine,
regardless of "true" or "false" value.  I had to remove it from the WSDL in order for WS-SecurityPolicy
w/X.509[2] to work.
> Attempts to run my DoubleIt client with this element returned the following error:
> [INFO] Feb 2, 2010 6:19:56 AM org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> [INFO] INFO: Creating Service {}DoubleItService
from WSDL: file:/work/workspace/DoubleIt/service-war/src/main/webapp/WEB-INF/wsdl/DoubleIt.wsdl
> [INFO] Exception in thread "main" Expected exactly
one child element of type Policy.
> [INFO] 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
> [INFO] 	at $Proxy38.doubleIt(Unknown Source)
> [INFO] 	at com.mycompany.webservice.client.WSClient.doubleIt(
> [INFO] 	at com.mycompany.webservice.client.WSClient.main(
> [INFO] Caused by: Expected exactly one child
element of type Policy.
> [INFO] 	at<init>(
> [INFO] 	at<init>(
> [INFO] 	at
> [1] (WSDL underneath
> [2]

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message