Create an SAP Web Service Consumer (calling External Sharepoint Web Service from ABAP)
hi all,
i am trying to
Create an SAP Web Service Consumer (calling sharepoint Web Service from ABAP) using blog given on following link
Create an SAP Web Service Consumer (calling External Web Service from ABAP)
but when i am using my url at the end of step 3, i am getting error as follows:
i dont want to use local file option. Can anyone help me in this??
thanks in advance
regards,
SDS
Hi SDS,
you recieved a http 404 error when trying to access the Sharepoint Web service. Http 404 indicates that the resource is not reachable (cf. HTTP 404 - Wikipedia, the free encyclopedia). There could be different reasons for that. I'd suggest rubble checking the URL of the Web service first. Try to access it from a browser on you desktop. If the URL is correc. Most likely the SAP system is not able to connect to the URL. This could, for example, be due to some firewall restrictions. You should ask a SAP Basis colleague if they are able to access the URL of the Web service from the server on which the SAP system is running.
Christian
Similar Messages
-
Calling a SharePoint Web Service from SAP??
Hi Everyone,
I have been following the below link to call a SharePoint Web Service from SAP.
Consuming Microsoft SharePoint Web Services in SAP using Basic Authentication
But after entering the URL this pops up :
and I enter my SAP username and password, then I get this error:
But I have full SAP authorization.
Please can someone advice or help on this problem.
Thank you.Hi,
It accepts WSDL files, but only using basic authentification. I had the same problem. Probably you have NTLM authentification. Check note 1441809 - Logon fails when using IIS and NTLM authentication
Thanks,
Efren -
Calling an external shell script program from ABAP.
Hi,
Can i call an external shell script program from abap which is there on application server.
The FM WS_EXECUTE i know can be used for calling this purpose.
But i am getting a doubt that how can i call the external program from there.
Please clear my doubts.
Thanks in advance.
Vikashsearch in SCN for sm49 and sm69 Tr. you will surely find solutions for it, with a simple search.
-
Is it possible to call methods of JAVA objects from ABAP?
Hi all,
Does anyone know if it is possible to call methods of java classes from ABAP?
Regards,
SukruHi,
Yes we can access the classes of JAVA in ABP.
This is posible from version ECC 6 onward with NETWEAVER atrhcitecuture.
Pls go through this link-
http://help.sap.com/saphelp_nw04s/helpdata/en/84/54953fc405330ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/e1/b5443e02a9ab4186a6e1240a9a2455/frameset.htm
Here also we use the JCO connector objects
These clearly show the methods to use JAVA.
<removed_by_moderator_together_with_points>
Regards
Chandralekha
Edited by: Julius Bussche on Jul 8, 2008 5:58 PM -
Call Java Class and Methods from ABAP
Hi
I install de JCo, But how i can call java class and methods from ABAP?. somebody has an example?
The tutorial say that's is possible, but don't explain how do that?
Thanks.
Angel G. HurtadoIf you need only simple java program, you do not need to install JCo. The following codes can call java class.
DATA: COMMAND TYPE STRING VALUE 'C:\j2sdk1.4.2_08\bin\java',
DIR TYPE STRING VALUE D:\eclipse\workspace',
PARAMETER TYPE STRING VALUE 'Helloworld'. "here the name of your java program
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
APPLICATION = COMMAND
PARAMETER = PARAMETER
DEFAULT_DIRECTORY = DIR
MAXIMIZED =
MINIMIZED = 'X' "If you need the DOS window to be minimized
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
BAD_PARAMETER = 3
FILE_NOT_FOUND = 4
PATH_NOT_FOUND = 5
FILE_EXTENSION_UNKNOWN = 6
ERROR_EXECUTE_FAILED = 7
OTHERS = 8.
Tell me if it works.
Nuno. -
Office Web Apps not working externally SharePoint 2013
In the production farm we have connected office web apps server which is FQDN server name ( xxx.xxx.corp.local) , we can open the sites internally without any issues, but when we open from externally office web apps asking for authentication and not working
properly.
Please help me how to make it work in external.
Thanks, Ram ChYou will need a public facing URL or IP address. Check below
You need to configure your OWA for internet
New-OfficeWebAppsFarm –InternalUrl "md1xxx95.jdaxx.corp.local" -ExternalUrl "http://198.xxx.xxx.xxx" -EditingEnabled
Set-SPWOPIZone –zone
“external-http”
Detailed steps in
http://social.technet.microsoft.com/wiki/contents/articles/19039.sharepoint-2013-how-to-enable-office-web-apps-to-work-in-both-internal-and-external-environments.aspx
Set-SPWOPIZone –zone “external-http”
Set-SPWOPIZone –zone “external-http”
If this helped you resolve your issue, please mark it Answered -
Web Dynpro application calling external web server using HTTPS giving error
Hello,
I don't know whether this is the right question in this forum but my ABAP web-dynpro applicaiton is expected to call another HTTP application on external web server through HTTPS. Presently it is calling through plain HTTP but we want to have HTTPS.
Here are the steps that we followed based on the link from help.sap.com
1] Received the certificate files from external web server
2] Created SSL Anonymous client
3] Imported the certificate files under this client and added into the certificate list
4] Re-started ICM
5] Created RFC Destination of type HTTP to connect to external server with SSL option and basic authentication. This RFC destination was working under plain HTTP.
When tried with Test connection it gave error "ICM_HTTP_CONNECTION_FAILED".
Any idea what might be missing. Thanks in advance.
Regards
RajeevUsed proper certificate after which the error went away
-
How to call external application (transaction launcher) from event method
Hi all
Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
Best regards
Arne Thage / MarchIT / Denmarkhi,
check class CL_CRM_UI_LTX_NAVBAR_PARAM.
call method : CREATE_PARAMETER_OBJECT with parameters
IV_LINK_ID Importing Type CRMT_UI_LOGICAL_LINK_ID Logical Link ID
IV_PARAMETER Importing Type CRMT_UI_LINK_PARAMETER Link Parameter
RV_RESULT Returning Type Ref To IF_BOL_BO_PROPERTY_ACCESS BO Attribute
I think it should work but have never done myself.
Best Regards
Pankaj Kumar -
OSB Setting SOAP Body Id value in proxy service when calling out to another service
I have a proxy service deployed in OSB. I need to set the Id attribute value on the SOAP Body element to a specific value prior to invoking the business service.
In the service callout I currently has "Configure Payload Document" selected.
Do I need to do an XPath / XQuery transformation in an Insert or Update message processing action in a prior step of the message flow before the callout to the business service?Suppose below is your request you are passing to Business Service :
<math:input
xmlns:math="http://www.math.org">
<math:inp1>100</math:inp1>
<math:inp2>1</math:inp2>
</math:input>
Now before passing it to BS you need to change the value of inp2 to let say 200.
So just before service callout , add a replace action
Replace [ node contents ] of [ ./math:input/math:inp2 ] in [ body ] with [ 200 ]
Your new request will become:
<math:input
xmlns:math="http://www.math.org">
<math:inp1>100</math:inp1>
<math:inp2>200</math:inp2>
</math:input>
Hope this helps.
Regards,
Karan
Oracle Fusion Middleware Blog -
Call to metod in java from abap
Hi,
there is a way to use method of java in abap ?
RegardsIf you search Google for
ABAP jco outbound
you should be able to find a wealth of info - for example
[SAP Java Connector (SAP Library - Components of SAP Communication ...|http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm]
Jonathan -
OSB - Response timer when business service call external webservice slowly.
I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
pls help me.I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
pls help me. -
How to call external Perl routines from Pl/SQL - Urgent
Available software in the Test Environment:
1. Sun Unix 2.8
2. Oracle 8.1.7 ( 8i)
3. Perl 5
Iam trying to call/execute perl scripts from PL/SQL using the DEMO_RDBMS.mk. I am able to call C scripts from PL/SQL, but actually want to call Perl scripts.
The steps followed for for C are -
1. Create and compile a simple C program to execute a unix command (eg., touch a file).
2. Make a shared library of the above compiled program (object), i.e., load the compiled object module into a dynamic load library.
3. Declare the above library in Oracle using SQL*Plus.
4. Define a PL/SQL function or procedure to call the external routine.
5. Test the external routine.
The above steps run good for a C program, but step 2 fails when run for a Perl script.
When I tried to use the following command for step 2 -
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_callback \
SHARED_LIBNAME=cmd_lib.so \
OBJS=tst_cmd.pl
got the following error -
ld: fatal: file tst_cmd.pl: unknown file type.
ld: fatal: File processing errors. No output written t cmd_lib.so
*** Error code 1
This gives me an indication that demo_rdbms.mk does not understand/interpret Perl scripts. Going through the demo_rdbms.mk suggests the same.
My questions is - How do we call external Perl scripts/routines from PL/SQL ??
Do I have to get a different version of "demo_rdbms.mk" ?
PS: The perl scripts used above (tst_cmd.pl) is error free and works as intended in the unix environment.Iam trying to call/execute perl scripts from PL/SQL using the DEMO_RDBMS.mk. I am able to call C scripts from PL/SQL, but actually want to call Perl scripts. Well, C is a "compiler" language and Perl is interpreted. In a sense, C is not "scripts".
When I tried to use the following command for step 2 -
make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_callback \
SHARED_LIBNAME=cmd_lib.so \
OBJS=tst_cmd.pl
got the following error -
ld: fatal: file tst_cmd.pl: unknown file type.
ld: fatal: File processing errors. No output written t cmd_lib.soI guess this compiles an extproc "stub" with your object file, generating an external procedure. So the object file really needs to be an object file :-)
My questions is - How do we call external Perl scripts/routines from PL/SQL ??I'd guess you need an embedded Perl interpreter in the external procedure.
Not much help though I'm afraid :-/
Cheers
Fredrik -
Hi,
I Create WS in BE1 (Server ) and i want to call it explicitly via Code from other backend BE2 (Client) .
I followed this procedure
1. Create WS on the Target system (in the Server).
2. Generate proxy on the client (in the client).
3. Create logical port Via Lpconfig (in client).
I use this code to call to the service :
DATA: lv_port_name TYPE srt_lp_name,
lv_text TYPE string,
lt_return TYPE bapirettab.
DATA: lref_client_proxy TYPE REF TO z_ser_test_perf,
in TYPE z_ser_tst_per,
out TYPE z_ser_tst_per_r.
* Get Default Logical Port for Proxy
CONSTANTS: lc_proxy TYPE srt_lp_proxyclass VALUE 'ZHCO_SER_T_PER'.
in-user = 'AST'.
in-work_id = '00570538637'.
CALL METHOD cl_srt_lp_maintenance=>get_default_port_by_proxy
EXPORTING
proxyclass = lc_proxy
RECEIVING
lp_name = lv_port_name.
TRY.
CREATE OBJECT lref_client_proxy
EXPORTING
logical_port_name = lv_port_name.
CATCH cx_ai_system_fault.
ENDTRY.
TRY.
CALL METHOD lref_client_proxy->z_tst_performance
EXPORTING
input = in
IMPORTING
output = out.
catch CX_AI_SYSTEM_FAULT into lr_error.
lv_message = lr_error->get_text( ).
CATCH cx_ai_application_fault.
ENDTRY.
In the method lref_client_proxy- i get exception :
SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
Does anyone have an idea how to avoid this exception?
P.S.
I also create logical port via Soamanager but the first and the second method don't find it (i saw the entry in table SRT_CFG_CLI_ASGN ) and when i call to the third method alone i get dump for null reference.
Best Regards
Nina
Edited by: Nina C on May 5, 2009 10:33 PMhi , nina
the null poitnexception is that u r referring to the logicl port while creatign the object
dotn pass anything , just use
create object proxy name
Data : l_proxy type ref to ZSTRCO_ZSTARWEB,
lo_sys_exception TYPE REF TO cx_ai_system_fault,
out type ZSTRZSTAR_RESPONSE,
in type ZSTRZSTAR,
it_controller type PRXCTRLTAB,
wa_controller type prxctrl.
create object l_proxy.
in-a = 8.
in-b = 4.
TRY.
CALL METHOD l_proxy->zstar
EXPORTING
input = in
IMPORTING
output = out
. CATCH cx_ai_system_fault into lo_sys_exception .
ENDTRY.
write : out-c.
i never used logical port , i created it but never used
just instantiate the object and pass the input an dout put paramters , the logical port will be picked form run time
and u can test the proxy from se80
1) just double click on th eproxy name in SE80 , u can select the package in which u created the pproxy , then under enterprise services --> client proxy and ur proxy name
just test from there u get a pop up of test service consumer and select the logical port from drop down and seelct the generate template data and execute it , u will get a screen where the input values will be autmatically proposed and then u execute from there u wil get the output.
2) seond method is when in SE80 when u select the proxy u can see the prxy name in the prpoerties which will be Proxy Class (generated) , then test this class by using execute button u get a screen where u haev to instantiate the class , give the logical port name and click the instance button, then ur method wil be shown execute it and u get ur input paramters just clikc them, give the values and come back and execute u will get the output
hope it solves ur prob
regards
afzal -
Calling KM navigation iview from ABAP
Hi All,
I am trying to call the KM Navigation iview from ABAP webdynpro view. it is like implement the same functionality as currently available for Repository filters through ABAP coding. I have to create a new Folder in the KM and call the KM Navigation iview for that specific folder. I know KM has provided few new webservices which I can use to create a new folder in the KM repository but I am unable to open the KM navigation iview with the newly created folder through coding.
I am using the navigate_absolute Portal Navigation method to call the KM Navigation iview from ABAP code. Currently it is opening iview with the folder set as root folder in the iview property but I need to open it with the newly created folder through the code. The same sort of functionality is implemented from java code by passing the Business parameter with navigate_absolute method. The problem with ABAP code is that I don't know what is the exact format of the Business parameter to be passed.
In the java code the Business parameter is passed as
Uri=/documents/cprxrpm/46A73F1FEED21B0DE10000000A4241A8:DFM_450_MIT3_SAURABH/RIH/47B44774254208CCE10000000A4241A8:wonder-item-01 :WONDER-ITEM-01
Does anybody have idea how can i implement the same scenario in ABAP and what should be the format of the to be passed as Business Parameter from ABAP code ?
Regards,
VikashIn the abap web dynpro view create an exit out bound plug with url as parameter.
In your wddoinit call the the url. The url can be accessed by previewing the km iview in content management. Hope this helps. -
Calling 3rd party softwar from ABAP
hi all,
I would like to know is it possible, if yes, how to perform a call to launch external 3rd party software from ABAP (example, half way in process of a BDC session) and pass back the information from 3rd party software back to ABAP.
Thanks in advance!
Regards,
JLHi,
For that please refer to the following link:
http://help.sap.com/saphelp_nw70/helpdata/en/80/b711d7d6d03d4a956f16bb854a186e/frameset.htm
Regards,
Renjith Michael.
Maybe you are looking for
-
Hi Folks, is it possible to use multimapping with server proxy as receiver without BPM?? I have to split a Message from JDBC Sender to Proxy server an have to split the message from jdbc select resultsset to many single messages . regards ralf
-
Similar to "Iphone does not appear in Itunes!!" but on a mac
(This is different from what I posted under the other topic.) Hi. I am all Mac and cannot get either my iPhone nor my iPod Touch 2nd Gen to be recognized by iTunes. I know this is iPhone section but I feel bother are suffering from the same problem.
-
Convert canvas.toDataURL('image/jpeg') to java.sql.Blob. I am using oracle adf so I am able to action a backing bean from javascript and pass in parameters as a map. I pass in the canvas.toDataURL('image/jpeg') which I then try to decode in my bean.
-
Is there any easy way to download PDF files forgot safari or any other applcations and save it to iBooks with out using iTunes or Mac? I would like to arrange all my PDFs in iBooks but using iTunes every time is annoying.
-
hi guys morning. i use MVC to develop a BSP page ,in my layout there are two part, one is the inputfields and a button , the other is the tableview to display the search result. and if the user began to click the button,firstly i us