XML working in C++
i need the equivalent of
"xml sql utility for JAVA "
for working in C++ .
a) store and retrieve XML data from the DB (blob)
b) the XDK assume you have an XML file , how can i build one programmatically ?
i working in c++.
i use in my project XML.
lets consider the next scenario :
object A build an XML data (not necessary in file , mybe in memory) and give it to object B (my object). object B need to store the XML data in the DB (as BLOB mybe , because we dont want to parse the XML into the atomic data). now i thought that the XDK will give me the possibility to build (in memory) an object which represent XML (he does that only if you have the XML in file)
and would give me a simple way to store this data in the DB and vice versa.
in the documantion for C++ i didnt find any such methods , in JAVA i found some documentation that says that you can build an XML directly from a query.
further more , the documantation is very poor (if you know about better documantation it would be helpful)
Similar Messages
-
Export to CSV from tracker crashes Acrobat on multiple machines. (xml works though)
I have encountered a crash exporting data to csv from a distributed PDF in the tracker, yet exporting to xml works. This occurs on multiple machines.
I can email dump file if requested.
[Product]
(0x1): Windows 7 Ultimate[/Product]
[Edition]
Ultimate[/Edition]
[BuildString]
7601.17727.x86fre.win7sp1_gdr.111118-2330[/BuildString]
[Revision]
1130[/Revision]
[Flavor]
Multiprocessor Free[/Flavor]
[Architecture]
X86[/Architecture]
[LCID]
1033[/LCID]
[/OSVersionInformation]
[ParentProcessInformation]
[ParentProcessId]
3124[/ParentProcessId]
[ParentProcessPath]
C:\Windows\explorer.exe[/ParentProcessPath]
[ParentProcessCmdLine]
C:\Windows\Explorer.EXE[/ParentProcessCmdLine]
[/ParentProcessInformation]
[ProblemSignatures]
[EventType]
APPCRASH[/EventType]
[Parameter0]
Acrobat.exe[/Parameter0]
[Parameter1]
9.5.0.270[/Parameter1]
[Parameter2]
4f03f71d[/Parameter2]
[Parameter3]
AcroForm.api[/Parameter3]
[Parameter4]
9.5.0.270[/Parameter4]
[Parameter5]
4f03ea18[/Parameter5]
[Parameter6]
c0000005[/Parameter6]
[Parameter7]
0011222d[/Parameter7]
[/ProblemSignatures]
[DynamicSignatures]
[Parameter1]
6.1.7601.2.1.0.256.1[/Parameter1]
[Parameter2]
1033[/Parameter2]
[Parameter22]
0a9e[/Parameter22]
[Parameter23]
I have a zipped dump file if someone at Adobe wants it.Yes, the application is loaded and then closed for each file. I agree it's not ideal, but that's just how it works. So 45 minutes for 200 files comes down to about 13 seconds per file, which is reasonable considering it has to open Word, open the file, convert it to a PDF and then close Word.
You can request this feature to be improved here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
By the way, you should make sure that you have the latest version of Acrobat available, to ensure maximum compatibility. -
How does log-configuration.xml work?
Hi,
Anyone has an idea how the "log-configuration.xml" works in Enterprise Application Project? If this properties file is configured properly, what is to be done in the code so that the log/trace messages can be written to a designated destination?
I have been trying to find a appropriate documentation, but have not been successful so far.
Appreciate if someone can share his/her experience with me.
- TeecheuHello,
I can not tell how the files works, but the documentation about this topic can be seen here:
Portal Developer Guide -> Portal Runtime Technology -> Portal Application Archives ->
Defining a Logger Configuration.
(http://help.sap.com/saphelp_nw04/helpdata/en/b1/441e40777cdd5fe10000000a155106/frameset.htm)
Hope that helps,
Jordan -
Load xml works on designer but not works in adobe acrobat
Hi
I have load a xml file on the file -> properties of the form.
When I preview the pdf all works ok, but when I have saved the document and I have opened the pdf file with adobe acrobat. Then data hasn't loaded.
Somebody know what happen?
Thanks
RubenUnfortunately, Adobe no longer supports Acrobat 7. Not only that, but I don't believe it was ever supported in a Citrix environment.
You will need to upgrade to at least Acrobat 8 for general support (and official Citrix compatibility). -
I'm making an XML photo gallery ie. the pictures get loaded
from an XML file. The flash file works as expected. However, when I
try and embed the flash file on a webpage, none of the pictures
load. I have the swf file, the xml file, the images in a folder
called images and the html file is outside of that folder. The html
file links to images/file.swf and the swf file plays but none of
the pictures load.Hello,
I can not tell how the files works, but the documentation about this topic can be seen here:
Portal Developer Guide -> Portal Runtime Technology -> Portal Application Archives ->
Defining a Logger Configuration.
(http://help.sap.com/saphelp_nw04/helpdata/en/b1/441e40777cdd5fe10000000a155106/frameset.htm)
Hope that helps,
Jordan -
How this services-config.xml works?
I going through some gettingstarted examples of using flex with AMFPHP I got it working. But to be honest, I don’t understand this services-config.xml file
Given:
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service id="remoting-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<destination id="amfphp">
<channels>
<channel ref="my-amfphp"/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://localhost/amfphp/gateway.php"
class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>
The only info from that file i use in my RemoteObject is this destination atttribut:
<mx:RemoteObject destination="amfphp" …/>
But what I don’t understand way they split the services-tag from channels-tag and most important how do they relate? Could somebody explain this or hint me to some easy to understand tutorial?
I tried to read adobe livedocs on Using RPC Components etc but it is so confusing, to be honest i don’t understand a word of it. what exacly is service-tag and channel-tag and whay i have to use both of them- i mean one will never switch my amfphp endpoint at runtime, will one? And way?
(ok, that destination has channel ref which reference the “other” channel-tag which points to my amfphp-gateway -but so what? what does it mean, way so commplicated - Wouldn’t it be easier if one would jut give the endpoint attribute to the RemoteObject and everything is fine?)
Thankful for any helpMaybe this will help?
http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page001.php -
Hi
Our developers had written custom jobs in ebus11i using XML publisher , now we have upgraded to 11.2.0.1 and it stopped working
We have logged a TAR and Oracle say they dont support custom code
Anyone can help
Ahmed Jassat
Oracle APPS DBA @ Medscheme
[email protected]user13605085 wrote:
Hi,
We have EBS 11.5.10.2 on HPUX with 10.2.0.5 database.We want to migrate it to EBS 12.1.3 with 11.2.0.3 database.
We also have 10.1.4.3 SSO with AD.
Our approach is:
First Phase:
1) From source(HPUX) take export(expdp) backup of 10g database.
2) Install 11.2.0.3 database on Target ie,on Linux server.
3) Import database on target 11g database.
4) Link 11g(Linux) database with 11i(HPUX) application
5) Re-Integrate SSO with 11g database.
Second Phase:
1)Pre upgrade steps on 11g database(linux)
2)Install file system of EBS 12.1.1 on linux with upgrade.
3) Upgarde steps
4) Post upgarde steps.
Is it feasible? Please suggest.Please do not post duplicates -- Upgrade EBS 11i(10.2.0.5) on HPUX to EBS R12(11.2.0.3) on linux
Thanks,
Hussein -
JMXBeans and RPC-XML works behind a firewall???
Hi,
i�m studing Java and have a question, RPC-XML and JMXBeans is possible to run this tecnologies in Internet??
for example, if i have a J2EE server or a RPC-XML server and it is public for Internet, somebody can access to my services from his officce or house?
JMXBeans i think that have some types of communications, as rmi, jndi or ldap but i dont know thar it works fine behind a firewall
Sorry for my poor English, i�m studing it tooBehrang Saeedzadeh <[email protected]> writes:
If you are going through a firewall then you are best off using http
tunneling for you client communication assuming the performance is
acceptable. If you do this then you should have no problems. For an
authenticating firewall with tunneled t3 you may need to provide
credentials to get through. If you are using wlclient.jar then you may
need to raise a support call since we don't currently support proxy
auth with tunneling.
andy
Hi all
I'm developing a Swing application that connects to an application server and uses EJBs for communicating with the server.
My application works fine, now that it's not behind a firewall. Can my application also connect to the server when the client is behind a firewall? What if the client is behind a firewall that requires authentication?
If the answer to the above questions is no, could someone please tell me what do I have to do in order to guarantee that my application also works behind a firewall (or an authenticating firewall.)
Best Wishes,
Behrang S.-- -
After installing extra update of FB sidecar.xml works as before
I have just tested an old 37-article sidecar.xml and it works fine.
I have upgraded my Folio Builder Panel to version 12.1.1.20120124_m_676053 (Mac OS, IDCS 5.5).My pleasure,
I needed it badly;-)
Tomek -
How to non xml work then out xml tag
can you please help me any one my qust please reply in ans sirhow work in pstyle tage file work then out xml tag filea
Hi,
Ok now it's definitively clearer. You can achieve that easily from the UI thanks to the "map styles to tag" menu item. Or you can use xmlExportMap with ExtendScript.
HTH,
Loic
http://www.ozalto.com -
Will two httpclusterservlet in same web app (web.xml) work
I want to load balance multple web services (running on different weblogic managed servers) using multiple instance of httpclusterservlet.
I did experiment with defining two instances of httpclusterservlet but only the last one worked.
I want to work this with root context (/)I want to load balance multple web services (running on different weblogic managed servers) using multiple instance of httpclusterservlet.
I did experiment with defining two instances of httpclusterservlet but only the last one worked.
I want to work this with root context (/) -
MeRepMeta.xml doesn't work for MAM 2.5
I have a problem with my meRepMeta.xml.
Background: Before we used WAS 6.20 and MAM 2.0. Exporting the XML file for our upload SYncBO and added to the original meRepMeta.xml worked well. At least the following code worked were Z_EPC is the name of our own SyncBO id:
private static SyncBoDataFacade dataFacade;
private static SyncBoDescriptorFacade descFacade;
public static boolean saveImageFile(){
dataFacade = SmartSyncRuntime.getInstance().getSyncBoDataFacade(VisibilityType.SEPARATED);
descFacade = SmartSyncRuntime.getInstance().getSyncBoDescriptorFacade();
SyncBoDescriptor descr = descFacade.getSyncBoDescriptor("Z_EPC");
SyncBo imgBo;
try {imgBo = dataFacade.createEmptySyncBo(descr);}
catch (ModificationNotAllowedException e) {
e.printStackTrace();
return false;}
No we have upgraded to WAS 6.40 and MAM to version 2.5. The exported meRepMeta.xml from the WAS 6.40 system looks like this:
<SyncBO id="Z_EPC" version="3" type="upload" allowCreate="true" allowModify="false" allowDelete="false" reqDirectSync="false">
<TopStructure name="TOP">
<Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
<Field name="USER_NAME" type="C" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="FORMAT" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="TIME_STAMP" type="N" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="OBJ_TYPE" type="C" length="2" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="OBJ_NUM" type="N" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="ITEM_NO" type="N" length="5" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="RESOURCE" type="N" length="15" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="NAME" type="C" length="128" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<ChildStructure name="010">
<Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
<Field name="SEQ_NUM" type="N" length="16" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
<Field name="DATA" type="C" length="252" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="modify">false</Input>
</Field>
</ChildStructure>
</TopStructure>
</SyncBO>
Running MAM with the code on top will not work. If I change the "Z_EPC" to the existing MAM25 SyncBO, "MAM25_005" for example, the code works.
SyncBoDescriptor descr = descFacade.getSyncBoDescriptor("MAM25_005");
Is it something wrong with the meRepMeta file or has it to do with something else?
Kind Regards,
Daniel Guldbrandsenhello daniel,
just some clarification.
did you use the same MAM application you deployed into your client in 6.2 after you moved to 6.4?
if yes -> you need to include the new meRepMeta.xml from your 6.4 system into the MAM application i.e. overwrite your old meta xml with the new one.
you need to redeploy the application package having the new meRepMeta.xml in it, for the metadata to be persisted in the client.
try listing the metadata of your application by using
SyncBoDescriptorIterator boDescs = descriptorFacade.getAllSyncBoDescriptors();
while(boDescs.hasNext())
System.out.println("Installed SyncBo Names: "+ boDescs.next().getSyncBoName());
if the names are the old names i.e. MAM_xxx, try checking
on the meRepMeta.xml on the root folder of your deployed
MAM. if it is the new one, try redeploying your application.
regards
jg -
How do I display a hyperlink in a Spry data set from static xml?
I have a page that should display files available for clients to open and save. The xml works because all info displays, but I get no link. I've tried putting the <a href></a> tag in, but get an 'undefined' . The current iteration gives me the title, but no link except in Opera where I still get undefined. What am I missing here? Here is the XML line in question:
<doc value="docs/MCB_Landfill_II_75_dwgs.pdf">Dwgs</doc>
This worked in another site, but that used xsd and xml docs rather than the spry dataset. Active link below.
Mille Grazie,
Karl
http://bamforth.com/project_docs.htmNever Mind. HTML & XML 101. I put the <a href> tag in the html doc and not the xml. I DID have to add an additional line to separate the name from the file name, but who cares.
See ya, ya'll.
Karl -
Hi ,
I want to add the conext information to my server.xml of tomcat for my hibernate configuration.....
the conext information is as follows ....
<Context path="/quickstart" docBase="quickstart">
<Resource name="jdbc/quickstart" scope="Shareable" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/quickstart">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<!-- DBCP database connection settings -->
<parameter>
<name>url</name>
<value>jdbc:postgresql://localhost/quickstart</value>
</parameter>
<parameter>
<name>driverClassName</name><value>org.postgresql.Driver</value>
</parameter>
<parameter>
<name>username</name>
<value>quickstart</value>
</parameter>
<parameter>
<name>password</name>
<value>secret</value>
</parameter>
<!-- DBCP connection pooling options -->
<parameter>
<name>maxWait</name>
<value>3000</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>100</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>10</value>
</parameter>
</ResourceParams>
</Context>
Where in my server.xml should i putI don't think you should have to edit the server.xml
at all. your app can have its own context.xml that
obviates the need for editing server.xml
%I did try that in many permutations. For some reason, the server.xml worked for me in 5.5 but not the context.xml. (Granted, it was late on Friday and I might have missed a step). :^)
- Saish -
Import xml file from server to itab
Hi all,
I have a little issue loading data from xml file in server into my itab.
With my file in local (C:\example\example.xml) works fine, but if try this with the same file in the server (e:\example\example.xml) dont work. This is my code resume.
TYPES: BEGIN OF TY_TAB,
NAME TYPE STRING,
VALUE TYPE STRING,
END OF TY_TAB.
DATA: ITAB TYPE STANDARD TABLE OF TY_TAB,
WA TYPE TY_TAB.
* Nombre del fichero
DATA: NOMBREFICHEROXML LIKE IBIPPARMS-PATH,
* data XML
DATA: LCL_XML_DOC TYPE REF TO CL_XML_DOCUMENT,
V_SUBRC TYPE SYSUBRC,
V_NODE TYPE REF TO IF_IXML_NODE,
V_CHILD_NODE TYPE REF TO IF_IXML_NODE,
V_ROOT TYPE REF TO IF_IXML_NODE,
V_ITERATOR TYPE REF TO IF_IXML_NODE_ITERATOR,
V_NODEMAP TYPE REF TO IF_IXML_NAMED_NODE_MAP,
V_COUNT TYPE I,
V_INDEX TYPE I,
V_ATTR TYPE REF TO IF_IXML_NODE,
V_NAME TYPE STRING,
V_PREFIX TYPE STRING,
V_VALUE TYPE STRING,
V_CHAR TYPE CHAR2.
NOMBREFICHEROXML = 'E:\example\example.xml'.
CREATE OBJECT LCL_XML_DOC.
CALL METHOD LCL_XML_DOC->IMPORT_FROM_FILE
EXPORTING
FILENAME = NOMBREFICHEROXML
RECEIVING
RETCODE = V_SUBRC.
IF V_SUBRC EQ '0'.
V_NODE = LCL_XML_DOC->M_DOCUMENT.
CHECK NOT V_NODE IS INITIAL.
V_ITERATOR = V_NODE->CREATE_ITERATOR( ).
V_NODE = V_ITERATOR->GET_NEXT( ).
WHILE NOT V_NODE IS INITIAL.
CASE V_NODE->GET_TYPE( ).
WHEN IF_IXML_NODE=>CO_NODE_ELEMENT.
V_NAME = V_NODE->GET_NAME( ).
WHEN IF_IXML_NODE=>CO_NODE_TEXT OR
IF_IXML_NODE=>CO_NODE_CDATA_SECTION.
*text node
V_VALUE = V_NODE->GET_VALUE( ).
MOVE V_VALUE TO V_CHAR.
IF V_CHAR <> CL_ABAP_CHAR_UTILITIES=>CR_LF.
WA-NAME = V_NAME.
WA-VALUE = V_VALUE.
APPEND WA TO ITAB.
CLEAR WA.
ENDIF.
ENDCASE.
*advance to next node
V_NODE = V_ITERATOR->GET_NEXT( ).
ENDWHILE.
WRITE:/ 'file ok'.
ELSE.
WRITE:/ 'file ko'.
Anyone can help, or tell me a easy way to load xml file from server to my itab that works with my old sap 4.7.
thanks
Edited by: DIEGO_GT on Nov 18, 2011 12:04 PMHi Diego.
Next time try to search in [www.sdn.sap.com] first.
See the following example: [http://wiki.sdn.sap.com/wiki/display/ABAP/UploadXMLfiletointernal+table]
Regards.
Rafael Rojas.
Maybe you are looking for
-
I have a pay as you go account When I receive emails and attempt to reply I often get the following message: "Cannot verify server identity Details: Local Host – not trusted Country Name: GB State or Province name: Someprovince Locality Name: someto
-
Firefox staying offline on certain websites
When my internet briefly disconnects and reconnects while firefox is open, firefox suddenly refuses to load certain websites, those websites (if its any help) are facebook, yahoo mail, and any google search page. These happen to be pages i access alo
-
Blackberry Z10 failure to connect to webservice provider
Dear Sir I would like to ask if some person could assist me in getting my mobile phone to connect to the web service provider. see below a copy of the connection details which I am sure you understand. the problem is that the moible will not connect
-
Photo stream showing no photos
set up photo stream but no auto upload no photos showing in photo stream on ipad- when photos are in on my desktop
-
Partner Profile - Creation date
Is creation date for partner profile stored in any tables? I looked at EDPP1 but could not find it. -Thanks Bob