maven-codegen-plugin code generation

Solution In Progress - Updated -

Issue

I have setup Fuse proxies previously and they work fine using the same process as below.
However some of our services that we are proxying do not generate the correct wsdl.
1) Attempting to call the proxy from soapui returns this fault.

   <faultstring xml:lang="en-AU">The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring>

2) Also when I attempt to invoke the proxy via a camel route I still see the above error and the route cannot be processed. Bellow is my camel route:


<route> <from uri="seda:Shield"/> <setHeader headerName="operationName"> <constant>login</constant> </setHeader> <setHeader headerName="operationNamespace"> <constant>http://xxx/wsdl/usermanagement/v2</constant> </setHeader> <process ref="myLoginProcessor"/> <to uri="cxf:http://localhost:9091/UserManagementProxy?serviceClass=xxx"/> </route>

Environment

Red Hat JBoss Fuse 6.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.