RAW import parameters in external service

Hi all,
I'm extending an application that has been written by somebody else.
I need to connect to an RFC using CAF external services.
In this RFC one of the input parameters (GUID) is of the type RAW. When I import an external service (based on this RFC) into the NWDS. I then add is as a dependencie to my Application service, generate a webservice of my application service, build and deploy the CAF project.
When I now go the the wsnavigator, open my application service and select the operation I want to test. I fill in the paramters and send submit but the RAW import parameter GUID is not being passed on to my RFC.
In fact when I look at the SOAP message that is being sent, the GUID parameter is empty (it fills in 'AA==' while I inserted '4A53589C71132123E10000009959C278' as value).
POST /CRMActivitiesWS2/Config1?style=document HTTP/1.1
Host: lumnrs61.luminus.int:54200
Content-Type: text/xml; charset=UTF-8
Connection: close
Cookie: <value is hidden>
Cookie: <value is hidden>
Cookie: <value is hidden>
Authorization: <value is hidden>
Content-Length: 416
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<pns:ReadOfferData_R xmlns:pns='urn:CRMActivitiesWS2Vi'>
       <pns:offerGuid>AA==</pns:offerGuid>
       <pns:portalId>FOA_test</pns:portalId>
</pns:ReadOfferData_R>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I think this has something to do with the conversion of the input field to the RAW dataformat. Does anybody know how I can solve this?
Kind regards
Wouter

Solved on my own...

