XML payload from a file

View: New views
3 Messages — Rating Filter:   Alert me  

XML payload from a file

by duachirag :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have hosted a web service inside Mule with CXF. I had the WSDL, so I generated the data holders etc using WSDL2Java. Then I updated the single operation service is supposed to have. I tested the web service with SOAPUI, it worked.

Now I am trying to read a plain XML payload message from a file using file connector. But Mule is encoding the XML message. How can I just use that plain XML message from the file directly (no encoding required) and make a request to the service? Service is SOAP based. Right now I am using file-to-string-transformer and object-to-xml-transformer

Re: XML payload from a file

by Andrew Perepelytsya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can't you just use a plain http connector for this?

Andrew

On Tue, Jan 6, 2009 at 1:43 PM, duachirag <duac@...> wrote:

I have hosted a web service inside Mule with CXF. I had the WSDL, so I
generated the data holders etc using WSDL2Java. Then I updated the single
operation service is supposed to have. I tested the web service with SOAPUI,
it worked.

Now I am trying to read a plain XML payload message from a file using file
connector. But Mule is encoding the XML message. How can I just use that
plain XML message from the file directly (no encoding required) and make a
request to the service? Service is SOAP based. Right now I am using
file-to-string-transformer and object-to-xml-transformer
--
View this message in context: http://www.nabble.com/XML-payload-from-a-file-tp21316420p21316420.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




Re: XML payload from a file

by duachirag :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for your response.

Any issues with the file connector? How can I use file connector in this case? (Transformers/Encoding?)

Andrew Perepelytsya wrote:
Can't you just use a plain http connector for this?

Andrew

On Tue, Jan 6, 2009 at 1:43 PM, duachirag <duac@gsicommerce.com> wrote:

>
> I have hosted a web service inside Mule with CXF. I had the WSDL, so I
> generated the data holders etc using WSDL2Java. Then I updated the single
> operation service is supposed to have. I tested the web service with
> SOAPUI,
> it worked.
>
> Now I am trying to read a plain XML payload message from a file using file
> connector. But Mule is encoding the XML message. How can I just use that
> plain XML message from the file directly (no encoding required) and make a
> request to the service? Service is SOAP based. Right now I am using
> file-to-string-transformer and object-to-xml-transformer
> --
> View this message in context:
> http://www.nabble.com/XML-payload-from-a-file-tp21316420p21316420.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
>
>
>