Hi,

I am using CXF 2.6.1 via the maven plugins.

I am finding that in the case of a Document/Literal/Wrapped JAX-WS, the
annotation:

@WebResult(partName="somePartName")

makes no differentce to the generated wsdl. I was expecting this to have
the effect:

...
<wsdl:message name="SomeResponse">
  <wsdl:part name="somePartName" ... >
  </wsdl:part>
</wsdl:message>
...

but instead it generates:

...
<wsdl:message name="SomeResponse">
  <wsdl:part name="parameters" ... >
  </wsdl:part>
</wsdl:message>
...

I also find that no @WebResult( ... partName="somePartName" ...)
annotation change is generated in the server SEI stub for the wsdl2java 
goal if the wsdl contains:

...
<wsdl:message name="SomeResponse">
  <wsdl:part name="somePartName" ... >
  </wsdl:part>
</wsdl:message>
...

I am wanting to be able to control the "somePartName" value, to simulate
the same wsdl, as is issued by an existing JAX-RPC web service.

Can someone tell me if the wsdl generation or my understanding is
incorrect ?

Thanks
Andrew





--
View this message in context: 
http://cxf.547215.n5.nabble.com/Seeking-clarification-of-JAX-WS-behaviour-under-CXF-2-6-1-for-WebResult-partName-attribute-tp5712381.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to