Problem with Business Connector (Service to read body in http)

Hi all,
I have the following scenario:
BC1 --> BC2 --> SAP
BC1 send a file using http. This file hasn´t XML structure because the file is encrypted. The content of the file is sent into the body of the http message, not into the header.
BC2 has a service prepared for receiving the file from the header of the http message (param "invoice"), not from the body. The call is: 
http://?invoice=
I need to include a new service before the previous one,in order to read the content of the file from the body of the message, mapping the content to variable "invoice" and the continuing with the treatment.
Thanks in advance for your help.
Pilar.

Can you post what your expected XML result looks like ? The values structure is an internal structure of how BC represents that information. What types are you passing back as output variables in your service ? A recordlist ? Is it possible that you forgot to call a service step which converts document to string (so that you get the desired XML) ?
CSY

Similar Messages

  • Problem with Business Connector 4.8

    Hi Everybody, first of all I would like to clarify that this is a question about SAP BC and NOT XI, but I did not know wherelse to put this message.
    I have installed SAP BC 4.8. Created a new RFC map (SAP BC -> SAP) of a FM called Z_PO_GET_LIST.
    Then went to Business Connector DEVELOPER and created an output template, XML type, for the output of the service.
    When I test the service from the Business Connector SERVER it works perfect, I get as a result the desired XML with the PO Orders in the same format defined in the template.
    When I test it from the Internet Explorer putting in the address bar http://localhost:5555/invoke/test/Z_PO_GET_LIST it also works great, and I get the expected XML as result.
    The problem is when I try to cosume the service from an external .net application, I create an HTTP Client with all needed information (server, port, baseurl, etc) and when I send a POST to the service I get an XML with the result but NOT in the expected format (with all "value" tags instead of the tags that I defined in the template) but with this format:
    <?xml version="1.0" encoding="UTF-8"?>
    Values version="2.0">
    <value name="serverName">IDES_SERVER</value>
    <value name="$rfcname">Z_PO_GET_LIST</value>
    <record name="ZPO_CABEZALES" javaclass="com.wm.util.Table">
      <array name="cols" type="value" depth="1">
       <value>CO_DATE</value>
       <value>DOC_CAT</value>
       <value>CREATED_ON</value>
       <value>CREATED_BY</value>
       <value>VENDOR</value>
       <value>NAME1</value>
       <value>CURRENCY</value>
       <value>DOC_DATE</value>
       <value>TARGET_VAL</value>
      </array>
      <list name="rows">
       <array type="object" depth="1">
        <value>1000</value>
        <value>F</value>
        <value>2002-10-16</value>
        <value>GIESEB</value>
        <value>0000001000</value>
        <value>C.E.B.BERLIN</value>
        <value>EUR</value>
        <value>2002-10-16</value>
        <value>5000.0000</value>
       </array>
       <array type="object" depth="1">
        <value>3000</value>
        <value>F</value>
        <value>2004-05-04</value>
    Does anyone please know how can I get the response from the service in the expected format (using the defined template) just in the same way I get it from the "test service" funtionality in the BC Server?
    Any clue or help would be really appreciated and rewarded.
    Thanks in advance,
    Sebastian.

    Can you post what your expected XML result looks like ? The values structure is an internal structure of how BC represents that information. What types are you passing back as output variables in your service ? A recordlist ? Is it possible that you forgot to call a service step which converts document to string (so that you get the desired XML) ?
    CSY

  • Problem with Business Logic Services Logic Editor

    Hi,
    I am trying to go to Logic Editor under Business Logic Services. I'm getting error that "Unable to launch xMII"
    Is there any java related problem in my machine?
    Regards,
    Amalesh

    Amalesh,
    What version of xMII are you using 12.0 by chance.  If so goto the Java Web Start -> File -> Preferences -> and set your proxy to "None".  I would not recommend reinstalling Java as this will not solve your problem and if you are on xMII 12.0, the recommended version is 1.4.2_13 as a minimum.
    Regards,
    Erik

  • HT1476 my iPhone 4 will no longer charge. It is also not recognised in iTunes. There seems to be a problem with the connector slot. I've tried other cables and other computers/plugs but the connection is not being made. Any suggestions?

    my iPhone 4 will no longer charge. It is also not recognised in iTunes. There seems to be a problem with the connector slot. I've tried other cables and other computers/plugs but the connection is not being made. Any suggestions?
    It seems to me that the connection port is faulty.
    George

    Looks like a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • Hi ! I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    Hi ! I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    There is a link at the bottom of this page. http://www.apple.com/contact/

  • Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an e.mail i can use in Apple USA? Thanks.

    Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.

    There is a link at the bottom of this page. http://www.apple.com/contact/

  • URGENT :   EP 7.0 /ECC 5.0  -   Problem with Business Package : ESS/MSS

    Dear Portal Gurus,
    We are facing a problem with business package for ESS/MSS
    Our system Info is as under :
    Portal:- NW 2004s
    ERP2004: - (R3 ECC 5.0)
    ESS:- BP for Employee Self-Service (mySAP ERP 2004) 60.2
    MSS:- BP for Manager Self-Service (mySAP ERP 2004) 60.1.1
    SAP XSS  à (SAP ESS 100, SAP MSS 100 and SAP PCUI_GP 100 , all upto SP 12)
    After the Business Packages were installed,found that some  ess apps where not deployed...so manually deployed it.
    The JCO connections are OK.
    Do we need to set up the backend Homepage Framework for the same......even for preview.....was thinking not.
    Also, here is the error and exception that we get when we preview any ESS iview.
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:234)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:159)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:183)
    Thanks.
    Message was edited by: Ashutosh Rana

    I got the same problem :/
    not the authorization, but the fields in working time is displaying wrong.. (too big)
    Any solution to this?
    Best Regards
    Kristoffer Engh

  • MDM with Business Connector

    Does anyone know if MDM can work with Business Connector?

    It's been a while since I have used Business Connector, but if I'm not mistaken BC can pick up files, correct?  If so, then yes they will work together.  The process would like something like this:
    1.  MDM Syndication Server generates XML file
    2.  Business Connector picks up file
    3.  Business Connector maps to desired format
    4.  Business Connector sends to target system.
    Same as XI, except BC is the EAI tool instead.

  • HT6114 i have a problem with notification of service battery since i installed mavericks. My macbook air is 2012 version.

    i have a problem with notification of service battery since i installed mavericks. My macbook air is 2012 version. Any solution?

    This from the crash log
    Dyld Error Message:
      Library not loaded: /System/Library/Frameworks/Accounts.framework/Versions/A/Accounts
      Referenced from: /System/Library/StagedFrameworks/Safari/Safari.framework/Safari
    indicates there is a missing library on your system. What problems were you having before that caused you to delete Safari? How did you delete it?
    You're best bet in this case is to re-install the OS. While doing a re-install will not normally harm your user data having a good working backup in cases like this is essential.

  • After upgrading to firefox 3.6 I have problem with hotmail email service

    after upgrading to firefox 3.6.4 I have problem with hotmail email service, however I can login in hotmail, I can't open mails or delet or do anything else with them.
    == URL of affected sites ==
    http://hotmail.msn.com

    Thank you, but I already have "always show tabs bar" set.
    Also, I have two computers and the other is running the exact same version of Firefox, and the exact same theme, but it does not have this problem.
    To make sure I'm being clear: there is an "x" on each tab that allows me to close it when I have multiple tabs open. When I have only one tab open, there is no "x"; so in order to close the webpage I have to open another empty tab, and then close the first. My other computer has the "x" to close the tab visible even when there is only one tab so that I can close the page and have an empty (marked "(untitled)" tab). Please help!

  • Problem with reversal of Service entry Sheet

    Hi All,
    I am facing a problem with reversal of service entry sheet. The user has posted the document in dec 2009 and now the user wants to reverse the doc. I told the process how to reverse it. But when she is trying to revoke the acceptance, she is getting error log.I told her to reset the posting date to present date.Now she tried to change the doc date but she is getting error as "604 item 010 WBS element ****** budget exceeded year 2009". So i advised her further to increase the budget in the year 2009. Even that solution is not working.
    Please help in this regard
    Thanks & Regards
    Nisha Prasad

    Hi,
    The user is not authorised to change the budget. The person resposible for this is telling that increasing the budget wont help. can you tell me how to view whether the budget is available for the system in the period or not? Can you please help me in this regard?
    Thanks
    Nisha

  • My station is listed on Itunes Radio stations, but there's a problem with the connection. Does any body help us regarding this issue? The station name is KRAL FM under the Top 40 / Pop category

    My station is listed on Itunes Radio stations, but there's a problem with the connection. Does any body help us regarding this issue? The station name is KRAL FM under the Top 40 / Pop category

    My station is listed on Itunes Radio stations, but there's a problem with the connection. Does any body help us regarding this issue? The station name is KRAL FM under the Top 40 / Pop category

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • Problem with RESTful web service

    I am running into a problem with Flex Web Services (REST) in trying to get the proper format returned. I can see that the HTTP header is set to
    Accept: */*;
    rather than
    Accept: application/xml
    when sending the request. The web service was generated via the web services HTTP data services wizard. I edited it to set the resultFormat to xml
        // Constructor
        public function _Super_UsersService()
            // initialize service control
            _serviceControl = new mx.rpc.http.HTTPMultiService();
             var operations:Array = new Array();
             var operation:mx.rpc.http.Operation;
             var argsArray:Array;
             operation = new mx.rpc.http.Operation(null, "getUsers");
             operation.url = "http://localhost:8888/users";
             operation.contentType = "";
             operation.method = "GET";
             operation.resultFormat = "xml";
             //operation.serializationFilter = serializer0;
             operation.properties = new Object();
             operation.properties["xPath"] = "/";
             operation.resultType = valueObjects.Users;
             operations.push(operation);
             _serviceControl.operationList = operations; 
             model_internal::initialize();
    How does one configure the accept header?

    Hi,
    I have posted a simple application with the RESTful reference:
    http://apex.oracle.com/pls/apex/f?p=13758
    I can give you full privileges on this so you can look at the WEB service reference. Shall I send to you separately for login user?
    It is using the RESTful service: http://apex.oracle.com/pls/apex/nd_pat_miller/demo/employee/{deptno}
    This RESTful service tests fine when I test from within the RESTful web service module of the Workspace.
    I based this on the Video demo tutorial for RESTful web service that Oracle published for 4.2 release. The video seemed to exclude the {deptno} in the URL but when I try that, it doesn't work either.
    This is the error I am getting when I run this on my Apex environment: (it, of course, will not run the web service in the apex.oracle.com environment)
    class="statusMessage">Bad Request</span>                                         
    </h3>                                         
    </div>                                         
    </div>                                         
    <div id="xWhiteContentContainer" class="xContentWide">                                         
    <div class="xWhiteContent">                                         
    <div class="errorPage">                                         
    <p>                                         
    <ul class="reasons"><li class="badRequestReason"><span class="target" style="display:none;">uri</span><span class="reason">Request path contains unbound parameters: deptno</span></li>                                    
    </ul>Thanks,
    Pat
    Edited by: patfmnd on May 8, 2013 3:33 AM

  • I have a problem with the apple service team after making a payment. Where do I take the issue up?, I have a problem with the apple service team after making a payment. Where do I take the issue up?

    I have a problem with the apple service team after making a payment. Where do I take the issue up?, I have a problem with the apple service team after making a payment. Where do I take the issue up?

    If you are dissatisfied with the Service you have received and wish to Contact Apple...
    India
    Start your support request online and we'll connect you to an expert.
    (91) 1800 4250 744
    www.apple.com/in/support/
    From the above Link...
    To Contact Apple World Wide for Support and Service
    http://support.apple.com/kb/HE57

Maybe you are looking for