Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

regarding Removing or Adding Namespaces to XML with No Namespace

902286Aug 13 2013 — edited Feb 26 2020

HI All,

I have a requirement wherein I have to read a xml file without namespace in my BPEL process.

What I am doing : I have created XSD file based on client given xml file(which does not have any namespace and I have to

map the data in elements in that xml to a service( input variable)).I am using same xsd file in 'native file translation wizard'

My xml file is like below(example file):

<?xml version="1.0" ?>

< Order>

< Origin>cali</Origin>

<CustNum>34</CustNum>.

< /Order>


IN Oracle File adapter documentation it is explained that I have to use wrapper.xsd.The sample code snippet is below:

--wrapper.xsd

<?xml version="1.0" encoding="UTF-8"?>

<schema xmlns="http://www.w3.org/2001/XMLSchema"

  targetNamespace="myNamespace"

  xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"

  nxsd:version="DTD">

  <include schemaLocation="actual.xsd"/>

</schema>

Can anybody explain me what is 'actaul,xsd' and about other elements to create the wrapper.xsd for my case? IS 'actaul.xsd' that which was created by Oracle Jdeveloper by taking above xml file(Order xml)?

(or) what is that?



Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2013
Added on Aug 13 2013
1 comment
504 views