---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
When you say that you wish to send/receive XML, do you mean that you want to
send and receive String messages that contain XML? Or that you wish to use
objects based on XML? Or DOM documents?
A
Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
email: antoin...@ricston.com | blog: blog.ricston.com | web: ricston.com
Regards,
Su123
--
View this message in context: http://www.nabble.com/Soap-Web-service-with-Mule-and-Xfire-tp20356187p20731079.html
You say that the payload is an XML file - is this a file object that you're
sending, or a String that contains the XML?
Either way, if you wish to convert to a Document (org.w3c.dom.Document for
instance) have you seen the XML transformers in Mule?
Regards,
Su123
--
View this message in context: http://www.nabble.com/Soap-Web-service-with-Mule-and-Xfire-tp20356187p20790429.html
A-ha, this makes things a little clearer.
01 - You are sending a string and converting that to an object using JAXB.
Are you doing this on the inbound endpoint? (Showing us your config will
help a little here)
02 - If you wish to use Document as the parameter type of the component,
you should change the SOAP style to "message" not "RPC/Encoded" or
"Doc/Lit"
HTH
A
--
Antoine Borg | Senior Consultant
Ricston Ltd BP 2, 1180 Uccle, Brussels, Belgium
T: +32 28 504 696 M: +32 494 77 47 88 E: antoin...@ricston.com
Read my blog on SOA and Mule topics: http://blog.ricston.com
<transformers>
<transformer name="TestTransformer"
className="com.foo.transformers.TestTransformer"/>
</transformers>
<mule-descriptor name="TravelServices"
implementation="com.foo.service.ProcessRequest">
<interceptor name="default"/>
<inbound-router>
<endpoint address="xfire:http://localhost:65081/services"
type="senderAndReceiver" synchronous="true" transformers="TestTransformer"/>
</inbound-router>
.
.
.
.
.
I don't want the parameter to be taken as a Document as it is a in-memory
representation of the Xml and hence the entire Xml is loaded into the
memory. I want to receive the Java object directly via transformer into my
Component. The problem here is using the binding property of Xfire and JAXB
into my project.
Thanks & Regards,
Su123
--
View this message in context: http://www.nabble.com/Soap-Web-service-with-Mule-and-Xfire-tp20356187p20831508.html
It looks like the transformation is interfering here. How about if you had a
proxy service that handled the transformation so that this TravelService
received the properly transformed item?
A
Thanks & Regards,
Su123
>>>> -- To unsubscribe from this list, please visit:
>>>>
>>>> http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -- To unsubscribe from this list, please visit:
>>>>
>>>> http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Soap-Web-service-with-Mule-and-Xfire-tp2035618
>>> 7p207310
>>> 79.html
>>> Sent from the Mule - User mailing list archive at Nabble.com.
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe from this list, please visit:
>>>
>>> http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe from this list, please visit:
>>>
>>> http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Soap-Web-service-with-Mule-and-Xfire-tp20356187
>> p20790429.html Sent from the Mule - User mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
>
--
View this message in context:
http://www.nabble.com/Soap-Web-service-with-Mule-and-Xfire-tp20356187p208315
08.html
Regards,
su123
--
View this message in context: http://www.nabble.com/Soap-Web-service-with-Mule-and-Xfire-tp20356187p20889488.html
Yes, of course.
Create a proxy service that has the inbound web service endpoint and
receives all requests. On the outbound endpoint, use the transformer so that
the message is converted as needed. Set the outbound endpoint to invoke the
web service of the real service.
This new service should be a pure proxy but with the addition of the
transformation
A
Regards,
su123
>>> 7 p20790429.html Sent from the Mule - User mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To unsubscribe from this list, please visit:
>>>
>>> http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>>
>>