Similar Messages

  • How to use bapi /external service directly in application service

    Hi
    I have to use BAPI_ALM--RDER_MAINTAIN in my caf application
    i have imported it as external service.As there are problems mapping its input fields to entity service , it has to be consumed directly vai application service.
    But i ahve never done so before.Can someone give me an example as to how t do it.
    If someone can give example of how to code in the application service to call  the bapi , it would be great . as i have some time constraint.
    Thanks ,
    Points assured for help.

    Hi Vivek,
    As you asked for an example to call a bapi directly from Application Service you can follow this link.
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/57fff3b10b3672e10000000a114a6b/frameset.htm">Using Generated External Proxy in Application Service</a>
    Thanks and Regards
    Avijit

  • I'm using LR5.7 on a Mac Mini running Mavericks and when I attempt to import a folder of new RAW photos from my external drive into my catalog instead of seeing a preview of each thumbnail photo I see the following message displayed: "Preview Unavailable

    I'm using LR5.7 on a Mac Mini running Mavericks and when I attempt to import a folder of new RAW photos from my external drive into my catalog instead of seeing a preview of each thumbnail photo I see the following message displayed: "Preview Unavailable for this file." If I highlight any other folder of photos the previews are all there. What is the likely reason for these previews being unavailable? JohnnyCam

    What camera took these RAW photos?
    Did you use any Nikon software to transfer the photos to your computer's hard disk?

  • Are Import parameters compressed in external JCo RFC calls?

    I would like to send XML data from a Java program to an SAP ABAP System running on NW 7.02.
    The connection is done by Java Connector 3.0. The XML file should be passed as a parameter of an RFC function module.
    In older versions the data would have been passed as a TABLES parameter and would be compressed automatically if the payload exceeds 8kb or the connection would be marked as a slow connection. (see also Note 977407).
    Now I would like to use the basXML RFC protocol. There it is advised to use Table Types in Import parameters instead of TABLES parameters for table data. Now will the data be compressed if I send them as Table data in an Import parameter? And will they also be compressed when I send them as an Import parameter as STRING or XSTRING instead of a table?
    Unfortunately the help documentation is incomplete on these topics and I did not find any details for this scenario.

    Yes it is possible
    SAP JCo can be implemented with Desktop applications and with Web server applications.
    SAP JCo is used as an integrated component in the following applications:
    ●     SAP Business Connector, for communication with external Java applications
    ●     in the Application Server, for connecting the integrated J2EE server with the ABAP environment.
    SAP JCo can also be implemented as a standalone component, for example to establish communication with the SAP system for individual online (web) applications.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/09/a4a9e1d51d11d6b2c200508b5d5c51/frameset.htm

  • PM - External Services

    Dear Expert in PM,
    I'm interested to know about PM.
    Can i know How to procure External Services in PM module?
    What's the external services can purchase - must be raw material only or can be services ?
    If yes , how can we control all this purchasing in PM?
    point will given for your solution.
    Thnk you.

    Hi,
    External Operation:
    Equipment will be sent outside for the service. In this case, mostly service & spare parts will be given by service provider & they will charge the company in whole. So In operation, we need to mention the control key as PM02. In Maintain Control Key config, for PM02, externally processed operation should have been selected.
    So it will create the PR for the Operations & components. If company is providing spare parts to service provider, then component can be defined as L - Stock Item.
    Control key is the important input at operation level to decide following things.
    1. Operation => Internal / External
    2. Scheduling required or not
    3. Cost Calculation is required or not
    4. Confirmation required or not
    External Service Operation:
    Here, service provider will come to the site & he will provide the service. Here control key will be PM03. In this control key config, Service check box should be ticked.
    In this case, Service Master will be created & assigned to Maintenance Order. Against that, PR & PO will be created. Based on PO, Service Entry sheet will be created.
    Here also, either service provider or company will provide the spare parts. Based on that, item category should be maintained as N or L.
    Purchase Requisition
    This is based on the control key for the operations. For Materials, this is based on config Define Change Docs, Collective Purc. Req. Indicator, Operation.
    Regards,
    Maheswaran.

  • What is main diff b/w imported Archives and External Defination in IR

    What is main diff b/w imported Archives and External Defination in IR

    Hi Vijay,
    ED-standard schema for describing the message structure.If you have the structure provided to you from some external application you can use it in PI directly without recreating in PI.you can import following formats which are used to describe message schema
    WSDL (Web Service Description Language),
    XSD (XML Schema Definition Language),
    DTDs (Document Type Definitions)
    Imported Archives: its used basically for java and xslt mapping where you create the required mapping externally using some tools
    (java-eclipse/NWDS .XSLT-stylus studio).You can also implement XSLT and Java mappingsf and save them as archives in the Integration Repository.
    read More details here
    [ED|http://help.sap.com/saphelp_nwesrce/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm]
    [Imported Archives|http://help.sap.com/saphelp_nw04/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/content.htm]
    Regards,
    Srinivas

  • Error while using external service from application service

    Hello All,
    I have exposed webservice from a CAF project that i am importing as external service in another CAF project. Now i am using application service to directly call the external service. following is the code in my application service:
    Ns6_getCountryByCode__R inp = new Ns6_getCountryByCode__R();
                   inp.setNs6_countryCode(countryCode);
                   try {
                          HRServicesWSVi__DocumentLocal bn = this.getHRServicesWSVi__Document();
                          Ns6_getCountryByCode__RResponse result = bn.getCountryByCode__R(inp);
                          retValue.setCountryCode(result.getNs6_Response().getNs3_countryCode());
                          retValue.setCountryName(result.getNs6_Response().getNs3_countryName());
                     }catch(Exception e){
                          throw new ServiceException(e);
    I am getting the following error
    ERROR. Problem in server response: [Bad Request].:
    What could be the problem ? Thanks in advance
    Regards,
    Ashutosh Rastogi

    Hello,
    It's always a good idea to check the log file. In many cases you find hints what the reason for the error could be. The log file can be found here: <root>usrsap<SID>JC30j2eeclusterserver0logdefaultTrace.<xy>.trc where <root> is probably c:, SID something like F33, F41, ... and <xy> a number 0, 1, .... -> the highest number is the last and therefore most youngest log file. Please check out this file.
    Another very common (but trivial) error is that you forgot to specify the URL and the end point location of your Web Service in CAF's config tool. This tutorial explains this beginning on page 20 <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11669cea-0c01-0010-63b2-b98c35b1b370">Using a Web Service as External Service</a>.
    Regards,
      Jan

  • Please help with error message invoking external service from BPEL

    Yes, I'm new to Oracle SOA Suite and BPEL Process manager. I've searched the forums, OTN, and Google and have not found any description of this error message:
    "oracle.fabric.common.FabricException: Number of SOAP body elements and parts do not match in operation: <operation-name>"
    Using JDeveloper 11.1.1.2.0 and WebLogic/SOA 10.3.2.0.
    The BPEL process was built completely using JDeveloper's graphical tools... I haven't done any raw editing of the BPEL files yet. What types of things might I possibly be doing wrong that would cause this error to occur? Any idea what two things the server is comparing and deciding that there's a mismatch? It doesn't look like it is even attempting to invoke the external service, but bailing out before that, thinking that it's going to send bad data. Below is a bit more detail.
    Also, I loaded up the WSDL (same one that I gave to JDeveloper) into SOAPUI. Then I took the payload that SOA was about to send (see below) and pasted it into SOAPUI. SOAPUI didn't complain and the target web service accepted the message and produced a "success" response. It looks like the payload is correct, so I don't know why SOA is complaining.
    Thanks for any help you can offer.
    =====================================================
    Faulted while invoking operation "UpsertEmp" on provider "SiebelUSEmployeeIntegration".
    <messages>
    <input>
    <UpsertEmpInput>
    <part name="SiebelMessage">
    <SiebelMessage>
    <ns1:USEmployment>
    <ns1:globalId>123456abcdef</ns1:globalId>
    <ns1:employeeId>000123456</ns1:employeeId>
    <ns1:effDt>1/1/2009</ns1:effDt>
    <ns1:emplStatus>A</ns1:emplStatus>
    <ns1:supported>N</ns1:supported>
    <ns1:employed>Y</ns1:employed>
    <ns1:activeStatus>Y</ns1:activeStatus>
    <ns1:hrEditOnly>Y</ns1:hrEditOnly>
    <ns1:paygroup/>
    <ns1:statusCode/>
    <ns1:origHireDate/>
    <ns1:termDate/>
    <ns1:latestHireDate/>
    <ns1:locationCode/>
    <ns1:locationDescr>Somewhere</ns1:locationDescr>
    <ns1:positionCode/>
    <ns1:jobCode/>
    <ns1:jobDescr/>
    <ns1:supervisorEmplid>000654321</ns1:supervisorEmplid>
    <ns1:deptCode>ITG</ns1:deptCode>
    <ns1:deptDescr>Information Technology Group</ns1:deptDescr>
    <ns1:ministryCode/>
    <ns1:ministryDescr>Core Services</ns1:ministryDescr>
    <ns1:subministryCode/>
    <ns1:subministryDescr>Information Technology Group</ns1:subministryDescr>
    <ns1:wwcFreeSubFlag>N</ns1:wwcFreeSubFlag>
    <ns1:lakeHartMC>1234</ns1:lakeHartMC>
    <ns1:testFlag>Y</ns1:testFlag>
    </ns1:USEmployment>
    </SiebelMessage>
    </part>
    </UpsertEmpInput>
    </input>
    <fault>
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <remoteFault>
    <part name="summary">
    <summary>oracle.fabric.common.FabricException: Number of SOAP body elements and parts do not match in operation: UpsertEmp</summary>
    </part>
    <part name="detail">
    <detail>Number of SOAP body elements and parts do not match in operation: UpsertEmp</detail>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>

    Welcome to BPEL. Take a moment, and write "it's a namespace issue" on a sheet of paper. Post it near your monitor. It won't always be a namespace issue, but it's usually a good thing to suspect first! Is the namespace prefix ns1: defined somewhere? Does your XML that is being sent really match what the WSDL has for input to the UpsertEmp operation? The namespaces for each element level in the XML need to match, not just the lowest level.
    When problems like this get really sticky, you can use TCP tunneling (obtunnel shell?) to capture what is really being sent to the server, and compare that to what is sent from SOAPUI. That's more useful if it's a subtle header problem, but you may get better error messages if you catch the BPEL message and send it using SOAPUI.
    Good Luck, Andy

  • Business Objects, external services and application services in CAs

    Hi All,
    right now we are developing our first eSOA Composite Application with CE and I have some questions regarding Business Objects, the import of external services and the development of application services.
    As I understood there are two ways to provide business functionality for composite applications:
    a. Import backend functionality as an external service (e.g. BAPI, RFC) at the CAF, build the application service which can be used as a callable object for UIs or the GPs
    b. Develop a local Business Object (in CAF) providing the business logic, create the application service which again can be used as a callable object. Furthermore the application service can be exposed as a Web Service (external service).
    My questions:
    1. When is it appropriate to to import external services in stead of developing local BOs?
    2. Under what conditions is it advisable to (solely) develop local BOs?
    3. What are the advantages / disadvantages regarding the reusability of the services (in option a and b)?
    Note: We are developing on NetWeaver 2004s.
    Please let me know, if you need more information to answer the questions!
    Thanks for your advice in advance,
    Regards,
    Ivonne

    Hi Ivonne,
    first of all, the CAF Business Objects (BOs) itself don't contain any business logic, they're basically just local database tables (with some CRUD services on top).
    Business logic is implemented in Application Services (AS).
    Now, regarding local BO's vs. external services, it depends on your use case. If the data is already available somewhere in your backend system it makes sense to use external services. For instance you wouldn't want to store business partners all over different composites. For data that is specific to your composite (in particular configuration, customizing etc.) and not likely to be reused by other applications you should use local BOs.
    Accessing local BO's is also much faster than calling external services.
    You can do reuse in both scenarios, since the CAF services can be exposed as web services.
    Regards,
    Christian
    Edited by: Christian Loos  on Apr 8, 2008 6:11 PM

  • Call external service in a Application service created from ES

    Hi Experts
    I have the follow situation:
    I've modeled a new service in Enterprise Service Builder. This service i'll implement in caf application. In the method create by application i'll call one method of external service.
    I imported this modeled service in Create Web Service Provider option in external package, select the Enterprise Service Repository source option and choice the respective Service Interface.
    In this moment the caf created a new application service, with methods of modeled service. That's all right.
    Now i import a external service of esworkplace. All the step are ok. But the problem is going to next step.
    I need to call this imported service in the method of application service. I know 3 way to do this:
    1. Mapping the external service with this application service. In this case i have a problem - the method of external service is expose as web service, and i don't want this. Just the method of modeled service must be expose.
    2. Create another application service, map the external service with this application service, and create a depency between this application service and the application service created by modeled service. I think this work fine and resolve the problem of expose the method of external service. However i think this isn't a good way to do.
    3. Instantiate the service class of exernal service. From this class i can call the method of external service in application service. But now i have another problem. If i see the implementation of this class, it have a static block which call a URL class, and pass as parameter a wsdl file located in one directory of my computer like
    url = new java.net.URL("file:/D:/SAP7110Workspace.jdi/LocalDevelopment/CRVP/demo.sap.com//ejbmodule/
    _comp/tmp/0/EJB/src/META-INF/xml/ext/rootwsdl_WorkCentreSimpleByPlantQueryResponse_InService.wsdl");
    when execute the application in the server it don't find this file and i give one error.
    I think the best way to do is the 3° way. But why did the caf generate the URL with My computer directory instead of in directory of application? There are some solution to this problem?
    I've change this line manualy, but all the time when i generate the project, i need change this code again.
    Regards
    Marcos

    Hi,
    You may consume external service via JNDI
    Context context = new InitialContext();
    <JNDI OBJECT> local = (<CAST JNDI OBJECT>)context.lookup("<JNDI OBJECT>");
    //Call the method
    If you are using CE 7.11, go to NWA -> Problem Management -> JNDI browser  > ..... -> ObjectName for <JNDI OBJECT>
    - julius

  • CAF WebServices don't appear in CAF Admin's External Service Configuration

    Hi,
    I have developed Web Services in CAF and deployed them on the WAS but they don't appear on the CAF Administrative Tools -> External Service Configuration under Service Registry.  They appear in the Web Service Navigator running on the J2EE-Engine but I can't set the authentication mode.
    What am doing incorrectly?
    Thanks.
    Dick

    Hi Richard,
    as far as i know the External Service configuration is only for web services (or RFC's) which are imported as external service in a CAF-Project.
    I assume you developed a application service in CAF and applied a web service on this. Those web services are not visible in external Service Configuration only (as you have found) in Service Navigator)
    I hope this helps,
    best regards,
    Rene

  • Subcontracting with external service / non-stock material

    Hi,
    I have a scenarion in subcontracting when i provided the components / raw materials to the in-house workshop (workshop treated as an internal vendor) and further more our workshop required some external services / non-stok material from third party... now how i will incured this service / non-stock material cost on finished product.
    (PP moudule is not implemented on project)
    Regards,
    Ali

    Hi,
    Please refer the following links ..it may help you...
    Subcontracting service to a FERT material.
    http://books.google.co.in/books?id=LDyarcerUu0C&pg=PA571&lpg=PA571&dq=Subcontractingwithexternalservice/non-stockmaterialinsap+mm&source=bl&ots=vj5kUO9dto&sig=vrlCpSZ0-V0BseN96Qw9rTVhsQ0&hl=en&ei=cJKRTs5_0MmsB6rrgIsB&sa=X&oi=book_result&ct=result&resnum=10&ved=0CG4Q6AEwCQ#v=onepage&q&f=false
    Regards,
    Udaya

  • External Service Management: Condition Table is empty

    Hello Experts,
    I have a scenario in ECC 5.0 - Material Management
    I am trying to post a Service Entry Sheet and I am getting an error "Conditions for service price determination incomplete". Upon investation I found that the standard SAP settings for condition types, condition schema available under External Service Management node in SPRO are all empty. i.e. There are no standard condition type available, no standard condition schema (MS000) available in the system.
    I dont know the cause of this problem but is there any way that we can import these standard entries from cleint 000. Or is there any other quick solution for this?
    Pls suggest.
    Best Regards,
    Amit

    Hi,
    please read the following SAP notes:
    499722 
    25357
    27024
    691852 
    438718
    798798  
    353482
    Regards,
    Edit

  • External Service Managmnet

    Dear Friends
    I would like to know about External Service Management
    In configuration of External Service management
    Materials Management - External Services Management - Service Master - Define Organizational Status for Service Categories
    There are three organizational service categories
    1)     AS01 u2013 Basic data status
    2)     AS02 u2013 Controlling Status
    3)     AS03 u2013 Purchasing Data Status
    My query is what the importance of the above three is and what circumstances we have to use?
    As per configuration we can create new organizational service categories, what circumstances it would be help
    Please explain
    Thanks
    Vijayakumar TVN

    Hi,
    You can assign the service master records administered in your company to different groups, according to their usage. Such a group is described by the service category.
    To characterize the service categories in more detail, the latter are assigned an organization status. The organization status indicates the areas in which service master records are used.
    For example, units of your company may use services provided internally by other units of the company, or procure services externally (from other companies). Your company may also provide services for others.
    AS01: If you select this the service master data is at basic data level. That means basic data about the service will be depicted here.
    AS02: Service master stored at basic and CO level. To maintain the information at CO level this organizational stus is required.
    AS03: Service master stored at basic plus purchsing level. For procurement purpose(MM), THIS LEVEL is useful.
    I hope this will give you clarity. Thanking you.

  • External Service mapping problem

    Hi guys
    I have integrated an External Service RFC function module.
    The parameters of this module contain "_" underscrores, e.g. "LFA1_LIFNR".
    When I go to the parameter mapping tab on block level, the "_" sign is omitted and I cannot automatically group those parameters with other ones. Is is displayed as "Lfa1lifnr".
    Is there a solution for this error??
    Regards,
    Go:khan

    Hi guys
    Sorry this posting should be inside "composite application framework".
    Regards,
    Go:khan

Maybe you are looking for

  • Error while saving Views in Portal - Technical name not valid.

    Hi, When saving Views in Portal, I'm getting the message The Technical name of object QVIW is not valid. I've searched the forums but couldn't find any solution to this issue. We are on SP 16. Any help would be appreciated. Thanks & Regards, Hari

  • Problem with broken libcurl after attempt to upgrade

    Hello, libculr fails to upgrade with an error message - pacman: error while loading shared libraries: /usr/lib/libcurl.so.4: invalid ELF header After that my system is hal broken - starting up, but some applications refuse to run. What i have to do t

  • Why does my iPad 2 suddenly need to activate SIM, go blank ?

    Hi everyone, I have a REALLY annoying problem with my iPad 2: Twice in about a month now, I open my smartcover, and I get the picture that says I need to connect to iTunes to activate. When I do that, it says the SIM card has a PIN, so I need to remo

  • Exception handling In File Adapter

    My requirement is that i am reading a file using file adapter but the file is not in correct format so it is not reading that file and even not making any bpel instance. so i need to add exception handling that show me the above error(file read failu

  • Java Server Proxy Alerts/Exceptions

    Hi How do i trigger alerts from within my java proxy receiver class? I need real-time alerts (like an email from the adapter engine) to let me know if something goes wrong within the proxy class when it is called. Thanks