Hi Amit,

Please find my comments inline.

On Mon, Aug 28, 2017 at 9:17 PM, Amit Rajvanshi <arajvan...@salmon.com>
wrote:

> Hi Malaka,
>
> I am trying to copy a file without processing.
>
​You can use file connector copy operation for this [1]
​

> Output file which I recieve on another location using vfs contains envelop
> and body and actual content inside the body tag.
>
​Reading a file can be done with read operation [2]​

> I hope it clear your doubt.
>
> Regards,
> Amit Rajvanshi
>
>
>
​[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the+File+Connector+Version+2#WorkingwiththeFileConnectorVersion2-copy
[2]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the+File+Connector+Version+2#WorkingwiththeFileConnectorVersion2-read
[3]
https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
​

> -------- Original message --------
> From: Malaka Silva <mal...@wso2.com>
> Date: 28/08/17 21:05 (GMT+05:30)
> To: Amit Rajvanshi <arajvan...@salmon.com>
> Cc: WSO2 Developers' List <dev@wso2.org>
> Subject: Re: Help required
>
> Sorry your question is not clear for me. Are you simply trying to copy a
> file without processing? What do you mean by adding content to output.xml?
>
> On Mon, Aug 28, 2017 at 6:16 PM, Amit Rajvanshi <arajvan...@salmon.com>
> wrote:
>
>> Hi Malaka,
>>
>>
>>
>> I am trying implement pure messaging solution like copy one xml file from
>> one sftp location and transfer it to another sftp location without any
>> change.
>>
>> However in the output xml message envelop and body is being added to the
>> message.
>>
>> For example:
>>
>>
>>
>> <soapenv:Envelope xmlns:soapenv="http://schemas.
>> xmlsoap.org/soap/envelope/">
>>
>> <soapenv:Body>
>>
>> Original content
>>
>> </soapenv:Body>
>>
>> </soapenv:Envelope>
>>
>>
>>
>> Inbound endpoint I have set content type as application/xml
>>
>> <parameter name=*"transport.vfs.ContentType"*>application/*xml*</
>> parameter>
>>
>>
>>
>> I need to keep it application/xml because xml validation is required
>> before processing.
>>
>> Could you please help me if it is possible to send the file without body
>> and envelop.
>>
>>
>>
>> Best regards,
>> *Amit Rajvanshi*
>>
>> *Technical Consultant*
>> *Office:      *+91-120-4737401 <+91%20120%20473%207401>
>>
>> *Mobile*:     +91 9871001235 <+91%2098710%2001235>
>>
>> *Email*:        arajvan...@salmon.com
>>
>> [image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>
>>
>>
>>
>> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
>> <https://twitter.com/Salmon_India> *[image:
>> cid:image005.jpg@01D2CA89.60AB8730]*
>> <https://www.linkedin.com/company/salmon-india> *[image:
>> cid:image006.jpg@01D2CA89.60AB8730]*
>> <https://plus.google.com/116105780357981423232> *[image:
>> cid:image007.jpg@01D2CA89.60AB8730]*
>> <https://www.facebook.com/SalmonIndiaLtd/> *[image:
>> cid:image008.jpg@01D2CA89.60AB8730]*
>> <http://www.pinterest.com/salmonltd/> *[image:
>> cid:image009.jpg@01D2CA89.60AB8730]*
>> <https://www.youtube.com/user/salmonlimited> *[image:
>> cid:image010.jpg@01D2CA89.60AB8730]*
>> <http://www.slideshare.net/salmonltd>
>>
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <077%20721%209791>
> Tel : 94 11 214 5345
> Fax :94 11 2145300 <011%202%20145300>
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to