I am able to deploy and invoke the same component as XFire webservice
without any issues. The problem occurs only when I deploy the component as
JSR181 endpoint on servicemix.
Thanks,
Vijay
----- Original Message -----
From: "Guillaume Nodet" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, September 23, 2006 2:28 AM
Subject: Re: jsr181 component null input data
If you put the log level to DEBUG, you should see the content of the
message send to the jsr181. If this one is not null, but the received
java bean is, that means the message has not been successfully
unmarshaled. Unfortunately, XFire is not very verbose about that ...
It also depends on the data mapping you use (jaxb, xmlbeans, aegis ...)
On 9/22/06, Vijay Masina <[EMAIL PROTECTED]> wrote:
I am trying to send a http soap request to servicemix and route the
request to a JSR181 component.The message gets sent to the JSR181
component but the service Implementation class recieves empty request
object (all the values are null). In the log4j logs I have observed the
message is sent to the http component and processed by the JSR181
component.
What could be the reason for passing empty message to the service
implementation class?
Here is the configuration:
<sm:activationSpec componentName="servicemix-http"
service="rcig:httpBinding" destinationService="rcig:soapBinding">
<sm:component>
<http:component>
<http:configuration managed="true" />
<http:endpoints>
<http:endpoint service="rcig:httpBinding"
soap="true"
endpoint="rcig:httpEndpoint"
targetService="rcig:soapBinding"
role="consumer"
soapAction="doPrevalidation"
locationURI="http://localhost/AddressQueries/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
</http:endpoints>
</http:component>
</sm:component>
</sm:activationSpec>
<sm:activationSpec componentName="servicemix-soap"
service="rcig:soapBinding">
<sm:component>
<jsr181:component>
<jsr181:endpoints>
<jsr181:endpoint
endpoint="rcig:soapEndpoint"
service="rcig:soapBinding"
interfaceName="http://rcig.net/AddressQueries"
serviceInterface="net.rcig.AddressQueriesImpl"
pojo="#addressQueriesBean"
style="document"
/>
</jsr181:endpoints>
</jsr181:component>
</sm:component>
</sm:activationSpec>
--
Cheers,
Guillaume Nodet