How to view SOAP header generated from XML Gateway  ?

Hi All,
I am using XML Gateway integrate EBS and trading partner using web services.
Currently I am having problem with including wsse authorization information in the outbound message of EBS.
I am able to view the payload in the transaction monitor but not able to check the SOAP header of message.
How to view the current SOAP header generated by EBS and/or include the wsse information which are required by recipient trading partners ?
Thanks in advance for your help.
Regards,
Ram

No, this XML is the whole XI message and it is not sent by the SOAP (axis) adapter. If you want to see exactly what is sent, try checking it with the TCPGateway tool as advised on the SOAP FAQ note
[Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597]
Under question "Q: How can I trace the whole message?". Otherwise, on SXMB_MONI, try selecting the PAYLOAD item on the left menu and, on the payload on the right, right-click and select "VIEW SOURCE".

Similar Messages

  • How to view SOAP Header

    Hi Gurus,
    i have a simple questions to you (hopefully).
    At the moment i am working with SOAP AXIS Receiver Adapter because i need to add <wsse> Tags to my SOAP Header. (according to blog: /people/pravesh.puria/blog/2009/08/26/adding-usernametoken-timestamp-in-soap-adapter-using-axis-framework)
    I get no error for this configuration but i am wondering where i can have a look at the SOAP Header that will be transfered to the target url.
    when i go to CommChan-Monitoring and have a look into Message-Details-->Message-Content i only can view "SOAP Document" this looks to me like the internal SOAP Envelope, but this is not going out the target url right? And i also can have a look on the payload, but  there is no SOAP Header at all.
    thank you for your help
    Best Regards
    Udo

    No, this XML is the whole XI message and it is not sent by the SOAP (axis) adapter. If you want to see exactly what is sent, try checking it with the TCPGateway tool as advised on the SOAP FAQ note
    [Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597]
    Under question "Q: How can I trace the whole message?". Otherwise, on SXMB_MONI, try selecting the PAYLOAD item on the left menu and, on the payload on the right, right-click and select "VIEW SOURCE".

  • How to bind soap header using jax-rpc

    To Whom It May Concern:
    I am using Rad7, Ibm Websphere 6.1, on Windows XP.
    I created an SoapHeader first using a string and bind it using jax-ws.
    It works for jax-ws but unfortunately, my work services uses jax-rpc.
    Does anybody know how to bind the soap header using jax-rpc.
    Any help or hint would be greatly appreciated it.
    Here is my code:
    import org.apache.cxf.headers.Header;
    import org.apache.cxf.headers.Header.Direction;
    import org.apache.cxf.helpers.DOMUtils;
    import org.apache.cxf.binding.soap.SoapHeader;
    import javax.xml.namespace.QName;
    import java.io.StringReader;
    import java.util.List;
    import java.util.ArrayList;
    import javax.xml.ws.BindingProvider;
                   @Test
         public void testService() throws Exception {     
                   try
                        URL wsdlURL = new URL("http://localhost:9087/abc/services/ServiceABCService");
                        ServiceRequestServiceService service = new ServiceRequestServiceServiceLocator();
                        ServiceRequestService port = service.getServiceRequestService(wsdlURL);
                   //How to Add Soap Header using jax-ws
              String xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?><ABCHdrRq "
              + "xmlns=\"http://xmlns.ABCgc.net/ABC/2002/header/\" "
              + ">"
              + "<version>1.0</version><srcInfo><chType>abc</chType><chInst>0124</chInst>" +
                        "<appName>sSAR</appName><hostName>DW70210521</hostName><userId>fxue</userId>" +
                        "</srcInfo><startTimeStamp>2010-06-04T13:44:45.132</startTimeStamp><clientDt>2010-06-04T13:44:53.242</clientDt><serviceInfo><serviceName>ServiceRequestService</serviceName>" +
                        "<serviceFunc>addServiceRequest</serviceFunc></serviceInfo>" +
                   "<prevTransInfo><prevRqUID>BORS2010-06-04T13:41:10.2067f9368d1-8c5c</prevRqUID>" +     
                   "<prevRespTimestamp>2010-06-04T13:41:10.871</prevRespTimestamp>"+
                   "<prevRespEndTimestamp>2010-06-04T13:41:10.902</prevRespEndTimestamp>+</prevTransInfo>"+
                   "</ABCHdrRq>";
              SoapHeader dummyHeader1 = new SoapHeader(new QName("uri:http://xmlns.ABCgc.net/ABC/2002/header/", "ABCHdrRq"),
              DOMUtils.readXml(new StringReader(xml)).getDocumentElement());
              dummyHeader1.setDirection(Direction.DIRECTION_OUT);
              List<Header> headers = new ArrayList<Header>();
                   headers.add(dummyHeader1);
                   ((BindingProvider)port).getRequestContext().put(Header.HEADER_LIST, headers);
                   //How to Add Soap Header to the request using jax-ws
                   catch(Exception e)
                        System.out.println("Exception message:"+e.getMessage());
    Yours,
    Frustrated

    Well, how an attachment is processed depends on your application logic...if your application logic requires to processing attachments and verify it before processing the SOAP message, handlers could be better option.
    If you need to process the attachment while processing the SOAP message, you can do it in the service implementation class.
    In both the cases you need to get access to SOAPMessage object and from there get the attachments with getAttachments method.

  • How to view data in Xcelsius from an external Excel file

    Hi Everyone,
    i wonder if you know How to view data in Xcelsius from external Excel file and not depend only on the emebded excel sheet.

    Hi,
    As per my understanding, excel has to be imported in Xcelsius to draw up the dashboard. Your aggregated data sits in the xlf file. Using an external excel file will not be possible (I guess).
    One of the ways to connect to an external excel, is the use XML Maps but then your data has to be in the form of XML which will be pulled into excel first and then needs to be brought in Xcelsius using Data Manager.
    You can explore XML Maps in xcelsius in SDN.
    Regards
    Nikhil

  • How to compress SOAP response generated by weblogic 7.x web service??

    can anybody tell me how to compresse SOAP response generated by weblogic webservice before sending it to client. i have my handler chain to process that response but how to compress that response .My webservice generates response that contains lots of XML data ~25 mb size . it's taking time to reach it to client for that i wanted to compress it . How to do that?can anybody help me?
    Thanks........
    Rahul

    Answered on my own:
    Just have to use
    x_result = http_client->response->get_data( ).
    instead of
    x_result = http_client->response->to_xstring( ).
    Just don't knwo why the filesize is wrong also - but I can work with this image!

  • How to view concurrent program LOG from custom FORMs

    Hi,
    How to view concurrent program LOG from custom FORMs?
    Thanks
    ESL

    Hi Thanks for your response....
    lets assume there are 2 buttons, first button to submit concurrent program and second button to view concurrent program output/log.
    Actually im able to submit concurrent program from oracle custom form(6i) in ebusiness(11.5.0.2) i.e first button (WHEN-BUTTON_PRESSED buitin).
    Rather user navigating to VIEW-> REQUEST, i would like to give option to user to view concurrent program output/log when user clicks on second button (WHEN-BUTTON_PRESSED buitin)
    How can i achive this?
    Thanks,
    ESL

  • How the client stub is generated from the wsdl file ?

    I want to know how the client stub is generated from the wsdl file ?
    how the client accesses the methods in the wsdl fie ?
    thanks alot .

    there are several ways to generate the stubs from a wsdl.
    if you're using jax-ws, there is a netbeans tutorial creating web services. you found this on http://www.netbeans.org/kb/trails/web.html.
    if you're using axis as your framework, i think this would be a nice introduction of it. link : http://www.eli.sdsu.edu/courses/spring03/cs683/notes/AXIS/AXIS.html#Heading4

  • B2b unable to pick the file from xml gateway

    Hi All,
    I am taking a scenario where B2B picks the files from xml gateway and drop the files in FTP folder. I modified the XML gateway inbound and outbound, i has given my user credentials(unmae, host ,pwd ,sid, port). In agreement in the place of internal delivery channel i has given XML gateway outbound.
    Still its unable to pick the files from xml gateway.
    Clarify my understanding please
    While b2b picks the files from xml gateway, It will pick from ECX_Inbound or ECX_Outbound?
    Here i am attaching the logs:
    2010.01.15 at 07:32:51:101: B2BStarter thread: B2B - (DEBUG) B2BStarter - Context Initialized
    2010.01.15 at 07:32:56:366: B2BStarter thread: B2B - (DEBUG) B2BStarter - Start B2B
    2010.01.15 at 07:32:56:369: B2BStarter thread: B2B - (DEBUG) B2BStarter - Starting B2B
    2010.01.15 at 07:32:56:392: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration obtained
    2010.01.15 at 07:32:56:395: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
    2010.01.15 at 07:32:56:547: B2BStarter thread: B2B - (DEBUG) XEngine not running. So no need to clear cached objects inside XEngine.
    2010.01.15 at 07:32:56:821: B2BStarter thread: B2B - (INFORMATION) Repository:print: [0] HL7 over MLLP Exchange
    2010.01.15 at 07:32:56:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [1] EDI X12 over AS1
    2010.01.15 at 07:32:56:826: B2BStarter thread: B2B - (INFORMATION) Repository:print: [2] Custom Document over Generic Exchange
    2010.01.15 at 07:32:56:829: B2BStarter thread: B2B - (INFORMATION) Repository:print: [3] EDI EDIFACT over Generic Exchange
    2010.01.15 at 07:32:56:832: B2BStarter thread: B2B - (INFORMATION) Repository:print: [4] RosettaNet over RNIF
    2010.01.15 at 07:32:56:835: B2BStarter thread: B2B - (INFORMATION) Repository:print: [5] EDI X12 over Generic Exchange
    2010.01.15 at 07:32:56:837: B2BStarter thread: B2B - (INFORMATION) Repository:print: [6] Custom Document over MLLP Exchange
    2010.01.15 at 07:32:56:840: B2BStarter thread: B2B - (INFORMATION) Repository:print: [7] Custom Document over AS1
    2010.01.15 at 07:32:56:842: B2BStarter thread: B2B - (INFORMATION) Repository:print: [8] EDI EDIFACT over AS1
    2010.01.15 at 07:32:56:845: B2BStarter thread: B2B - (INFORMATION) Repository:print: [9] HL7 over Generic Exchange
    2010.01.15 at 07:32:56:848: B2BStarter thread: B2B - (INFORMATION) Repository:print: [10] Custom Document over Internet
    2010.01.15 at 07:32:56:851: B2BStarter thread: B2B - (INFORMATION) Repository:print: [11] Custom Document over ebMS
    2010.01.15 at 07:32:56:853: B2BStarter thread: B2B - (INFORMATION) Repository:print: [12] EDI X12 over Internet
    2010.01.15 at 07:32:56:856: B2BStarter thread: B2B - (INFORMATION) Repository:print: [13] EDI EDIFACT over Internet
    2010.01.15 at 07:32:57:649: B2BStarter thread: B2B - (DEBUG) Repository:constructCertSQL SELECT cert.ID, cert.CLASSTYPE FROM TIP_Certificate_ra cert, TIP_Party_ra party, TIP_DocumentExchange_ra docex WHERE cert.ID = docex.signingcredential AND cert.tradingpartner = party.ID AND party.ishosted != 'Y'
    2010.01.15 at 07:32:57:785: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Enter
    2010.01.15 at 07:32:58:077: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Exit
    2010.01.15 at 07:32:58:824: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Enter
    2010.01.15 at 07:32:58:827: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize resetListener = true
    2010.01.15 at 07:32:58:831: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initdcx = true
    2010.01.15 at 07:32:58:891: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize TPAProcessor
    2010.01.15 at 07:32:59:010: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Clear TPA Cache
    2010.01.15 at 07:32:59:013: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize DataContext. Pool Size 0
    2010.01.15 at 07:32:59:038: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Treat Response as Request = false
    2010.01.15 at 07:32:59:041: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Exit
    2010.01.15 at 07:32:59:043: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize Transport
    2010.01.15 at 07:32:59:046: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Initialize Transport Logger.
    2010.01.15 at 07:32:59:059: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Transport LogLevel = ERROR
    2010.01.15 at 07:32:59:294: B2BStarter thread: B2B - (DEBUG) Repository:Repository:getDeliveryEndPointList() Wallet Location /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
    2010.01.15 at 07:32:59:297: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: No Archive dir
    2010.01.15 at 07:32:59:300: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: marker :false
    2010.01.15 at 07:32:59:314: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: Putting ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO
    2010.01.15 at 07:32:59:322: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: ftp://elshad1.emerson.com//ftpdata/elshad1/ice/infile/850/PO file.receiver.wallet_location = /apps/elshad4/aelshad4/elshad4_OracleB2B/Apache/Apache/conf/ssl.wlt/default/ewallet.p12
    file.receiver.wallet_password = *****
    file.receiver.polling_interval = 5
    file.receiver.path = /ftpdata/elshad1/ice/infile/850/PO
    file.receiver.marker = false
    marker = false
    ccc = false
    file.receiver.channel_mask = None
    file.receiver.minimum_age = 0
    filename_format = %FROM_PARTY%_%TIMESTAMP%.dat
    file.receiver.van = false
    file.sender.channel_mask = None
    file.receiver.user = eiced1
    PROTOCOL_ENDPOINT = null
    file.receiver.password = *****
    file.receiver.preserve_filename = false
    transport_callout_waittime = 30
    preserve_filename = false
    file.receiver.ccc = false
    van = false
    polling_interval = 5
    2010.01.15 at 07:32:59:491: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [Emerson_Robin_FTP_TransportServer < ftp > < Emerson >]
    2010.01.15 at 07:32:59:858: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize Initialize AppTransport Logger.
    2010.01.15 at 07:32:59:864: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize AppTransport LogLevel = ERROR
    2010.01.15 at 07:32:59:949: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Outbound - initialize
    2010.01.15 at 07:32:59:953: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 Obtaining outbound connection...
    2010.01.15 at 07:32:59:956: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
    2010.01.15 at 07:32:59:960: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:32:59 GMT+00:00 2010 outbound username: apps
    2010.01.15 at 07:33:04:319: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 07:33:04 GMT+00:00 2010 Outbound - initialize exit
    2010.01.15 at 07:33:04:322: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
    2010.01.15 at 07:33:04:326: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
    2010.01.15 at 07:33:04:329: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
    2010.01.15 at 07:33:04:332: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
    2010.01.15 at 07:33:04:335: B2BStarter thread: B2B8:15:32:157: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:32 GMT+00:00 2010 inbound username: apps
    2010.01.15 at 08:15:33:757: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 inbound initialize exit
    2010.01.15 at 08:15:33:761: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Outbound - initialize
    2010.01.15 at 08:15:33:764: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 Obtaining outbound connection...
    2010.01.15 at 08:15:33:767: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound connect string: jdbc:oracle:thin:@essdbdu31.emrsn.com:36001:ROBIND1
    2010.01.15 at 08:15:33:770: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:33 GMT+00:00 2010 outbound username: apps
    2010.01.15 at 08:15:34:473: B2BStarter thread: B2B - (DEBUG) : Fri Jan 15 08:15:34 GMT+00:00 2010 Outbound - initialize exit
    2010.01.15 at 08:15:34:476: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
    2010.01.15 at 08:15:34:479: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
    2010.01.15 at 08:15:34:481: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
    2010.01.15 at 08:15:34:484: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
    2010.01.15 at 08:15:34:487: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
    2010.01.15 at 08:15:35:928: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
    2010.01.15 at 08:15:36:132: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages
    2010.01.15 at 08:15:36:139: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
    regards
    cnu

    Anuj,
    The log which i placed on top, thats the complete log and DC log is given below
    2010.01.18 at 12:58:06:117: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:11:130: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:16:143: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:21:153: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:26:169: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:31:164: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:36:173: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:41:182: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:46:194: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:51:210: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:58:56:217: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:01:244: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:06:254: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:11:256: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:16:283: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:21:276: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:26:285: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:31:297: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:36:314: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:41:324: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:46:327: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:51:341: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 12:59:56:352: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered.
    2010.01.18 at 13:00:01:359: Thread-14: (ERROR) FTPClient.listNames(): unexpected 550 is encountered

  • How to load images in List from Xml and view the image and resize the image & save in Flex?

    Hi Friends,
    I am new to flex i am doing application for image resizing rotating and save the resize image.
    I want to load the images from xml file to listcontrol and show that images as a icon in the listview,then i want to drag that image to panel that time it should show it original size of the Image.then it allows user to resize ,crop,rotate the image.then i want to save the resize image,when i save the resize image it should replace the original image in the xmllist.
    I am looking for some useful suggession ,if you dont mind want to see some snippet code.
    It will help me to understand the concept.
    Cheers,
    B.Venkatesan

    Not in Crystal Reports Basic for Visual Studio 2008. You'll have to upgrade to CR 2008 (12.x). Then use kbase [1320507|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] as a guide on how to do this.
    Ludek

  • How to recover from XML gateway error when generating outbound message

    Hi,
    Due to a misconfiguration in other part of the system, our Purchase Order Request map (RosettaNet PIP3A4) failed on few dozen of orders and ended with an error.
    How can we restart the process and retry the map generation in XML Gateway (as now the problem is fixed)?
    Many thanks in advance,
    Regards
    Kamil

    Hi Kamil;
    please check below and see its helpful:
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/esb002.htm
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28211.pdf
    Regard
    Helios

  • Remove SOAP Header Element from ALSB Proxy Service Response

    I've got a client of one of my ALSB Proxy services that needs the SOAP header element removed from the response. I'm struggling to find a way to do that with a WSDL-based proxy service. Do I need to change my service to an Any XML Service or is there an easier way?

    At the same time, could you please also tell me how do i convert a XML Response from a business service to a SOAP Response in Proxy Service.
    My client is expecting a soap response and the backend gives back only the XML Response
    Thanks in advance!!
    ~Swagat

  • How to create SOAP Header elements using SAAJ??

    I am facing a problem when adding header elements under SOAP Header
    using SAAJ(api).
    I want to create a structure as following:
    I get a empty SOAP header obejct by writing code--> SOAPHeader header
    = envelope.getHeader();
    But not able to add SOAP header elements as specified in example
    below. I tried but its giving me error as
    "HeaderElements must be namespace qualified"
    CAN ANYBODY TELL ME THAT HOW TO ADD HEADER ELEMENTS USING SAAJ??
    <SOAP:Header>
    <AccountNumber>123</AccountNumber>
    <AuthorisationCode>test111</AuthorisationCode>
    <Source>abc</Source>
    <Market>01</Market>
    </SOAP:Header>

    I'm including this comment from some code I've just written after wrestling with this for hours (I've actually left it on another post as well). The upshot of it all is that you have to include a namespace URI when creating a header in SAAJ:
            NOTE: SOAP 1.1 requires that all header entries be namespace-qualified to
            namespace URI's.  The SAAJ 1.2 implementation requires a Name object with
            the namespace URI to make this happen even if the prefix used is already
            visible by being declared higher in the document (e.g. in the Envelope).
            However, the namespace URI is not present in the serialized header element
            as long as it was declared higher in the document.  In order to create a
            header element without a prefix (to conform to a web service definition
            that doesn't use a prefix in its headers, for example), leave the prefix
            null in the addHeaderElement() method. 
            For example, with a SOAPHeader 'hdr':
              //first create the name
              Name name = env.createName("my-local-name", null, "my-URI");
              //then create the header element
              SOAPHeaderElement he = hdr.addHeaderElement(name);
            This would result in an XML element that looked like this:
              <my-local-name xmlns="my-URI"/>
            This would allow SAAJ developers to create a header for a service that
            only expected a local name in its header elements (as many do!).  As long
            as the service doesn't choke on the attribute (validation!  evil!), this
            should work.
                                                        Rob Kemmer
                                                        01/12/2005
     

  • How to create an Excel file from XML in the Receiver File Adapter Comm Ch

    How do I create an Excel file from XML in the Receiver File Adapter Communication Channel? I have my mapping done and I am outputting the file as a comma delimited csv file. However, the target can only process an Excel file (.xls). How can I generate an Excel in XI?
    I saw this blog, but I don't know how to create a XSLT transformation.
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    Any help would be appreciated. Thanks.

    Here are the steps I took to create an XSLT transformation in XI 3.0:
    1. I created my source and target XSDs using XMLSpy.
    2. I created the XSLT mapping from source to target in XMLSpy (referencing the souce XSD schema).
    3. I created another XSLT mapping to format the target into Excel XML.
    4. Import the source and target XSDs in the IR's External Definitions
    5. Zip each XSLT mapping (.xls) and import it into the IR's Imported Archives
    6. Reference the XSL mappings in the Interface Mapping

  • How to Capture SOAP Header in BPEL

    Hi All,
    I have a requirement to pass a value from SOAP Header to BPEL and has to capture the value in BPEL and manipulate the data.
    In the receive activity i created a variable and assigned Header to it, but iam getting NULL value when i check the instance, this is the code i used in receive
    activity.
    <receive name="receiveInput" partnerLink="bpelsensor_client" portType="client:BPELSensor" operation="process" variable="inputVariable" createInstance="yes"
    bpelx:inputHeaderVariable="headerID"/>
    Any suggestions how to do this?

    How did you define headerID?
    You can also see an example here:
    http://java.net/projects/oraclesoasuite11g/pages/BPEL
    Arik

  • How to build an unique identifier from XML ?

    I'm having a rather simple XML structure similar to the example below. I'm storing the XML data into XMLTYPE table without modifications and constructing a set of views for SQL access to XML data on top of that. This is very basic and instructed e.g. in Breaking Up Multiple Levels of XML Data: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e23094/xdb03usg.htm#autoId58
    The problem is that XML data is missing an identifier for order elements that could be used as a primary key when splitting document levels (items) for relational views.
    Currently I'm planning to construct such an identifier by combining a top level identifier (that is unique) with ordinal position of order elements. Unfortunately I don't know how to do that (see below). My second question is if this is a good idea at all or should something else be used instead.
    I'm running Oracle 11.2.0.1.0.
    create or replace view orders_view as
    with xmldata as (select xmltype('<batch id="batch1">
    <order>
      <orderer>Joe</orderer>
      <items>
        <item>Standard widget</item>
      </items>
    </order>
    <order>
      <orderer>Jack</orderer>
      <items>
        <item>Regular widget</item>
        <item>Cooling widget</item>
      </items>
    </order>
    <order>
      <orderer>John</orderer>
      <items>
        <item>Super+ widget</item>
        <item>Super+ widget</item>
      </items>
    </order>
    </batch>') object_value from dual)
    select x1.batchid,
           (select x1.batchid || '-' || x2.orderid from dual) as orderid,
           x2.orderer_name,
           x2.nbr_of_items
    from xmldata,
    xmltable('$doc/batch' passing xmldata.object_value as "doc"
             columns
             batchid varchar2(10) path '@id',
             orderlist xmltype path 'order') x1,
    xmltable('/order' passing x1.orderlist
             columns
             orderid varchar2(20) path '"?"', /* What to put here to get expected results ? */
             orderer_name varchar2(10) path 'orderer',
             nbr_of_items number path 'count(items/item)') x2;
    column batchid format a10
    column orderid format a10
    column orderer_name format a10
    select * from orders_view;Expected results:
    BATCHID    ORDERID    ORDERER_NA NBR_OF_ITEMS
    batch1        batch1-1   Joe                   1
    batch1        batch1-2   Jack                  2
    batch1        batch1-3   John                  2Where ORDERID is constructed as BATCHID + "-" + the position of <order> element in the batch.

    Hi,
    The FOR ORDINALITY clause does exactly what you want :
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions253.htm#SQLRF06232
    select x1.batchid,
           x1.batchid || '-' || x2.orderid as orderid,
           x2.orderer_name,
           x2.nbr_of_items
    from xmldata,
    xmltable('$doc/batch' passing xmldata.object_value as "doc"
             columns
             batchid varchar2(10) path '@id',
             orderlist xmltype path 'order') x1,
    xmltable('/order' passing x1.orderlist
             columns
             orderid for ordinality,
             orderer_name varchar2(10) path 'orderer',
             nbr_of_items number path 'count(items/item)') x2
    ;

Maybe you are looking for