2010/7/15 Freeman Fang <[email protected]>

>
>>  The servicemix-cxf-bc code used for smx 3.3.1 is here[1]
> the servicemix-cxf-se code used for smx 3.3.1 is here[2]
> [1]
> https://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-cxf-bc/tags/servicemix-cxf-bc-2009.01/
> [2]
> https://svn.apache.org/repos/asf/servicemix/components/engines/servicemix-cxf-se/tags/servicemix-cxf-se-2009.01/


Thanks, this helps a lot.



>
> the wsdl is generated with jaxws. This is the endpoint definition
>>
>>  What you mean here by "generated with jaxws"? do you mean you are using
> cxf?


I use the org.codehaus.mojo/jaxws-maven-plugin (wsgen and wsimport).


What I found out is the following:

The CxfSeEndpoint receive an exchange with

serviceName={http://www.klever.it/kdv/pec/ws}PECService
interfaceName={http://www.klever.it/kdv/pec/ws}PECServicePort

and I think this is correct considering this wsdl

  <service name="PECService">
    <port name="PECServicePort" binding="tns:PECServicePortBinding">
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
  </service>

In the JBITransportFactory.destinationMap I have the following mapping

{
http://www.klever.it/kdv/pec/ws}PECService{http://www.klever.it/kdv/pec/ws}pecservice=org.apache.cxf.transport.jbi.jbidestinat...@306d94ee,
ecc.

I tried to change the annotations on the service class removing the
serviceName but now the service is registered as

{
http://www.klever.it/kdv/pec/ws}PECServiceService{http://www.klever.it/kdv/pec/ws}PECService

and I request

{
http://www.klever.it/kdv/pec/ws}PECServiceService{http://www.klever.it/kdv/pec/ws}PECServicePort

I tried to add the portName="PECServicePort" on the service annotation but
it did not help.

What am I missing?


Bye

Lorenzo

Reply via email to