How to change namespace in outbound file
Hi,
When I creates a outbound file using file adapter, BPEL or jDeveloper creates a file with its own namwspace like ns1: or ns15: or so on... But if I want to change it to my own tag say like tns: or its:, is it possible?
example:
the usual creation in BPEL:
<?xml version="1.0" ?><ProvisionsInterface xmlns:ns1="http://www.mycomapny.com/ns/company/payments" xmlns="http://www.mycomapny.com/ns/company/payments">
<ns1:Provider>
<ns1:Id>1909909</ns1:Id>
<ns1:Name>BASSETTS</ns1:Name>
<ns1:Addr1>1 High Street</ns1:Addr1>
I want to change it to:
<?xml version="1.0" ?><ProvisionsInterface xmlns:tns="http://www.mycomapny.com/ns/company/payments" xmlns="http://www.mycomapny.com/ns/company/payments">
<tns:Provider>
<tns:Id>1909909</tns:Id>
<tns:Name>BASSETTS</tns:Name>
<tns:Addr1>1 High Street</tns:Addr1>
Any idea, plase advice.
Regards,
Sreejit
Hi,
Thanks for reply.
Actullay the requirement is that the target system doesn't want any namespace tag in front of the elements.
I have got the answer and created a wrapper xsd, by which you can change or remove the namespace from the output file.
example:
<?xml version="1.0" encoding="utf-8" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.mycompany.com/ns/suppliers" <!-- target namespace from actual xsd -->
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" nxsd:version="DTD">
<include schemaLocation="NameOfActualSchema.xsd"/>
</schema>
Regards,
Sreejit
Similar Messages
-
How to change the default "Safe" files in Safari?
I would really appreciate if anybody could teach me how to change the default "Safe" files using AppleScripts, Folder Actions or .plist files. I really would like to have some files to open automatically after download, specially .pps files, and safari doesn't recognize such files as "safe". I tried to find out reading the help files but got lost.
I posted a reply in an old topic for somebody who seemed to know, but it was not related to that topic, so I decided to open a new one.
I'll be gratefull for any help. Thanks.Hi MDRC,
Have a read of [this topic|http://discussions.apple.com/thread.jspa?threadID=1237961] to see if that helps. -
How to change the default password file's name and path when the database created?
how to change the default password file's name and path when the database created?
nullUsage: orapwd file=<fname> password=<password> entries=<users>
where
file - name of password file (mand),
password - password for SYS and INTERNAL (mand),
entries - maximum number of distinct DBA and OPERs (opt),
There are no spaces around the equal-to (=) character. -
In R12 how to change concurrent output/log file name prefix?
how to change concurrent output/log file name prefix?
but i want to change change concurrent output/log file name prefix?You cannot, and I believe it is not supported for all concurrent requests -- Please log a SR to confirm this with Oracle support.
Thanks,
Hussein -
LabWindows / CVI: how to change the output executable file name
For example, I have an A project a.prj, I do not want to compile the output file is a.exe, but b.exe.
I will try to save as a.prj b.prj, a.cws save as b.cws
eg:a.prj ---->(output)--->b.exe
Solved!
Go to Solution.You can go to Build >> Target Settings menu item, select Release (or Release 64) in the Configuration filed and set the name of the executable to create in Application FIle field, withouyt need to change the prj or cws filename.
See the complete description of available options here.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to change default application in file context menu
I know you can change the application that opens a file in the file;s info window (command i) and then double clicking the file opens it in that application. However the context menu still shows the same original default application. How to change what is shown as default in context menu?
You can't. You can change the default app in Get Info which will change the first listed app in the context menu to that default app. How the context menu is built is not under user control.
-
How to change numbers of PDF file in Adobe Acrobat Pro Extended #9
I just combined 3 PDF files that had their own numbering into one. I have searched how to change this file into a consecutive numbering with no success. I do the steps outlined to open the Number options, but when filling in the blanks, and making choices, nothing changes on the pages ... just in the thumbnail section.
HELP!Post your question in a forum for Acrobat. Adobe Reader can't change page numbers.
-
How to change name of uploaded file
I am using the a multi-part form and the pl/sql gateway to enable users to upload files to portal. The files automatically get stored in the wwdoc_document$ table. The key to the file is a column called "name" which consists of a sequence number and the file type e.g. 4747.gif.. I want to change this name to a different value.
When I change it using the standard sql Update statement, none of the pdk apis work on the record; they all return errors. I am able to change this value as long as I use a unique value, I just can't run any of the wwdoc apis against the row after that.
Does anyone know how to change this value for a given row???
Mike KleimanSee Upload taglib in Coldtags suite:
http://www.servletsuite.com/servlets/uptag.htm -
Jdeveloper 11.1.1.5 - how to change path for log file for Disk quoto exceed
I am trying to deploy to my jdev integrated webserver and am getting Disk quoto exceeded error.
How do I change the path so it goes to /scratch/<user>/ ... or something other than /home/<user>
<Jul 7, 2011 1:53:01 PM PDT> <Notice> <Log Management> <BEA-170019> <The server log file /home/<user>/.jdeveloper/system11.1.1.5.37.60.13/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log is opened. All server side log events will be written to this file.>
Handler: '/home/<user>/.jdeveloper/system11.1.1.5.37.60.13/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log' raised exception when flushing.
Caused By: weblogic.store.PersistentStoreFatalException: java.io.IOException: Error syncing file, Disk quota exceeded, errno=122
#### Cannot run application TravelRequestApplication due to error deploying to IntegratedWebLogicServer.Set the USER Home directory as explained here:
http://download.oracle.com/docs/cd/E21764_01/install.1111/e13666/ojdig.htm#BDCJCHDF -
How to change name of downloaded file by URLLink.acsm
When I browser my URLLink.acsm:
"http://host:8080/fulfillment/URLLink.acsm?action=...."
it download a file named "URLLink.ascm". How can I change that file name to "title.acsm" insteed of "URLLink.ascm"?
For example: "ShakespearInLove.acsm".
I'm using ACS4 4.1
Many thanks,Thanks for this thread !!!
...that Is a question I asked myself today as I used Adobe ADE for the first time.
(I hope they enhance it --- it is REALLY unpractical for reading eBooks).
When you open the URLLink.acsm file in a Text-Editor,
you will see a lot of tags inside < and >, like:
<fulfillmentToken>
<distributor>...</distributor>
<operatorURL>...</operatorURL>
<expiration>...</expiration>
<transaction>...</transaction>
<resourceItemInfo>
<resource>...</resource>
<resourceItem>1</resourceItem>
<metadata>
<dc:title>...</dc:title>
<dc:creator>...</dc:creator>
<dc:format>...</dc:format>
<dc:publisher>...</dc:publisher>
<thumbnailURL>...</thumbnailURL>
</metadata>
<src>...</src>
<downloadType>simple</downloadType>
</resourceItemInfo>
<hmac>...</hmac>
</fulfillmentToken>
I tried to change the filename inside the <dc:title> tag.
However this is the filename on the server where you download your eBook.
Does anyone know an "<output-tag>" that lets the user determine the filename?
Or any other solution??
Strange that on the whole www this question has only been asked once... -
How to Change Images in fla file
I have Macromedia Flash MX 2004. I need to change the images in an fla file for inclusion in a new Web site. I have inherited an fla file and am just learning the in-and-outs of using Flash. I have been trying to figure out/learn what to do. But I am now under a deadline.
How to I replace the old images with new ones? Thanks, BetsyAs you have noticed on the timeline, there are 4 keyframes (black dots connected by a long arrow to the next dot) for each of the image tweens on different layers. Just select the 1st or 2nd keyframe of each layer, you will notice that it will select the image (blue rectangle around it), then double click it to get into the MovieClip's content (the bitmap image). You will see the MovieClip's timeline which is only one frame. Select and delete the Bitmap then drag the new Bitmap into it. Then position it and double click outside the stage to return to the root timeline. Do this for each of the layers and you are done. It is really that simple
-
How to change XML Header in file
Hi,
How to have the following XML output header XML with simple transformation:
<?xml version="1.0"> encording="ISO-8859-1"?>
When I used the following transformation template:
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
I get the following output header and file is not readable.
<?xml version="1.0" encoding="utf-16" ?>
If i call tranformation without encoding option file is creted and readable. Does there is any impact on functionality if file is without header.
Thanks
anyaHi,
you could use the below alternative solution also as some Web services do not accept the message , if Content type is application/XML in the HTTP Header, it will accept only Text/XML. So While calling the Web service, the content has to be changed, This is possible using Module of the adapter as shown in the screen shot.
HTTP Header field values before using the module
User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
content-id: [email protected]
content-type: application/xml
Content-Length: 1280
Module name - localejbs/AF_Modules/MessageTranspormationBean
Type - Local Enterprise Bean Module - This is defined by the user, but the same name should be given in the module configuration for passing the parameters. In this case transform In the module configuration ,
Module key - In this case transform
Parameter name - Transform.ContenType
Parameter Value - text/xml;charset=utf-8
Here you could use the required parameters and pass the values....:-))
Thanks
Swarup -
How to change location of the file?
Hi All,
I am using this code to convert infopath view to html, everything working fine but i want to change the file location
public string ConvertViewToHtml()
try
byte[] sourceFile = null;
XPathNavigator root = MainDataSource.CreateNavigator();
//string myViewName = this.CurrentView.ViewInfo.Name.Replace(" ", string.Empty);
string myViewName = "Email";
string myViewXslFile = myViewName + ".xsl";
// Create the xsl transformer
XslCompiledTransform transform = new XslCompiledTransform();
transform.Load(ExtractFromPackage(myViewXslFile));
// Generate a temporary HTML file
string fileName = Guid.NewGuid().ToString() + ".htm";
string filePath = Path.Combine(Path.GetTempPath(), fileName);
using (XmlWriter writer = XmlWriter.Create(filePath))
// Convert the XML to HTML
transform.Transform(root, writer);
writer.Close();
// Return the HTML as a string
sourceFile = File.ReadAllBytes(filePath);
return System.Text.Encoding.UTF8.GetString(sourceFile);
catch (Exception ex)
return "<html><body>Unable to convert the view to HTML <p>" + ex.Message + "</p></body></html>";
By default file get stored in this location 'C:\Users\TEMP.EGA\AppData\Local\Temp\64aa2af2-4f7f-44e9-afdc-6783f7f4007d.htm'. But I want to store in different location. How to achieve
this? Thanks in advance!Hi,
You can change the line of code below
string filePath = Path.Combine(Path.GetTempPath(), fileName);
to
string path= "c:\\temp";
string filePath = Path.Combine(path, fileName);
More information:
https://msdn.microsoft.com/en-us/library/fyy7a5kt(v=vs.110).aspx
Best Regards
Dennis Guo
TechNet Community Support -
.How to Change Path to dbf files Using Visual FoxPro ODBC Driver
Using vb.Net 2008, full Crystal 2008.
I have a Crystal report that uses a Visual FoxPro File DSN pointing at a folder with dbase (.dbf) files.
I need to be able to change the folder location at runtime. In the RDC, one key part of this has been specifying a connection string, such as:
"Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=" & gs_FileDSN_Path & ";Exclusive=No;Collate=Machine;Null=Yes;BackgroundFetch=No;"""""""
However, I can't find any .NET documentation confirming this syntax and, even more importantly, where does it go?
I tried 2 variations as:
reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("Connection String", ls_ConnectionString))
reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("ConnectionString", ls_ConnectionString))
Followed later by TableN.ApplyLogOnInfo(reportTableLogonInfo)before calling
But I don't know if the correct attribute name is "Connection String", "ConnectionString", or something else.
I also tried to set the connection string to the QE_ServerDescriptions property, as in:
reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("QE_ServerDescription", ls_ConnectionString))
None of these variations nr many others seem to work.
BOTTOM LINE:
Could someone provide sample code for overriding the dbase files folder location specified by a Visual FoxPro FileDSN?
Thanks!OK, I came to the conclusion that the tables or the report somehow hold on to the File DSN for dear life and I can't change that fact.
So I'm going to change my approach and instead of changing the connection properties of the tables, I'll modify the properties of the File DSN on the fly. Ugly, but an OK solution for my use scenario.
It would still be great to get a code sample for the original question but, it's no longer a burning issue for me.
It would be nice if the support team created a document describing in detail how to achieve database location changes using .NET for different scenarios. It's a common need and the RDC object model had such a document. -
How to change routing in customisaiton file?
Hi All,
I have single configuration project with number of proxy, biz, local and ftp services. I am using ANT and WLST scripts to export and import this project into different environments.
The import customisation file has number of tokens for endpoint URI which are replaced during import process for target environment - reads properties file for endpoint uri values. Yes, the customisation file is huge and difficult to maintain should someone adds new services. But this process is working for us though.
Now the problem is i have been asked that service routing information during import process should also be tokenised etc i.e. we could change routing to a local service instead or jms or vice versa etc, instead of using dynamic routing in the flow.
I am not sure if its sensible enough to handle this in the customisation file instead of using dynamic routing which is available in the flow which can handle it better???
What approach should be followed between dynamic routing or customisation file or both?
can we use customisation file handle this at all? is yes, any information or example would be very helpful!
many thanks in advance!
sal
Edited by: sallo on 11-Jan-2010 03:27Hi Salo,
Please refer -
Auto deploy of ALSB/OSB artifacts - Proxy, WSDL and webservices...
need wlst code to autodeploy alsb project
Can we use WLST to deploy the alsb project without the manual import proces
Play with WLST and find solution of your problem.
All the best!!
- Anuj
Maybe you are looking for
-
Do you understand me ? I want money back.Because I have problem with LINE In App Purchase.And no one try to resolve this problem.And the answer of NEVER LINE JAPAN they don't have responsibility.I think it will be effect with APPLE image also.I want
-
How to tell if my dc7800 motherboard is bad?
I purchased a used DC7800 CMT from ebay. It had not HDD and little RAM. I have 4 Gigs of RAM on it. I have a HDD and I used XP a while back and dual boot with Ubuntu. My problem is that after running the machine for about 20 minutes the USB keybo
-
Help needed in retrieving parent child relationship values
Hi, I have a requirement to get parent child relationship values as below. Ex: Address table cont cont_code state state_code C1 10 S1 1 C1 10 S2 2 C1 10 S3 3 C2 20 S4 4 C2 20 S5 5 C3 30 S6 6 C3 30 S7 7 C3 30 S8 8 I want a result of country/state and
-
Supose I have a MDI application. How to know in the parent if a child has been created or distroyed? for instance, as soon as a child is created/detroyed I want a notification in the parent that there is a child created/distroyed? Thanks
-
BUG - Edge animate 2014.1.1 (February) pivot doesn't remain in browser
When animating in Edge Animate I manually position the "anchor point" with the "Transform Tool (q)" or the origin percentages in the Transform panel. I can animate my rotations around this pivot and in Edge this looks correct. But when I publish the