Shipping connection using xml
TNT are one of the largest transport companies in Australia and are widely used for business to business. We need to be able to connect with their API.
This is a brief excerpt from their technical document.
The External RTT service will take an application/x-www-form-urlencoded HTTP POST request in the following format. Where the username and password are those provided by TNT during the registration process and the XML Request is an XML string which conforms to the schema listed in section 2 of this document. The xml string should be URL encoded. The request content type should be application/x-www-form-urlencoded NOT text/xml.
I have a complete implementation document from TNT, however some of the requirements are server side such as Curl etc. I'll ask them for a csv of their rates but not sure they will cooperate.
The shipping side of things especially in Australia seems quite limited for companies that are business to business. Most of these busines types do not use Australia Post. There are two other large large transport companies that are widly used in Australia and they are Startrack and Toll Ipec. I'm concerned that if a client uses any of these transport companies (and they do) that I won't be able to help them if they want us to connect their their API.
Any suggestions?
BC does not support 3rd party shipping integrations at the moment, there is no API for it and you can not install scripts etc onto BC>
Similar Messages
-
Can't i use xml schema and oledb data connection at the same time?
Hello to all and thanks in advance.I use xml schema and oledb data connection at the same time and the problem is that when I try to export the xml, the outcome is not what i expect.Without the oledb connection everything is ok (just the schema) and the xml complies with the schema.
Can't i have both schema and oledb and the exported xml be as i want it?You can use both at the same time, but not gor Internet access if that's what you're asking.
Now there is a thing called Link Aggregation, which combines a number of interfaces for speed/redundancy, but it really only works locally, and then only with ALL special equipment in the route, and most likely OSX Server involved.
Sorry. -
Error in Dashboard using XML connection
Hi Experts,
I have developed one Dashboard using XML connection but getting bellow attached error can any one guide me how to solve it.
I know that error is related to cross domain.xml please explain the what is cross domain.xml and guide me to solve issue.
Regards
Mahantesh(Monty)Hello,
Please check if below notes are relevant:
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361… -
How to connect mysql database using xml
welcome to all,
here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
regardsShort answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.
-
Connecting to ADO Data Services using XML Data
Has anyone attempted to connect to a database using ADO Data Services? My understanding of ADO Data Services is that it allows querying of the database in a REST format. So if I publish a site, I can get to its data with a URL like this:
http://mysite/myservice.svc/entity where entity is a defined entity like Product, or supplier. Going to this site returns data that I have included at the end of this post, with the Entry node repeating (I only included the first Entry node). I definitely cannot use Web Service as my connection method, because there is no WSDL, but I was thinking maybe I could use XML. However, I have read the help file and several forum posts and I can't seem to figure out how to make XML work.
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
- <feed xml:base="http://mysite/FpWebDataService.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<title type="text">InfrastructureTickets</title>
<id>http://mysiteFpWebDataService.svc/InfrastructureTickets</id>
<updated>2008-12-22T14:44:03Z</updated>
<link rel="self" title="InfrastructureTickets" href="InfrastructureTickets" />
- <entry>
<id>http://mysite/FpWebDataService.svc/InfrastructureTickets(1)</id>
<title type="text" />
<updated>2008-12-22T14:44:03Z</updated>
+ <author>
<name />
</author>
<link rel="edit" title="InfrastructureTickets" href="InfrastructureTickets(1)" />
<category term="FootprintsModel.InfrastructureTickets" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
- <content type="application/xml">
- <m:properties>
<d:TicketID m:type="Edm.Int32">1</d:TicketID>
<d:UserLastName>Phillips</d:UserLastName>
<d:UserFirstName>Michael</d:UserFirstName>
<d:TicketTitle>FAStT 700 updates</d:TicketTitle>
<d:TicketAssigned xml:space="preserve">miphillips</d:TicketAssigned>
<d:DateSubmitted>Jul 18 2005 9:55AM</d:DateSubmitted>
<d:ChangeRequestType>BIOS__fFirmware__bUpdate</d:ChangeRequestType>
<d:ChangeImpact>Major</d:ChangeImpact>
<d:ChangeRisk m:null="true" />
<d:OutageRootCause m:null="true" />
<d:SolutionType m:null="true" />
<d:TicketType m:null="true" />
<d:ChangeReason>Maintenance</d:ChangeReason>
<d:OutageScope m:null="true" />
<d:OutageManagerDescription m:null="true" />
<d:ProblemCategory m:null="true" />
<d:SubmissionType m:null="true" />
<d:TicketPriority m:type="Edm.Int32">3</d:TicketPriority>
<d:TicketStatus>_DELETED_</d:TicketStatus>
<d:UserID>MiPhillips</d:UserID>
<d:SubmitDate m:type="Edm.DateTime">2005-07-18T09:55:51</d:SubmitDate>
<d:UpdateDate m:type="Edm.DateTime">2005-07-19T09:26:41</d:UpdateDate>
<d:TicketAge m:type="Edm.Int32">1253</d:TicketAge>
<d:TicketUpdateAge m:type="Edm.Int32">1252</d:TicketUpdateAge>
<d:DescriptionCount m:type="Edm.Int32">2</d:DescriptionCount>
</m:properties>
</content>
</entry>Hi lilutchay,
If the SQL Server Integration Services is Enterprise or Developer edition of SQL Server 2008, we can use
Microsoft Connector Version 1.2 for Oracle to connect Oracle databases with version Oracle 9.2.0.4 or higher, Oracle 10.x or Oracle 11.x. If the SQL Server Integration Services is Enterprise or Developer edition of SQL Server 2012, we can use
Microsoft Connector Version 2.0 for Oracle to connect Oracle databases with version Oracle 9.2.0.4 or higher, Oracle 10.x or Oracle 11.x.
While if we want to connect to other Oracle version databases, we can use
OLE DB provider for Oracle which has been tested in SSIS labs and is recommended by Microsoft.
For the detail steps for Microsoft Connector for Oracle, we can refer to the first blog suggested by Deric. For more details about the use of connecting to oracle using Oracle Provider for OLEDB from SSIS, please refer to the blog below:
http://www.databasefun.com/archives/591
Reference:
SSIS with Oracle Connectors
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Connecting external middleware using xml-rpc
Hello together,
I'm not a SAP specialist. But I have to integrate an external middelware in the eh&s module. The middleware is offering a xml-rpc interface only.
Can anybody tell me best practices to connect an external middleware using xml-rpc?
My ideas are to develop a JCo for the R3 based systems an to use JCA for the NetWeaver systems.
Is that best practice?
Thanks and regards,
MatthiasHi,
I am trying to implement and run the sample application given under {Forte_Root}/install/examples/xmlsvr.
I have done all the required steps, but I am getting this error given below.
I am using soap-2_3 for SOAP and xerces-2_2_1 for XML parser, my server (Forte UDS)is on windows NT.
Please Note:- While connecting to the External web sites from my office, I need to connect through the firewalls and I need to give the user name and password to access the external web sites.
so my question is,
1. while connection to the server (Forte UDS SO) does it make connection to external website such as
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsd1="http://localhost/bankservices.xsd"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
and since i have to connect through the firefall and use the passwords, Am I not able to make connection?
2. Does any body of you had similar problem and how you are able to resolve this.
3. If I need to give user name and password, while making connection to external website, can you please tell, where I need to specify that. (Will it be in WSDL file etc)?
Your help is appreciated
Thank You,
Srikanth
-------------------ERROR---------------------------------
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.ConnectException: Connection refused: connect; targetException=java.lang.Il
legalArgumentException: Error opening socket: java.net.ConnectException: Connection refused: connect]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
at com.forte.xmlsvr.bankservices.BankSOProxy.GetAccountData(BankSOProxy.java:105)
at com.forte.xmlsvr.examples.BankClient.main(BankClient.java:12)
------------------------ERROR------------------------------------------------- -
How to create a report using XML data source from Crystal Report Designer
Hi,
Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
Thank you in advance.
Regards,
Chanaka
XML
<?xml version="1.0" encoding="UTF-8"?>
<CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
<CUSTOMER_ORDER_CONF_REP>
<ORDER_NO>D555809</ORDER_NO>
<PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
<AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
<CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
<CUST_NAME>Mr.Johan Matts</CUST_NAME>
<SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
<SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
<SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
<SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
<BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
<BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
<BILL_ADDR_3>Watthala</BILL_ADDR_3>
<BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
<CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
<CUSTOMER_FAX>112984639</CUSTOMER_FAX>
<CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
<ORDER_LINES>
<ORDER_LINE>
<LINE_NO>1</LINE_NO>
<CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
<PRICE_TOTAL>1200</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID xsi:nil="1"/>
<CHARACTERISTIC_VALUE xsi:nil="1"/>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>2</LINE_NO>
<CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1500</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>3</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>3</LINE_NO>
<CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
<PRICE_TOTAL>1000</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>4</LINE_NO>
<CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1350</PRICE_TOTAL>
<DISCOUNT>10</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>5</LINE_NO>
<CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
<PRICE_TOTAL>400</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>2</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
</ORDER_LINES>
</CUSTOMER_ORDER_CONF_REP>
</CUSTOMER_ORDER_CONF_REP_REQUEST>
XSD
<?xml version="1.0" encoding="UTF-8"?>
<?report module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
<xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
<xs:complexType>
<xs:all minOccurs="1" maxOccurs="1">
<xs:element name="CUSTOMER_ORDER_CONF_REP">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="50">
<xs:element name="ORDER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUST_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ORDER_LINE">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="39">
<xs:element name="LINE_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="CHARACTERISTIC_ITEM">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="6">
<xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>Hi Sourashree,
Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
1. New Report
2. From Create New Connection-> XML
3. Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
4. Provide the u201CLocal Schema Fileu201D -> Finish
Then I can see the following under XML
+ CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
And from here if I add the following three I can get all the fields I need to the report
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
Date
Order number Authorized code
Customer No
Name
Phone
Fax email
Shipping address 1 Billing Address 1
Shipping address 2 Billing Address 2
Shipping address 3 Billing Address 3
Shipping address 4 Billing Address 4
Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026 LINE_NO CUSTOMER_PART_NO CUSTOMER_PART_DESC SALE_UNIT_PRICE PRICE_QTY DISCOUNT PRICE_TOTAL
Characteristic details belonging to Order line 1 CHARACTERISTIC_ID 1 CHARACTERISTIC_VALUE1
CHARACTERISTIC_ID 2 CHARACTERISTIC_VALUE2
CHARACTERISTIC_ID 3 CHARACTERISTIC_VALUE3
Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 2
Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 3
Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 4
Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 5
How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
Regards,
Chanaka -
Crystal Report generation using XML
I have some reports that were created using XML and as I recall when I created them using CR v. 9 I used a connections called ADO (Xml) or something like that. On one of my machines I have CR XI and the only option available is XML and when I add a field from this connection it inserts: "{NewDataSet\TableName.FieldName}" however, previously when I used the ADO XML connections it only inserted {TableName.FieldName}. In the version 9 CR i was using the professsional version and in the version 11 CR it is still the professional version but I can't seem to create an XML connector that doesn't prefix the table/field with "NewDataSet". My request is two fold, first, can you please direct me to some articles that I can read to better understand how to generate CR from XML? My project is to generate the XML and then set the xml during runtime into the report using SetDataSource and then display the report using the CR viewing that I package and redist with my app. Secondly, why does the ADO XML connector not available in CR XI professional version and is there any way to get the CR v. 9 behaviour back?
Thanks,
MarcusHi, Markus
If you are planning to run reports from a .NET application, you need to have the Developer edition, not the professional.
The ADO.NET Driver is not installed by default. Go into Control Panel - Add / Remove programs, and chose Crystal Reports, and change. You can expand the Database drivers, and you should see the ADO.NET driver there. Note: you need to have the .NET framework installed for this to work.
Regards,
Jonathan -
Not getting Euro Symbol in PDF Report using XML Publisher
Hi,
We have developed an Oracle Report from Report Builder 6i and also a Template in RTF Format.
We are using XML Publisher to display our XML Output in PDF Format to Users..
There is a Field called Comments on Customer Transaction Form, where user can enter any characters and that we are querying in Report and displaying on the PDF Output.
Currently, the user entered a Euro Character on the comments section and that was not visible to user on PDF Report and replaced by a Question Mark as below:
"3% price reduction ?89.91, 20% marine"
When i am Querying to the Database, i am able to see the Euro Symbol, but when i checked the XML generated on the Unix Box for the Report. I found as below:
"3% price reduction \342\202\25489.91, 20% marine"
So, the Euro Symbol on the database is replaced by " \342\202\254" in the XML Output and ? in the PDF Outbut.
Please help ASAP.
Regards
Saurabh Jaiswalone way
value set based on view (view - select level id, chr(level) cl connect by level <= 500)
for example, chr(64) - @
so in xml you have code of @. sample xml is
<ROWSET>
<ROW>64</ROW>
</ROWSET>in rtf template pick
<?xdofx:chr(to_number(ROW))?>
select chr(14844588) from dual
€Edited by: AlexAnd on Aug 23, 2011 12:46 AM -
Introduction
There is a scenario that users want to create SSRS report, the xml used to retrieve data for the report is stored in table of database. Since the data source is not of XML type, when we create data source for the report, we could not select XML as Data Source
type. Is there a way that we can create a dataset that is based on data of XML type, and retrieve report data from the dataset?
Solution
In this article, I will demonstrate how to use xml stored in database as dataset in SSRS reports.
Supposing the original xml stored in database is like below:
<Customers>
<Customer ID="11">
<FirstName>Bobby</FirstName>
<LastName>Moore</LastName>
</Customer>
<Customer ID="20">
<FirstName>Crystal</FirstName>
<LastName>Hu</LastName>
</Customer>
</Customers>
Now we can create an SSRS report and use the data of xml type as dataset by following steps:
In database, create a stored procedure to retrieve the data for the report in SQL Server Management Studio (SSMS) with the following query:
CREATE PROCEDURE xml_report
AS
DECLARE @xmlDoc XML;
SELECT @xmlDoc = xmlVal FROM xmlTbl WHERE id=1;
SELECT T.c.value('(@ID)','int') AS ID,
T.c.value('(FirstName[1])','varchar(99)') AS firstName,
T.c.value('(LastName[1])','varchar(99)') AS lastName
FROM
@xmlDoc.nodes('/Customers/Customer') T(c)
GO
P.S. This is an example for a given structured XML, to retrieve node values from different structured XMLs, you can reference here.
Click Start, point to All Programs, point to Microsoft SQL Server, and then click Business Intelligence Development Studio (BIDS) OR SQL Server Data Tools (SSDT). If this is the first time we have opened SQL Server Data Tools, click Business Intelligence
Settings for the default environment settings.
On the File menu, point to New, and then click Project.
In the Project Types list, click Business Intelligence Projects.
In the Templates list, click Report Server Project.
In Name, type project name.
Click OK to create the project.
In Solution Explorer, right-click Reports, point to Add, and click New Item.
In the Add New Item dialog box, under Templates, click Report.
In Name, type report name and then click Add.
In the Report Data pane, right-click Data Sources and click Add Data Source.
For an embedded data source, verify that Embedded connection is selected. From the Type drop-down list, select a data source type; for example, Microsoft SQL Server or OLE DB. Type the connection string directly or click Edit to open the Connection Properties
dialog box and select Server name and database name from the drop down list.
For a shared data source, verify that Use shared data source reference is selected, then select a data source from the drop down list.
Right-click DataSets and click Add Dataset, type a name for the dataset or accept the default name, then check Use a dataset embedded in my report. Select the name of an existing Data source from drop down list. Set Query type to StoredProcedure, then select
xml_report from drop down list.
In the Toolbox, click Table, and then click on the design surface.
In the Report Data pane, expand the dataset we created above to display the fields.
Drag the fields from the dataset to the cells of the table.
Applies to
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012
Reporting Services 2014
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.I have near about 30 matrics. so I need a paging. I did every thing as per this post and it really works for me.
I have total four columns. On one page it should show three and the remaining one will be moved to next page.
Problem occurs when in my first row i have 3 columns and in next page if I have one columns then it show proper on first page but on second page also it gives me three columns insted of one. the first column data is exactly what I have but in remaining two
columns it shows some garbage data.
I have data like below.
Metric ColumnNo RowNo
1 1
1
2 2
1
3 3
1
4 1
2
so while grouping i have a row parent group on RowNo and Column group on ColumnNo.
can anyone please advice on this. -
11g R2(11.2.0.2)-Not able to connect using SID - Win 7 32 bit
Hi Experts,
I have installed 11gR2(11.2.0.2) on Win 7 32 bit OS.
I am able to start database and listener services without any problem. ORACLE_BASE and ORACLE_HOME variables are set.
I am even able to connect to database using "sqlplus user/pass". (With ORACLE_SID variable set)
However, sqlplus command hangs when I try to connect using SID "sqlplus user/pass@o11gr2".
(No error, after waiting for >20 minutes I have to kill the command.)
=================
Following in "C:\Oracle\product\11.2.0.2\dbhome_3\RDBMS\trace\o11gr2_ora_6352.trc"
- "2012-04-05 09:50:55.846: [ default]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\ocr cannot be opened. error 2"
Following in "C:\Oracle\product\11.2.0.2\dbhome_3\log\machinename\client"
- 2012-04-26 14:35:18.781: [ default][1216]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
[ CLSE][1216]clse_get_crs_home: Error retrieving OLR configuration [0] [Error opening olr registry key. The system cannot find the file specified.
"tnsping" returns OK for "tnsping o11gr2", "tnsping localhost", "tnsping 127.0.0.1", "tnsping 192.168.0.1"
Output of LSNRCTL:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 26-APR-2012 14:35:17
Uptime 0 days 0 hr. 4 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\Oracle\product\11.2.0.2\dbhome_3\network\admin\listener.ora
Listener Log File C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
Services Summary...
Service "O11GR2" has 2 instance(s).
Instance "O11GR2", status UNKNOWN, has 1 handler(s) for this service...
Instance "O11GR2", status READY, has 1 handler(s) for this service...
The command completed successfully
=================
This was working earlier. One day it stopped working all of a suddent and I am not able to connect using SID till now.
I tried re-installing in different home multiple times. But no luck even after disabling firewall completely.
Any suggest/help is greatly appreciated on this.------------------------------tnsping-------------------------
C:\>tnsping o11gr2
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 26-APR-2012 14:54:32
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\product\11.2.0.2\dbhome_3\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = J1009615W7LT.jda.corp.local)(PORT = 1521
))) (CONNECT_DATA = (SERVICE_NAME = O11GR2)))
OK (30 msec)
C:\>
-----------------------------ping-------------------------------
C:\>ping J1009615W7LT.jda.corp.local
Pinging J1009615W7LT.jda.corp.local [fe80::20c9:b748:311a:95e4%14] with 32 bytes of data:
Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
Reply from fe80::20c9:b748:311a:95e4%14: time<1ms
Ping statistics for fe80::20c9:b748:311a:95e4%14:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\>ping 10.60.200.221
Pinging 10.60.200.221 with 32 bytes of data:
Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
Reply from 10.60.200.221: bytes=32 time<1ms TTL=64
Ping statistics for 10.60.200.221:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\>
-----------------------------C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\alert\log.xml---------------------------------
</msg>
<msg time='2012-04-26T14:35:18.855-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2012-04-26T14:35:26.200-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:35:26 * ping * 0
</txt>
</msg>
<msg time='2012-04-26T14:35:43.204-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:35:43 * ping * 0
</txt>
</msg>
<msg time='2012-04-26T14:35:55.952-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
</txt>
</msg>
<msg time='2012-04-26T14:35:55.953-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:35:55 * service_register * O11GR2 * 0
</txt>
</msg>
<msg time='2012-04-26T14:37:08.732-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:37:08 * ping * 0
</txt>
</msg>
<msg time='2012-04-26T14:38:34.943-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:38:34 * (CONNECT_DATA=(SERVICE_NAME=O11GR2)(CID=(PROGRAM=C:\oracle\product\11.2.0.2\dbhome_3\bin\sqlplus.exe)(HOST=J1009615W7LT)(USER=j1009615))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::20c9:b748:311a:95e4%14)(PORT=51907)) * establish * O11GR2 * 0
</txt>
</msg>
<msg time='2012-04-26T14:39:23.627-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>WARNING: Subscription for node down event still pending
</txt>
</msg>
<msg time='2012-04-26T14:39:23.628-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:39:23 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=j1009615))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
</txt>
</msg>
<msg time='2012-04-26T14:54:25.550-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>System parameter file is C:\Oracle\product\11.2.0.2\dbhome_3\network\admin\listener.ora
</txt>
</msg>
<msg time='2012-04-26T14:54:25.551-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Log messages written to C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\alert\log.xml
</txt>
</msg>
<msg time='2012-04-26T14:54:25.552-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Trace information written to C:\Oracle\diag\tnslsnr\J1009615W7LT\listener\trace\ora_11640_3776.trc
</txt>
</msg>
<msg time='2012-04-26T14:54:25.553-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2012-04-26T14:54:25.553-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>
</txt>
</msg>
<msg time='2012-04-26T14:54:25.555-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Started with pid=11640
</txt>
</msg>
<msg time='2012-04-26T14:54:25.560-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
</txt>
</msg>
<msg time='2012-04-26T14:54:26.695-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2012-04-26T14:54:26.712-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2012-04-26T14:54:29.880-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J1009615W7LT.jda.corp.local)(PORT=1521)))
</txt>
</msg>
<msg time='2012-04-26T14:54:29.881-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:54:29 * service_register * O11GR2 * 0
</txt>
</msg>
<msg time='2012-04-26T14:54:32.090-04:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='J1009615W7LT'
host_addr='fe80::20c9:b748:311a:95e4%14'>
<txt>26-APR-2012 14:54:32 * ping * 0
</txt>
</msg>
Edited by: 850920 on Apr 26, 2012 11:59 AM -
Logon failed when connecting to XML data source over HTTP
I am trying to create a report using the standard report creation wizard:
1) new, standard report
2) create new connection
3) xml and web services
4) xml data source
When using the sample from the SAP site, it works fine:
http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml
I have an HTTP source that generates XML. I have a schema that describes this XML. If I save the XML to a local file it works fine as a data source with the schema. However, when I try to access the same data via HTTP, I get the following error:
Logon failed.
Details: Cannot open file
Server returned HTTP response code: 401 for URL: http://localhost:8004/report.xqy?Validate%20XML=0&Use%20WS-Security%20Config%20File=&WS-Security%20File%20Location
However, if I enter that URL in a browser it works fine. And even if I disable security on the HTTP source, it produces the same error.
Does the URL for the HTTP data source have to conform to some specific pattern? For example, must the URL end in .xml?
KellySorry Brian,
This is a public forum, if no one can help you do have the option to purchase a support case:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
Thank you
Don -
Newbie: trying to use XML in a Line Series.
So, I have a similar question to my last one, how to connect some XML from an RPC to a line series. The XML comes across fine. Problem is, why does it not work below?
The XML is simple, and I use dataProvider="{tsRPC.lastResult.TIMESERIES}"....then yField="DataPoint.Value"...but it does not work
I have seen some examples that use the "data.something"...where data must be some internal object. I tried various combinations of everything.
<TIMESERIES>
<DataPoint Date="38000" Value="34.51"/>
<DataPoint Date="38001" Value="35.06"/>
</TIMESERIES>
<mx:HTTPService id="tsRPC"
url="http://localhost:6574/Test2/TimeSeriesServer"
resultFormat="e4x">
</mx:HTTPService>
<mx:Panel title="LineChart and AreaChart Controls Example3"
height="491" width="729" layout="horizontal" x="350" y="84">
<mx:LineChart id="linechart" height="100%" width="100%"
paddingLeft="5" paddingRight="5"
showDataTips="true" dataProvider="{tsRPC.lastResult.TIMESERIES}">
<mx:horizontalAxis>
<mx:CategoryAxis id="ca" categoryField="DataPoint.Date" title="Date" />
</mx:horizontalAxis>
<mx:series>
<mx:LineSeries yField="DataPoint.Value" form="curve" displayName="Profit" lineStroke="{s1}"/>
</mx:series>
</mx:LineChart>
<mx:Legend dataProvider="{linechart}"/>
</mx:Panel>thanks paul.
I am learning now about e4x. For those who don't know...
http://www.actionscript.org/resources/articles/222/1/Intro-to-E4X/Page1.html
For those that don't know E4X stands for ECMAScript for XML and this specification introduces some new functionality that makes working with XML a lot simpler. New to AS3 are the XML, XMLList,QSpace and Namespace E4X classes. E4X not only makes life simpler but provides greater code consistency and familiarity (we can use dot syntax more similiar to ActionScript). -
"Error while using XML iview" with XML iview template
Our portal platform: HP-UX, WAS 6.40 JAVA, EP 6.0 SP14
We created an XML iview using XML iview template and configured the XML source URL with RSS feeder addresses such as"https://forums.sdn.sap.com/rss/rssmessages.jsp?forumID=41". And then select RSS to XHTMLB as the XML transformation format and save. When I try to preview the iview, I always got error "Error while using XML iview, please contact your system administrator". Here is the log and among which I found an error "java.net.UnknownHostException: news.163.com". Does this indicate that the Portal server is not able to interpret the address of the URL host?
#1.5#000F20196FBC0063000000080000623300043FCBAE39EA79#1196043941051#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_19##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
#1.5#000F20196FBC00630000000A0000623300043FCBAE39EDB0#1196043941051#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
#1.5#000F20196FBC005B0000001E0000623300043FCBCC12043B#1196044441749#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.java.lang.Class#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_37##0#0#Error##Java###Error openning connection when getting input stream for URL:http://news.163.com/special/00011K6L/rss_newstop.xml
[EXCEPTION]
#1#java.net.UnknownHostException: news.163.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:474)
at java.net.Socket.connect(Socket.java:424)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:522)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:499)
at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:378)
at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:391)
at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.OpenConnection(DataFetcher.java:117)
at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:295)
at com.sap.portal.httpconnectivity.transformationservice.PipeTransformer.transform(PipeTransformer.java:131)
at com.sap.portal.httpconnectivity.transformationservice.EPBaseTransformer.transform(EPBaseTransformer.java:257)
at com.sap.portal.httpconnectivity.transformationservice.TransformerService.transform(TransformerService.java:284)
at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.transform(XMLTransformationIView.java:222)
at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:87)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
And then I tried to upload an XML file on the portal server through KM and created another XML iview. I got the same error message "Error while using XML iview....". But I found that the log contained different message:
#1.5#000F20196FBC0059000000090000623300043FCC25CCAC4B#1196045947167#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_34##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
#1.5#000F20196FBC00590000000B0000623300043FCC25CCAEDC#1196045947168#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_34##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
#1.5#000F20196FBC005C000000180000623300043FCC5EB48FCF#1196046901893#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
#1.5#000F20196FBC0066000000020000623300043FCC61683438#1196046947221#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
#1.5#000F20196FBC00570000000D0000623300043FCC7B6DCFB3#1196047383789#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.java.lang.Class#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Java###Error openning connection when getting input stream for URL:http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
[EXCEPTION]
#1#java.io.IOException: Server returned HTTP response code: 401 for URL: http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at sun.net.www.protocol.http.HttpURLConnection$3.run(HttpURLConnection.java:840)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:834)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:601)
at com.sapportals.portal.ivs.http.HttpClient.getResponseInputStream(HttpClient.java:615)
at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.getInputStreamResponse(DataFetcher.java:182)
at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:296)
at com.sap.portal.httpconnectivity.transformationservice.PipeTransformer.transform(PipeTransformer.java:131)
at com.sap.portal.httpconnectivity.transformationservice.EPBaseTransformer.transform(EPBaseTransformer.java:257)
at com.sap.portal.httpconnectivity.transformationservice.TransformerService.transform(TransformerService.java:284)
at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.transform(XMLTransformationIView.java:222)
at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:87)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://bfepdev.bf.ctc.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Links/rss.xml
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:794)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:395)
at com.sapportals.portal.pb.contentservice.fetcher.DataFetcher.OpenConnection(DataFetcher.java:117)
at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.getInputStream(HTTPStreamSource.java:295)
... 37 more
#1.5#000F20196FBC00570000000E0000623300043FCC7B6DD77E#1196047383800#com.sap.portal.httpConnectivity.transformationService#sap.com/irj#com.sap.portal.httpConnectivity.transformationService.transformerservice#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error##Plain###Error during transformation using pipe: transformer-com.sap.portal.transformationservice-RSS_TO_XHTMLB-1.0;transformer-com.sap.portal.transformationservice-XHTMLBSAXHandler-1.0#
#1.5#000F20196FBC0057000000100000623300043FCC7B6DD9C8#1196047383801#com.sap.portal.httpConnectivity.xmlIViewsRuntime#sap.com/irj#com.sap.portal.httpConnectivity.xmlIViewsRuntime#Administrator#1176##bfepdev_EPD_5623650#Administrator#7a7283a09bc511dca79a000f20196fbc#SAPEngine_Application_Thread[impl:3]_30##0#0#Error#1#/System/Server#Plain###transform - exception raised during transformation. Make sure that the input source is valid and that all used transformers exists.#
Anyone has any idea on this? thanks.Hi Yepin Jin,
I am facing the same issue did you solved it?
Regards,
Orlando Covault -
Using XML to import/export large datasets
Hi,
I have a large customer who is using serveral aplications which
exchange data. Now they use MQUE Series to put some data on the
line. Each external application has his own interface.
We would like to use one interface which uses XML and depending
on what is in de xml-document, writes it in different Oracle
databases.
On a daily bases there must be created 500.000 records in de
database, so performance is a hot issue.
What are the possibilities and needed configuration (Oracle
8...i) and how reliable it is going to be ?
Suppose we want to use as much as pl/sql as possible.
Thanks for any feedback,
Ed
[email protected]
nullEd Somers (guest) wrote:
: Hi,
: I have a large customer who is using serveral aplications
which
: exchange data. Now they use MQUE Series to put some data on
the
: line. Each external application has his own interface.
: We would like to use one interface which uses XML and
depending
: on what is in de xml-document, writes it in different Oracle
: databases.
: On a daily bases there must be created 500.000 records in de
: database, so performance is a hot issue.
: What are the possibilities and needed configuration (Oracle
: 8...i) and how reliable it is going to be ?
: Suppose we want to use as much as pl/sql as possible.
: Thanks for any feedback,
: Ed
: [email protected]
You should check out the Oracle Integration Server which was
just announced at Openworld. It is ax XML Messaging Hub that
incorporates workflow and has an adapter SDK to connect to your
applications. It uses JMS as the envelope and XML as the payload.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null
Maybe you are looking for
-
Hi Gurus, I have a report where i have my GL account hierarchy on my rows and my key figure in column. i have posting period on top of my key figure and my client wants to display the report as jan, feb, mar etc till dec. the problem is when i run it
-
Can't Open Adobe Captivate 4 File in Captivate 5.5
Hi, Anything special I should try or be aware of? Whenever I try to open my 2008 Captivate 4 files in Captivate 5.5, I get the familiar can't-do-that-for-some-reason error message. (The one that suggests the file is already opened, or it was unzipped
-
Why can't I download Acrobat Pro?
I am trying to install a purchase product, Acrobat Pro. It is paid for. When I follow your instructions I come to a download command. I click on it and i end up at a screen that tells me I don't have the version of Explorer it wants. It says I ha
-
My iTunes library has been replaced with my husband's iTunes library on our iMac. How do I get my iTunes library from my iPhone back onto my iTunes library on the iMac? Help!!!
-
I need to set up a fixture list/ results and linked league table in Numbers. I know it is possible in excel and open office, but I want to stay Apple friendly. I have tried to import the excel spreadsheet and Numbers 09 states it can not open it. Are