EDIT XML message
Hi,
We have some errored XML messages, we need to correct these messages in SXMB_MONI and restart.
I understand that SP19 has enabled this functionality in the editor. However we are on SP15 and we have to urgently fix the issue.
Any ideas ? Is there SAP note?
thank you
Umang
One option,
Use Runtime work bench and manually send the message from the runtime work bench with the corrected payload.
RWB --> Integration Engine --> Test Message.
Fill the sender details as is in the Receiver Determination of your interface, give the correct payload, user id and password and message should go through.
But like mentioned, if in production, make sure you know what you are doing and more importantly are authorized to do so.
Regards
Bhavesh
Similar Messages
-
Hi,
We have some errored XML messages, we need to correct these messages in SXMB_MONI and restart from BI. We are on BI 7 SP15.
I understand that SP19 has enabled this functionality in the editor. However we are on SP15 and we have to urgently fix the issue.
Any ideas ? Is there SAP note?
thank you
UmangOne option,
Use Runtime work bench and manually send the message from the runtime work bench with the corrected payload.
RWB --> Integration Engine --> Test Message.
Fill the sender details as is in the Receiver Determination of your interface, give the correct payload, user id and password and message should go through.
But like mentioned, if in production, make sure you know what you are doing and more importantly are authorized to do so.
Regards
Bhavesh -
SXMB_MONI-- Processing Statistcs - XML messages in "Being Edited" State
Under SXMB_MONI--> Processing Statistics, I see that I have a large number of messages in a state of "XML Message being edited". I need to delete these messages out of my system. The regular delete jobs do not work because they are not in a state of Complete Successfully or in error.
These are causing my persistence layer to be above 100%. Any input is appreciated. All of the online help mentions every statistic on this page except for the "XML message being edited".
Thanks!delete messages in SXMB_MONI
For step by step procedure of how to archieve and delete messages in XI go through the urls:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50 -
XML Message Not Generated in SUS SRM 4.0
Hi !
In Supplier Self Service(SUS) SRM 4.0 we did a
development for ASN creation through file upload .
It's a <b>BSP</b> Application .
Vendor uploaded the file for ASN creation .
Their generated ASN No. which are in Standard tables.
But for Some of them No XML Messages Genrated which
suppose to pass backend SAP R/3 .
Anybody having any idea where exactly these XML
Messages are? We have searched through SXMB_MONI
& checked all qRFCs.
But unable to find their XML messages.
Looking forward your ideas.
Regards
Sachin S M
<b></b>
Message was edited by: Sachin S MHi,
Can you tell me if the next scenario is possible with EBP 5.0 (WAS 6.40) but without XI.
We need to develop an application to allow the supplier to upload an Invoice in XML and save it in EBP.
I was thinking on using a BSP application with an input field to browse local PC and pick up an Invoice XML file. Then post the XML and parse it in the BSP application and save the invoice in EBP.
Do you have any experience on it or some documentation?
We have EBP 5.0 but don't want to install an SAP XI.
Thank you -
XML message as input for webservice gives deserialization error
Hi,
jDeveloper 10.1.3
BPEL PM 10.1.2.0.2
Carrental example
Problem:
For the Business Rule Engine I did the Carrental XML example. Based on the java application that connects to the BR engine, I created a webservice in jDeveloper and deployed it to my localhost AS 10.1.3. The webservice has a testRule method that accepts a String buf as input. For now, the only thing the webservice does is return a 'do nothing' string. This works fine:
When deployed the testpage generates the following SOAP message:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://carrental/types/">
<ns1:testRuleElement>
<ns1:buf>my xml message</ns1:buf>
</ns1:testRuleElement>
</soap:Body>
</soap:Envelope>
The SOAP response is:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://carrental/types/"><env:Body><ns0:testRuleResponseElement><ns0:result>do nothing...</ns0:result></ns0:testRuleResponseElement></env:Body></env:Envelope>
In BPEL Designer I create a new asynchronous process ValidateBR, with a partnerlink for the webservice, based on the following WSDL file:
<definitions
name="Rent"
targetNamespace="http://carrental/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://carrental/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns0="http://carrental/types/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://carrental/types/"
elementFormDefault="qualified" xmlns:tns="http://carrental/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<complexType name="testRule">
<sequence>
<element name="buf" type="string" nillable="true"/>
</sequence>
</complexType>
<complexType name="testRuleResponse">
<sequence>
<element name="result" type="string" nillable="true"/>
</sequence>
</complexType>
<complexType name="version">
<sequence/>
</complexType>
<complexType name="versionResponse">
<sequence>
<element name="result" type="string" nillable="true"/>
</sequence>
</complexType>
<element name="testRuleElement" type="tns:testRule"/>
<element name="testRuleResponseElement" type="tns:testRuleResponse"/>
<element name="versionElement" type="tns:version"/>
<element name="versionResponseElement" type="tns:versionResponse"/>
</schema>
</types>
<message name="Rent_testRule">
<part name="parameters" element="tns0:testRuleElement"/>
</message>
<message name="Rent_testRuleResponse">
<part name="parameters" element="tns0:testRuleResponseElement"/>
</message>
<message name="Rent_version">
<part name="parameters" element="tns0:versionElement"/>
</message>
<message name="Rent_versionResponse">
<part name="parameters" element="tns0:versionResponseElement"/>
</message>
<portType name="Rent">
<operation name="testRule">
<input message="tns:Rent_testRule"/>
<output message="tns:Rent_testRuleResponse"/>
</operation>
<operation name="version">
<input message="tns:Rent_version"/>
<output message="tns:Rent_versionResponse"/>
</operation>
</portType>
<binding name="RentSoapHttp" type="tns:Rent">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="testRule">
<soap:operation soapAction="http://carrental//testRule"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal" parts="parameters"/>
</output>
</operation>
<operation name="version">
<soap:operation soapAction="http://carrental//version"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal" parts="parameters"/>
</output>
</operation>
</binding>
<service name="Rent">
<port name="RentSoapHttpPort" binding="tns:RentSoapHttp">
<soap:address location="http://localhost:7780/Rules-rent-context-root/RentSoapHttpPort"/>
</port>
</service>
</definitions>
I defined the process variable inputVariable to be defined based on the carrental.xsd schema. I assign the inputVariable to the 'buf' parameter of the webservice as shown below in the ValidateBR.bpel
<!--
// Oracle JDeveloper BPEL Designer
// Created: Mon Mar 27 16:02:22 CEST 2006
// Author: haanrw
// Purpose: Asynchronous BPEL Process
-->
<process name="ValidateBR" targetNamespace="http://xmlns.oracle.com/ValidateBR" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://rules.oracle.com/carrental" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns3="http://carrental/types/" xmlns:ns2="http://carrental/" xmlns:client="http://xmlns.oracle.com/ValidateBR" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
<partnerLinks><!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:ValidateBR" myRole="ValidateBRProvider" partnerRole="ValidateBRRequester"/>
<partnerLink name="CheckBR" partnerRole="Rent_Role" partnerLinkType="ns2:Rent_PL"/>
</partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
<variables><!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable" messageType="client:ValidateBRRequestMessage"/><!-- Reference to the message that will be sent back to the
requester during callback
-->
<variable name="outputVariable" messageType="client:ValidateBRResponseMessage"/>
<variable name="InvokeValidateBR_testRule_InputVariable" messageType="ns2:Rent_testRule"/>
<variable name="InvokeValidateBR_testRule_OutputVariable" messageType="ns2:Rent_testRuleResponse"/>
</variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
<sequence name="main"><!-- Receive input from requestor.
Note: This maps to operation defined in ValidateBR.wsdl
-->
<receive name="receiveInput" partnerLink="client" portType="client:ValidateBR" operation="initiate" variable="inputVariable" createInstance="yes"/><!-- Asynchronous callback to the requester.
Note: the callback location and correlation id is transparently handled
using WS-addressing.
-->
<assign name="Assign_1">
<copy>
<from variable="inputVariable" part="payload" query="/ns1:repository"/>
<to variable="InvokeValidateBR_testRule_InputVariable" part="parameters" query="/ns3:testRuleElement/ns3:buf"/>
</copy>
</assign>
<invoke name="InvokeValidateBR" partnerLink="CheckBR" portType="ns2:Rent" operation="testRule" inputVariable="InvokeValidateBR_testRule_InputVariable" outputVariable="InvokeValidateBR_testRule_OutputVariable"/>
<invoke name="callbackClient" partnerLink="client" portType="client:ValidateBRCallback" operation="onResult" inputVariable="outputVariable"/>
</sequence>
</process>
When I deploy the process and initiate a testinstance from the BPEL console, the assign looks as follows:
<InvokeValidateBR_testRule_InputVariable>
<part name="parameters" >
<testRuleElement>
<buf>
<driver>
<driver-license-number>15-PS-FZ</driver-license-number>
<name>Rob de Haan</name>
<age>39</age>
<vehicle-type>Saab</vehicle-type>
<license-type>B</license-type>
<pre-convictions>0</pre-convictions>
<pre-accidents>0</pre-accidents>
<able-to-drive>true</able-to-drive>
</driver>
</buf>
</testRuleElement>
</part>
</InvokeValidateBR_testRule_InputVariable>
The InvokeValidateBR shows the following error:
<remoteFault>
<part name="code" >
<code>Client</code>
</part>
<part name="summary" >
<summary>when invoking endpointAddress 'http://localhost:7780/Rules-rent-context-root/RentSoapHttpPort', caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: {http://rules.oracle.com/carrental}driver</summary>
</part>
<part name="detail" >
<detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: {http://rules.oracle.com/carrental}driver faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: {http://rules.oracle.com/carrental}driver at org.collaxa.thirdparty.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.collaxa.thirdparty.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.collaxa.thirdparty.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.collaxa.thirdparty.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226) at org.collaxa.thirdparty.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645) at org.collaxa.thirdparty.apache.axis.Message.getSOAPEnvelope(Message.java:424) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2754) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NL-GRH-L120981 </detail>
</part>
</remoteFault>
FYI: the webservice only contains a return "do nothing"
Question:
What is the proper way to assign an XML message to the web service?
Any help would be appreciated.
Rob
Message was edited by:
[email protected]Hi,
Reading only is not possible..
I will be still more clear in my question this time..
I have deployed my bpel. My receiveInputVariable is of type xsd:string.
So when i run the bpel in my console, i will be asked to give input as string data.
So when i go to the XMLView, it will be like this.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/Sabari_POC_Appln/DOM_Parser/ConvertToBLOB">
<ns1:process>
<ns1:input></ns1:input>
</ns1:process>
</soap:Body>
</soap:Envelope>
Now, i am going to give my input like this. --- which leads to error.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/Sabari_POC_Appln/DOM_Parser/ConvertToBLOB">
<ns1:process>
<ns1:input>
*<?xml version="1.0" encoding="UTF-8"?>*
*<projects>*
*<project id = "BP001">*
*<name>Banking Project</name>*
*<start-date>Jan 10 1999</start-date>*
*<end-date>Jan 10 2003</end-date>*
*</project>*
*<project id = "TP001">*
*<name>Telecommunication Project</name>*
*<start-date>March 20 1999</start-date>*
*<end-date>July 30 2004</end-date>*
*</project>*
*<project id = "PP001">*
*<name>Portal Project</name>*
*<start-date>Dec 10 1998</start-date>*
*<end-date>March 10 2006</end-date>*
*</project>*
*</projects>*
</ns1:input>
</ns1:process>
</soap:Body>
</soap:Envelope>
This xml is not accepted as string input.. so kindly suggest me some other solution.
I also tried.. like.. making my receiveInputVariable of type xsd:anyType, it also dint help. same error occurred.
Thanks,
Sabarisri. N
Edited by: Sabarisri N on Jul 20, 2011 1:03 PM -
Processing large XML messages ( 100Mb) in PI 7.1
Hi All
I have PI 7.1 & need to process & create Large XML messages with not so extensive mapping & direction is from SAP to FTP server.
I created the test scenario using Consumer Proxy in order to check how large message our PI server can handle, so till 100Mb it went fine but anything above 100Mb got stuck in R3 server Integration engine only. When I checked the message in MONI of R3 server, initially it gives "Automatic Restart" status & after the retry limit was over it gave me "System Error-after automatic restart" with the error status as -->
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Integration Server
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
<SAP:P1>110</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error while receiving by HTTP (error code: 110, error text: )</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
Can you let me know how can we further tune our SAP R3 server to process the large files as the message is getting stuck in R3 server (at HTTP_SEND) only it is not even reaching PI server, also breaking message into small messages cannot be implemented as we need to send the file in ONE go only.
Regards
Lalit
Edited by: Lalit Chaudhary on May 5, 2009 6:05 PM
Edited by: Lalit Chaudhary on May 6, 2009 2:49 AMso till 100Mb it went fine but anything above 100Mb got stuck in R3 server Integration engine only
all the systems are configured with a default timeout parameter....it determines till what time a system should try processing a file...if this is exceeded then you may get the mentioned error....
So what you can do is try increasing the timeout of your system....so that you give the system some more time for processing the file
Please note that increasing the timeout would mean decreasing performance
To check how much is the impact see the performance before increasing the timeout and after increasing..
If you need some help in file processing in XI:
/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
Hope it helps.
regards,
Abhishek. -
Archiving and Deleting of XML Messages in SAP NetWeaver PI 7.31 single stack
Hello my XI friends!
Need step by Step Guide to Archiving
and Deleting of XML Messages in
SAP NetWeaver PI 7.31 single stack
Similar to these instructions
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0afdd69-a8a7-2d10-7e9a-cbf6fa21c5a7?quicklink=index&overridelayout=true
Regards,
RinazPlease check the below blog for archiving java only-(XMLDAS)
http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/11/16/aae-archiving-in-sap-pi-711-with-xmldas
For deletion there is standard delete job..
https://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/b2e0036b156ff4e10000000a42189b/frameset.htm
Message was edited by: Hareesh Gampa -
Outbound Proxy - No XML message seen !!!!!!!!!!
Hi All
I am trying to use outbound ABAP proxy from an R/3 system . I have written a Z program to triger the execute_asynchronous method of the proxy generated. Now when i go to see the SXMB_MONI txn to see any XML message flow i dont see anything .
Any pointers so to what need to be perfect to see a XML message is the monitor for an outbound proxy??
Thanks in advance for your help
rohanHi,
Generally the message goes in the schedule mode when the target system is not available or the connection to target system is broken. Pl check the target system.
You can use this weblog as checklist.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
Thanks,
Prateek
Message was edited by: Prateek Shah -
How to remove XML messages from Integration Engine
Hi,
i had created file - XI -file scenario activated it and check messages using tcode SXMB_MONI .Error messages coming after every minute as i set polling intervals to 60 seconds .Now i had deleted related objects from IR and ID but still XML messages coming in ....please anyone can help to stop this scenario anyhow.Dear Jai ,
i had checked everything before this and even i have checked now and i had created that scenaio by my own userid and passwd. Checked sender interface, reciever interface in SXMB_MONI it's the same which i had given name to them . Even we people are surprised that after deleting all the things in IR and ID . i don't know exactly why it is coming but what i am guessing is that after activating the scenarios it might get executed from XI runtime cache and there is no dependency on IR and ID objects . so what i had done that i completely refreshed the XI Runtime Cache by using tcode SXI_CACHE but it's still not working that way also.
Message was edited by:
ashwin dhakne
Message was edited by:
ashwin dhakne -
Send XML Message via HTTP and Receive Response
Hello,
We have a scenario where we need to update Currency Exchange Rates in R/3 via a 3rd party called Oanda. I'd like to use XI for this Interface, if possible.
Basically, we need to send XML over HTTP. Here's the URL and the XML we need to use for our POST (I'll need to perform the look-up for about 15 currency codes - I plan on using a BPM process to loop through each currency code specified in a flat file):
http://www.oanda.com/cgi-bin/fxml/fxml?fxmlrequest=<CONVERT><CLIENT_ID>TestAccount1</CLIENT_ID><EXCH>USD</EXCH><EXPR>CAD</EXPR><DATE>03/25/2008</DATE></CONVERT>
And the reponse looks like this:
<RESPONSE>
<EXPR>CAD</EXPR>
<EXCH>USD</EXCH>
<AMOUNT>1</AMOUNT>
<NPRICES>1</NPRICES>
<CONVERSION>
<DATE>Mon, 24 Mar 2008 20:00:00 GMT</DATE>
<ASK>1.0257</ASK>
<BID>1.0251</BID>
</CONVERSION>
</RESPONSE>
I plan on mapping each reponse to BAPI_EXCHRATE_CREATEMULTIPLE, using BPM.
So my question is this: Should I use the HTTP adapter for the out going POST to Oanda? If so, would the HTTP adapter be consider the sender or the receiver? Also, how would the XML message be automatically appended to the end of the URL (i.e., after the fxmlrequest parameter)? I guess I'm a little confused on how to use the HTTP adapter... Are there any blogs that discuss this type of scenario?
Thanks,
MattHi guys,
I have few concerns for setting up this scenario.
1). I have created a data type for request mapping, and teste the mapping.
The output looks like below:
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:MT_CONVERT xmlns:ns1="http://test.com/ExchngRate">
<CONVERT>
<CLIENT_ID>test</CLIENT_ID>
<EXPR>CAD</EXPR>
<EXCH>USD</EXCH>
<DATE>10/21/2009</DATE>
<AMOUNT>1</AMOUNT>
</CONVERT>
</ns1:MT_CONVERT>
How to pass only
<CONVERT>
<CLIENT_ID>test</CLIENT_ID>
<EXPR>CAD</EXPR>
<EXCH>USD</EXCH>
<DATE>10/21/2009</DATE>
<AMOUNT>1</AMOUNT>
</CONVERT>
to the receiver HTTP adapter.
2) I am using URL address in the receiver HTTP adapter.
Target Host: www.oanda.com
Path Prefix: cgi-bin/fxml/fxml?fxmlrequest=
What is will be Service Number?
Looking forward for you help. Your help is greatly appreciated.
Thanks,
Namadev
Edited by: Namadev Chillal on Oct 21, 2009 5:35 PM -
Can you view and edit XML documents in dreamweaver?
Yes;
"paul_carron" <[email protected]> wrote in
message
news:ev00cn$ila$[email protected]..
> Can you view and edit XML documents in dreamweaver? -
How to use oracle TRIM functionality in XML messages
When i am selecting data from XML message as per below query, it is returing values correctly.
SELECT extractValue(x.column_value, '/DETAILS/EMPID') as emp_id,
extractValue(x.column_value, '/DETAILS/NAME') as emp_name,
extractValue(x.column_value, '/DETAILS/SALARY') as emp_sal
FROM TABLE(
XMLSequence(
Extract( xmltype('<DETAILS><EMPID>2482</EMPID><NAME>SMITH</NAME><SALARY>4854</SALARY><LOC>CHENNAI</LOC></DETAILS>'),'/DETAILS'))) x;
But when i am selecting data by using below query some additional spaces also coming with column values
SELECT extractValue(x.column_value, '/DETAILS/EMPID') as emp_id,
extractValue(x.column_value, '/DETAILS/NAME') as emp_name,
extractValue(x.column_value, '/DETAILS/SALARY') as emp_sal
FROM TABLE(
XMLSequence(
Extract( xmltype('<DETAILS>
<EMPID>
2482
</EMPID>
<NAME>
SMITH
</NAME>
<SALARY>
4854
</SALARY>
<LOC>
CHENNAI
</LOC>
</DETAILS>'),'/DETAILS'))) x;
Please suggest how to remove additional spaces by using second query.
Thanks
Vikrant Jain.It appears that the ability to use XPath functions in the PATH expression doesn't work prior to 11g :
Connecté à :
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> var xmldoc varchar2(4000)
SQL> begin :xmldoc := '<DETAILS>
2 <EMPID>
3 2482
4 </EMPID>
5 <NAME>
6 SMITH
7 </NAME>
8 <SALARY>
9 4854
10 </SALARY>
11 <LOC>
12 CHENNAI
13 </LOC>
14 </DETAILS>';
15 end;
16 /
Procédure PL/SQL terminée avec succès.
SQL> SELECT emp_id, emp_name, emp_sal
2 FROM XMLTable('/DETAILS'
3 PASSING XMLTYPE(:xmldoc)
4 COLUMNS
5 emp_id NUMBER PATH 'normalize-space(EMPID)',
6 emp_name VARCHAR2(20) PATH 'NAME',
7 emp_sal VARCHAR2(20) PATH 'SALARY');
SELECT emp_id, emp_name, emp_sal
ERREUR à la ligne 1 :
ORA-31011: Echec d'analyse XML
ORA-19202: Une erreur s'est produite lors du traitement la fonction XML (
LPX-00601: Invalid token in: '/*/normalize-space(EMPID)')Using it in XQuery will work though :
SQL> SELECT *
2 FROM XMLTable(
3 'for $i in /DETAILS
4 return element r
5 {
6 for $j in $i/*
7 return element {local-name($j)} {normalize-space($j)}
8 }'
9 PASSING XMLTYPE(:xmldoc)
10 COLUMNS
11 emp_id NUMBER PATH 'EMPID',
12 emp_name VARCHAR2(20) PATH 'NAME',
13 emp_sal NUMBER PATH 'SALARY'
14 );
EMP_ID EMP_NAME EMP_SAL
2482 SMITH 4854 -
OAG 7.x XML messages over AS2
Hi All,
Need some help for the below issue.
We will be receiving OAG Xml messages over AS2 from our trading partners. I have setup the Trading partner Agreement but the message is not picking any agreement. I believe we need to set the below fields in the Document Definition.
Identification Expression (XPath)
Identification Value
I have tried different values for these fields but it is not working. Could someone please suggest if you have done this and how you handled this. Or someone please throw some idea for me to try another approach.
Thanks
Ismail.Here is the XML Payload. Sorry it is a big payload. I am not getting any error when I upload the message to AS2. In B2B it shows the message received but the sender fields are blank.
I used below values in the Document definition.
Identification Expression (XPath) ==> //*[local-name()='TASK']/text()
Identification Value ==> POISSUE
The task element is 10 - 12 lines below in the paylod under SENDER.
<?xml version="1.0" encoding="UTF-8" standalone='no'?>
<!DOCTYPE PROCESS_PO_007 SYSTEM "003_process_po_007.dtd">
<!-- Oracle eXtensible Markup Language Gateway Server -->
<PROCESS_PO_007>
<CNTROLAREA>
<BSR>
<VERB value="PROCESS">PROCESS</VERB>
<NOUN value="PO">PO</NOUN>
<REVISION value="007">007</REVISION>
</BSR>
<SENDER>
<LOGICALID/>
<COMPONENT>PURCHASING</COMPONENT>
<TASK>POISSUE</TASK>
<REFERENCEID>DEVB.MyCompanyIND.PRI:oracle.apps.po.event.xmlpo:48135-42957</REFERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>AL32UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION" type="T" index="1">
<YEAR>2013</YEAR>
<MONTH>03</MONTH>
<DAY>19</DAY>
<HOUR>07</HOUR>
<MINUTE>51</MINUTE>
<SECOND>56</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<PROCESS_PO>
<POORDERHDR>
<DATETIME qualifier="DOCUMENT" type="T" index="1">
<YEAR>2013</YEAR>
<MONTH>03</MONTH>
<DAY>19</DAY>
<HOUR>07</HOUR>
<MINUTE>51</MINUTE>
<SECOND>47</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<OPERAMT qualifier="EXTENDED" type="T">
<VALUE>1578</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUMDEC>
<UOM/>
</OPERAMT>
<POID>500378</POID>
<POTYPE>STANDARD</POTYPE>
<ACKREQUEST>D</ACKREQUEST>
<CONTRACTB/>
<CONTRACTS/>
<DESCRIPTN/>
<NOTES index="1"/>
<PORELEASE/>
Edited by: 957748 on Apr 2, 2013 12:50 PM
Edited by: 957748 on Apr 2, 2013 12:51 PM -
CCMS alert on XI interface monitoring : Error status of XML Messages
Hello Everyone,
Please can anyone let me know on how we can setup ccms alert monitoring on tcode: SXMB_MONI for XML messages which are in error status. Do we have any MTE class available in XI system ?
Please share your expertise on this ..
thank you !
Regards,
Tushar Rathi
Edited by: Tushar Rathi on Mar 23, 2011 9:24 AMHello Everyone,
Please can anyone let me know on how we can setup ccms alert monitoring on tcode: SXMB_MONI for XML messages which are in error status. Do we have any MTE class available in XI system ?
Please share your expertise on this ..
thank you !
Regards,
Tushar Rathi
Edited by: Tushar Rathi on Mar 23, 2011 9:24 AM -
Triggering and view XML messages in SAP AMI
We have configured the AMI. Also setup the AMI enabled devices.
We have created Meter Reading Orders for the periodic meter reading as bulk .
But the creation of MROs does not trigger creation of XML messages.
We found the Enterprise Service responsible for meter reading order Request Smart Meter Meter Reading Document Creation as Bulk SmartMeterMeterReadingDocumentERPBulkCreateRequest_Out
But the XML messages are not getting generated on MRO creation. Also no XML message generated on AMI enabled device creation. Would like to know where we can view the generated XML and also trouble shoot.
Thanks in advance for the information
VijayHi,
Thanks a lot for the informaiton , I could go into SXMB_MONI with date and time stamp to view the XML message, still i am not able to view it.
Is there any thing specific needs to be configured to have the XML message in SXMB_MONI
The process we are following is we are creating periodic meter reads and using the transaction ELMU Customized to our needs to trigger the SmartMeterMeterReadingDocumentERPBulkCreateRequest_Out . Are we following the right approach.
Can you provide the check points.
thanks,
Vijay
Edited by: vijay gunti on May 26, 2010 8:39 AM
Edited by: vijay gunti on May 26, 2010 8:46 AM
Edited by: vijay gunti on May 26, 2010 8:49 AM
Maybe you are looking for
-
Having a problem setting up apache...
Fisrt off, let me say this is my first stabe at this, so bear with me. I set up apache, php and mysql, and pretty much successfully. I can connect to my web server via IP. But if I try to connect to it via the hostname it fails. I followed the direct
-
Unable to define Radio Button Text field & unable to change column position
Hi, While designing a screen in Screen Painter, I am unable to define Radio Button Text field as this option is not there in Graphical Element. And also I want to specify the starting position of column of that element different from the default valu
-
i just bought a creative gb zen nano plus. just wondering if i take it over my friends house to get a 700mb .avi file do i have to install the software on his computer or will it show up as a jump or flash dri've.he all has software on his computer f
-
W520 Disk clicking when docked into mini-dock
When I have my W520 docked into a specific mini-dock, the hard disk will click periodically. However, I when I dock into another mini-dock (same exact model), it doesn't do this. Any ideas of why or what to look for. Why would one mini-dock cause
-
Holy cow! I thought maybe I was having a problem adjusting to the Droid 3 keys but this thing is obviously full of bugs. The slide out keyboard has a mind of it's own. I end up with all sorts of symbols, unintended periods and jibberish. After search