SAP PI calling the webservice generated through BRF+
Hi All,
The scenario is
SAP ECC(IDoc) --> PI --> SAP MII
. The data coming from ECC in the IDoc will be in a third party format, but we want MII to receive data in SAP format.
For this we have decided to use BRF. I want to know that how can I use the webservice which we generate from BRF in SAP PI. Which adapter supports calling of webservice or if there is any other section of SAP PI where this transformation can be done using BRF+ webservice? Please help
Thanks,
NehaSingh
Hi,
The message coming from ECC has values in ISO format and MII needs values in SAP format. For this conversion to happen I need to use the BRF+ and when I raised the same request on "Business Rule Management/BRF+" forum. I got the following reply.
ht[Re: Calling web service generated through BRF+ in SAP PI|Re: Calling web service generated through BRF+ in SAP PI]
Now, Can anyone please help me with answers to following question:
Since my Source Message is an IDoc, I cannot directly use the RFC that will call the Function Module that I require for format conversion,
Can I use RFC Lookup to satisfy the requirement. If yes how to go about it. Actually I am using RFC LookUp for the first time, so the basic steps that we need to follow for RFC Lookup are needed. I went through some Blogs but did not understand how it will be applicable in my case. Please Help
Thanks and Regards,
NehaSingh
Similar Messages
-
Problems while calling the webservice published at XI end
Hi ,
I have published a webservice at the XI end and to test it I am calling the webservice from xmlspy .
I do get the popup for username and password in the xmlspy for the adapter but it fails to send the data to the webservice .
I even checked the SOAP adapter status in the RWB and its grey. and the installed and started option of adapter monitoring the soap adapter is not shown .
Can anyone through some light as to what can be the reason behind this .
is it the problem with the adapter or the webservice
Thanks
NikhilHI Ricardo ,
I have tried that but still I am getting the below error.
<b>java.lang.Exception: Channel not found for :SIEBEL_DEV:SIEBEL_SOAP in SOAP
at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)
at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
</b>
any other Ideas.
Thanks
Nikhil -
Calling the webservice twice - Duplicate entries
Hi Experts,
Scenario : SOAP Client -> Call Microsoft webservice -> XI JDBC Sync call-> Call Microsoft webservice.
BPM Steps:
1. Receive Step -> Get the SOAP Client request (Open S/A Bridge)
2. Send Step -> Async call to Microsoft webservice to update the log status.
3. Send Step -> Sync call to JDBC
5. Send Step -> Close the S/A bridge
6. Send Step -> Call the Microsoft webservice to update the log status.
Receiver Determination Steps
1. SOAP Sender to BPM
2. BPM(Async request) to 2 Log Business Service. I have mentioned the both business service under Configured Receivers section in Receiver Determination.
3. BPM(Sync request) to JDBC
Issue : The JDBC part works fine. Only problem with the Microsoft webservice. Twice it update the log table. ie. Twice it calls the Microsoft's each webservice.
Please help me out, how to stop the second retry and let me know the above approach is correct or not.
Thanks & Regards
SaraHi Sara,
As per your info, Earlier you was trying to call both logging updates under one Sync/Async Bridge. But on Webservice side it will give you two responses and you will handling only one.
In later case also you are handling only 1st response of Webservice call, but the another call is still open.
Actually you are trying to built two Sync/Async Birdges. Which is not at all possible under one BPM.
SAP have not recommended for it.
Refer
http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
You need to create two seperate interfaces for this.
For e.g.
1st will call the Webservice before updating the JDBC tables.
2nd After updating the JDBC table you can again call the Webservice for updated logging status.
Thanks
Swarup
Edited by: Swarup Sawant on Jun 2, 2008 8:50 AM -
How to call the webservice using ADF Bindings
Hi,
I have created a Data control of the webservice using the WSDL Url. (Web Service is secured and so i have given the security configurations)
Webservice works fine when i drag and drop that in to a jspx page.
Now i want to call the service from a java class so that i can modify the data a bit. ( Tried with Webservice client and proxy and it is not working)
Please provide me with some link or solution as how to achieve this.
Thanks,
HariYou need to have the method binding in the page that calls the Web service - otherwise you can't use the binding layer.
If you don't want to use the binding layer you can have your managed bean just call out to the Web service directly - you can use JDeveloper's Web service proxy creation wizard to get the code for this.
If you want to call the Web service through binding outside of the page you can also drag the method into a taskflow as a method call. -
Trying to call a webservice generated by coldfusion
Hi
We are running SAP PI 7.11.
We are trying, from SAP PI, to call a webservice that is created by coldfusion - the target url is called
http:/...../edb_service.cfc?wsdl via the SOAP adapter (RECEIVER)
Our adapter/comm channel fails with a http error 500:
"SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error. Setting message to status failed."
It appears that we are not getting any connection at all. When trying to call the webservice from XMLSPY it works fine? Are there any restriction to call a webservice created by coldfusion?
How can I get any better logging of the call attempt, because I can not see anything out of the comm. channel eror message.
Any help would be appreciated.
ThxHi
the target url should be http:/...../edb_service.cfc
also mention the correct action.
you would not get the error.
Regards
Monika -
Call the webservice on the portal sometimes "基础连接已经关闭: 接收时发生错误"happened.
call the webservice on the portal sometimes u201C基础连接已经关闭: 接收时发生错误u201Dhappened,the english meaning "basis connection is closed,error when recieve"
Hello,
MDM Version is 5.5.65.86
Portal
sap.com/SAP-JEECOR 7.00 SP18 (1000.7.00.18.0.20081123155626) 20091203155047
sap.com/SAP-JEE 7.00 SP18 (1000.7.00.18.0.20081123155510) 20091203154825
sap.com MDM_JAVA_API 5.50 SP6 (1000.5.50.6.5.20100120101105) SAP AG SAP AG 20100204091131
sap.com MDM_WEB_SERVICES 550 SP6 (1000.550.0.6.5.20100117165943) SAP AG MAIN_MDM55VA_C 20100204091208
this problem happened after our P system upgrade from 5.5.65.76 to 5.5.65.86,sometime when our MDM upgrade,SAP supply correspond WEBSERVICE jar, but this time ,SAP does not supply the correspond WEBSERVICE JAR file.we used WEBSERVICE JAR is the one that correspond with 5.5.65.76 may be this is the isuue causation -
How can we default a Purchase Organisation in the PR generated through MRP
Hi,
How can we default a Purchase Organisation in the PR generated through MRP
(This is a Auto generated PR when the MRP Run is taken)
We take a MRP Run for CBP. After the MRP Run system Auto generates a PR. But this PR does not have the P.organisation mentioned in it. It has to be done manually.
How can we Default the P.Organiastion in the PR.
NSThe Purchasing Organization is only filled in the Purchase Requisition
when a source is assigned because it represents a source of supply.
Please also refer to attached note 206684 for more information.
When executing a MRP-run, it is checked first if there exists a quota
arrangement, the source list is read after it and the purchasing
organization is taken from the source list. But before filling
the relevant field in the purchase requisition (EBAN-EKORG), the
system checks if there exists a record in the source list which is
RELEVANT TO MRP, which means that the parameter 'MRP' has to be set to
'1'.
So please ensure that MRP = 1 in ME01 for the existing records and start
the next planning run with planning mode = 3 and check the results. -
How to call the webservice in abap program
Hi All,
I have created a web service for my RFC . The RFC has Import and export paramaters.
I want call the same web service into my ABAP REPORT and at the same time i want pass the values to webservice and get the result from webservice in my abap report,
Please help me how to call the web service and pass the values and get the values?
Highly appreciate your assitance.
Thanks,
KishanHi Kishan,
You can refer to following help document,
http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/content.htm
Regards,
Meera -
I can not call the webservice?!?!?
Hello,
I want to call a webservice, but the Inputfields are all disabled. I have used a simple Weahterservice where I can input a city.
I can not use it.
Also I have follow the steps in the weblog: /people/anilkumar.vippagunta2/blog/2005/07/20/developing-web-application-without-writing-single-line-of-code-my-first-web-log
But there is the same problem. I can not use the input-fields. In this example I have create the output for the state of delivery. When I push the button, the request is shown on the form: "Please enter correct from email address to send this message". So I think, that the webservice work.
What is my mistake? If anybody want to help me, I can send my project-files. It's only the usage of the webservice.
Thanks,
Peter
Edited by: Peter S on Jan 14, 2008 11:21 AM
The Webservice I used in my own sample is : http://www.webservicex.net/WeatherForecast.asmx
for WSDL use http://www.webservicex.net/WeatherForecast.asmx?wsdlI have not called the class which was under response
-
How to call the DLL functions through Java
Hello,
I have already got a VC++ generated DLL. It has serveral functionalities. I need to call those functions from my Java Application. Now i know that it can be possible only through writing Java JNI Interfaces.
Everywhere i only see they give an example where in they tell to create an DLL. Now how do i will call if an DLL is ready and exists.
If anyone can give an example then it will be very helpful to me. Please mail me at [email protected] .
Thank you
vvpatroYou can't call functions in an arbitary DLL form Java. You need to use JNI to produce a 'wrapper' DLL that maps Java methods to the methods in the target DLL. The purpose of the wrapper is to allow type conversion between Java types and C/C++ types. The complexity of this task depends largely on the types used in th target DLL. If the targer DLL uses only primitive types such as char, byte, int, long, string, the translation is simple and the wrapper DLL will be 'thin'. If however, the target DLL passes arrays and objects, or employs callbacks, these more work to do, and the wrapper will be correspondingly 'thicker'.
Hope this helps. -
Call the webservices in webdynpro ABAP.
Hi,
I have WSDL file. please tell me the procedure how to call webservices in webdynpro -ABAP.
Thank you
neelimaHi neelima,
Refer This,
<b>Consuming XI Web Services using Web Dynpro</b>
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3593. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
<b>Web service related scenario with XI</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9.
(Reward Points If helpful)
Regards
Nandha. -
How to call the javascript file through sdk?
I created a plugin through SDK. Now i need to call my javascript file in that plugin code(c++). Could you please advice me with some samples. This is for "Illustrator CS".
Thanks,
PrabudassI haven't the foggiest idea, except to perhaps suggest firing a script by using the AIActionManager::PlayAction command. That's assuming you can 'action' the use of a script though. If you can, it should be possible that way, if not, I have no idea.
-
Calling the ASP page through a BSP application
Hi,
We are in the process of implementing Digital signature for SRM cFolders.
BSP application : CFX_RFC_UI
Pages with flow logic : doc_de_download
The digitally signed files are uploaded to the cFolders.On click of a
particular file in cFolders, the 'ASP' page residing on the server in IIS
vertual directory i.e. 'verifyfile.asp' should get called.This ASP page has
the logic to verify the signed file.
The signed file resides on the file system in the same vertual directory.
As a result we want to post a message on the screen which
will be the output of the ASP page logic.
Please suggest the way to achieve this.
Regards,
Nilesh
Message : ---
<b>Verification Successful</b>
Certificate Details
The certificate is valid
CRL Status: Certificate Revocation Status is Unknown: CRL Not checked
Email Id: [email protected]
Issuer Name: ock Demo Certification Authority
Serial Number: 15 65 7a 0a 00 00 0d d9
Subject Name: Email Address = [email protected] | Country = US
| StateOrProvince = VA | Locality = McLean | Organization = Technologies Corporation | Organizational Unit = ock Demo | Common Name = Valid ock |
ThumbPrint: 16 00 c1 f4 76 aa 57 f2 20 27 0f 21 44 9e 08 9d 61 ca dd 95
Valid From: Monday, April 10 2006,02:19:58
<i><b>The code in OnInitialization event handler is as follows :----</b></i>
* doc_de_download.htm
DATA lp_root_exception TYPE REF TO cx_root.
DATA lp_doc TYPE REF TO cl_cfx_document.
DATA l_cur_ver_id TYPE guid_32.
DATA lp_col_app TYPE REF TO cl_cfx_col_application.
DATA lp_col TYPE REF TO cl_cfx_collaboration.
DATA : icontent type table of sdokcntbin.
data : w_tmpcontent TYPE sdokcntbin.
**** Data declaration
data : g_folder_path TYPE btcxpgpar value 'usrsapDigitally signed files',
g_md(100) TYPE c,
g_file_path TYPE string,
g_system TYPE rfcdisplay-rfchost,
g_os TYPE sxpgcolist-opsystem,
g_file_size TYPE string,
g_mime_type TYPE string,
g_file_ext TYPE string,
g_len1 TYPE i,
g_var TYPE c,
g_out_file TYPE c LENGTH 600,
g_file_count TYPE p,
g_table_lines TYPE p,
g_counter TYPE p VALUE 1,
g_flag TYPE c.
DATA : i_doc_id TYPE sysuuid_c.
CONSTANTS : c_dot TYPE c VALUE '.'.
TRY.
IF NOT p_refresh IS INITIAL.
cl_cfx_ui_application=>delete_instance( ).
ENDIF.
TRANSLATE p_col_id TO UPPER CASE. "Just in case...
TRANSLATE p_area_id TO UPPER CASE. "Just in case...
TRANSLATE p_topic_id TO UPPER CASE. "Just in case...
TRANSLATE p_doc_id TO UPPER CASE. "Just in case...
TRANSLATE p_ver_id TO UPPER CASE. "Just in case...
TRANSLATE p_save TO UPPER CASE. "Just in case...
* initialize in case of server state timeout
IF ( NOT p_col_id IS INITIAL ) AND
( NOT p_area_id IS INITIAL ) AND
( NOT p_topic_id IS INITIAL ).
CALL METHOD cl_cfx_context_ui=>initialize
EXPORTING
i_col_id = p_col_id
i_area_id = p_area_id
i_topic_id = p_topic_id
i_doc_id = p_doc_id
i_object_type = cfxf1_sc_doc_type_document.
ENDIF.
IF NOT p_col_id IS INITIAL.
lp_col_app = cl_cfx_col_application=>get_instance( ).
lp_col = lp_col_app->get_collaboration( p_col_id ).
ENDIF.
* Do we need to prepare to checkout this document?
cl_cfx_doc_ui=>get_docref_safe(
EXPORTING
i_guid = p_doc_id
IMPORTING
ep_docref = lp_doc ).
IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
IF l_cur_ver_id = p_ver_id.
* OK, prepare checkout
TRY.
lp_doc->if_cfx_document~lock( ).
CATCH cx_root.
ENDTRY.
ENDIF.
ENDIF.
data: lt_formfields type TIHTTPNVP,
l_formfield type IHTTPNVP,
l_request type STRING.
data: lt_headerfields type TIHTTPNVP,
l_headerfield type IHTTPNVP.
CALL METHOD request->get_form_fields
CHANGING
fields = lt_formfields.
CALL METHOD request->get_header_fields
CHANGING
fields = lt_headerfields.
* CALL METHOD cl_cfx_doc_ui=>retrieve_content
* EXPORTING
* ip_navigation = navigation
* ip_response = response
* ip_runtime = runtime
* i_col_id = p_col_id
* i_area_id = p_area_id
* i_topic_id = p_topic_id
* i_doc_id = p_doc_id
* i_ver_id = p_ver_id
* i_save = p_save.
* Do we need to checkout this document?
cl_cfx_doc_ui=>get_docref_safe(
EXPORTING
i_guid = p_doc_id
IMPORTING
ep_docref = lp_doc ).
IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
* l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
IF l_cur_ver_id = p_ver_id.
* OK, do checkout
TRY.
CALL METHOD cl_cfx_doc_ui=>mark_doc_as_checked_out
EXPORTING
ip_doc = lp_doc
i_filepath = p_filepath.
CATCH cx_root.
ENDTRY.
ENDIF.
ENDIF.
i_doc_id = p_ver_id.
CALL FUNCTION 'CFX_API_DOC_DOCUMENT_READ'
Exporting
i_doc_version_id = i_doc_id
IMPORTING
e_file_path = g_file_path
e_file_size = g_file_size
e_mime_type = g_mime_type
e_file_ext = g_file_ext
TABLES
et_content = icontent.
****** Download document
IF NOT icontent[] IS INITIAL.
*** PERFORM sub_download_file USING g_file_path.
CONCATENATE g_folder_path g_file_path
INTO g_out_file.
OPEN DATASET g_out_file FOR OUTPUT IN BINARY MODE.
IF sy-subrc = 0.
LOOP AT icontent INTO w_tmpcontent.
TRANSFER w_tmpcontent TO g_out_file.
ENDLOOP.
ENDIF.
CLOSE DATASET g_out_file.
CLEAR g_out_file.
ENDIF.
CLEAR: p_area_id, p_col_id, p_doc_id, p_save,
p_topic_id, p_ver_id, p_filepath.
** handle other standard exceptions
CATCH cx_root INTO lp_root_exception.
CALL METHOD cl_cfx_exception_ui=>handle
EXPORTING
ip_exception = lp_root_exception
ip_navigation = navigation.
ENDTRY.Hi,
Something like this should work:
REPORT zggar_http_client.
PARAMETERS: p_host TYPE char100 DEFAULT 'http://www.google.fr',
p_port TYPE char20.
DATA: wcl_client TYPE REF TO if_http_client.
DATA: w_content TYPE string,
w_host TYPE string,
w_port TYPE string,
w_proxy_host TYPE string,
w_proxy_port TYPE string,
w_path TYPE string.
w_host = p_host.
w_port = p_port.
CALL METHOD cl_http_client=>create
EXPORTING
host = w_host
service = w_port
proxy_host = w_proxy_host
proxy_service = w_proxy_port
IMPORTING
client = wcl_client.
wcl_client->request->set_header_field( name = '~request_uri'
value = w_path ). "#EC *
wcl_client->request->set_header_field( name = '~request_method'
value = 'GET' ). "#EC *
* send and receive
wcl_client->send( ).
wcl_client->receive( ).
* display content
w_content = wcl_client->response->get_cdata( ).
Best regards,
Guillaume -
How to include atribute xsi:type in the xml generated through java
Hi,
i am generating an xml using java and castor.
I want to include this attribute in my xml:
xsi:type="abc"
for example:
My snippet is:
Underwriting_detail[] underwritingDetail = new Underwriting_detail[1];
underwritingDetail[0] = new Underwriting_detail();
underwritingDetail[0].setContent(fulfillmentPreResponseTO.getUnderwritingDetailsMainAnswer1());
underwritingDetail[0].setQuestion_code(fulfillmentPreResponseTO.getUnderwritingDetailsMainQuestionCode1());
underwritingDetail[0].setAnswer_format(AnswerFormatType.YESNO);
underwritingDetail[0].setSequence_number(fulfillmentPreResponseTO.getUnderwritingDetailsSequenceNumber());
Result is:
<underwriting_detail answer_format="YesNo" sequence_number="1" question_code="JVL1Q1">NO</underwriting_detail>
The requirement is:
<underwriting_detail xsi:type="NonStdUWQuestion" answer_format="YesNo" sequence_number="1" question_code="JVL1Q1">No</underwriting_detail>
There is no method defined in the underwriting_detail class to add this attribute. Is there any way to add this xsi:type="NonStdUWQuestion" in this tag?yes, is a question of JSF
Component dataTable -
ODI not picking the file generated through calcscript
Hi John,
We have used samba and mapped the folder from linux to windows.We named the drive and specified the path.
Now i ran the interface which invokes the calcscript for data extraction and the script ran well.I t generated the file. But the file is not being picked by ODI.
I got the following error
Error occured while reading the data file produced by calculation script.
Caused by: java.io.FileNotFoundException: Y:\Data_Opex.csv (The system cannot find the path specified)
Please suggestSravan Ganti wrote:
Hi John,
Its a network drive.I named it as Y: and trying to access it. If its not possible please suggest an other alternative. The client wants the dataload from essbase to be automated.and it is stopping a huge deliverable for us.Why can't you share another drive on the windows machine? If ODI can't see the Y drive then you will have to put it on another drive.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Vendor line item analysis.
Hi, This company enters into a variety of transactions with a vendor, say, it buys materials, pays advance for purchase of asset, buys some services. The user wants to be able to display the vendor line items segregated into (1) materials (2) assets
-
Hey Ron, Strider, dreed2, schadow---long time. I'm shep from the previous forum days. I turned on my old Bondi Rev B this morning, went about had coffee, shower, etc. Went back to it and I thought well maybe I didn't turn it on. So hit thhe power but
-
I am experiencing difficulties with MS Project 2010. These refer to the following: 1. I highligh with colors some task lines. After saving the file, I try to highlight other tasks as and when there are changes. In doing so, all colors disappear,
-
Help required : On dependent LOV
Hi All, I am facing an issue in one of my custom Search page. The search page is having the 2 LOV items (Branch Code and Branch Name) as search criteria. These 2 LOV's are dependent each other in declarative approach. And we have the 'Select a valid
-
Getting and printing command-line arguments
(char *)curpsinfo->pr_psargs will give me the "first part of the command line", but that has two deficiencies: 1. If the command line is long, it might get truncated. 2. If the command line contains white space, I have no way to know whether the spac