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
Similar Messages
-
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,
SDSHi 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 -
Dear All,
How can we call web service from SAP?
Thanks in Advance,
RamanaHI kcr,
pls see this link
http://****************/Tutorials/Others/ValidateEmailID/Webservice.htm
write this program
REPORT zvalidate_email.PARAMETERS: p_mail(100) LOWER CASE. " E-Mail id to be verifiedDATA: http_client TYPE REF TO if_http_client .DATA: w_string TYPE string ,
w_result TYPE string ,
r_str TYPE string .DATA: result_tab TYPE TABLE OF string.START-OF-SELECTION .
CLEAR w_string .
CONCATENATE
'http://www.webservicex.net/ValidateEmail.asmx/IsValidEmail?Email=' p_mail
INTO
w_string . CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = w_string
IMPORTING
client = http_client
EXCEPTIONS
argument_not_found = 1
plugin_not_active = 2
internal_error = 3
OTHERS = 4. CALL METHOD http_client->send
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2. CALL METHOD http_client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3.
CLEAR w_result .
w_result = http_client->response->get_cdata( ). REFRESH result_tab .
SPLIT w_result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab . READ TABLE result_tab INTO r_str INDEX 2.
IF r_str+44(1) = 't'.
WRITE:/ 'Valid email address'.
ELSE.
WRITE:/ 'Invalid email address'.
ENDIF.Output:
thanks
karthik -
How to call WEB Service From SAP
Hi Friends,
How to call WEB Service From SAP.
Thanks in advance,
Murali Krishna KHi,
if you mean calling a web service in Web Dynpro ABAP, see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d7/951b42f828df2ce10000000a1550b0/frameset.htm">documentation</a>, if you mean calling a web service in general, this is not the correct forum. This here is the Web Dynpro ABAP forum, for general questions on ABAP, use the ABAP forum.
Regards, Heidi -
It it possible to call web service from SAP 4.6 c..If yes how
Hi Friends,
It it possible to call web service from SAP 4.6 c..If yes how
Thanks in Advance.
Murali Krishna KIt is not possible to directly call a web service from SAP 4.6c.
Indeed, web service enablement is available as from Web AS 6.20, thus as from SAP R/3 4.7
So as described above, the solution is indeed to make use of PI(XI) for this.
Rgds,
Karim -
How to call WEB Service From SAP 4.6 c
Hi Friend,
How to call WEB Service From SAP 4.6 c Report
Thanks in advance.It is not possible to directly call a web service from SAP 4.6c.
Indeed, web service enablement is available as from Web AS 6.20, thus as from SAP R/3 4.7
So as described above, the solution is indeed to make use of PI(XI) for this.
Rgds,
Karim -
Calling an external web service from SharePoint 2010
Hi Friends,
Idea is to call an external web service from SharePoint 2010 list.
Can we do this using visual studio 2010, how.
another pointers, please advise.Hi,
You can create Windows Communication Foundation (WCF) web services that you can consume as external content types from Microsoft Business Connectivity Services (BCS).
For more information, you can refer to:
http://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
http://www.c-sharpcorner.com/UploadFile/Roji.Joy/connecting-to-a-web-service-using-business-connectivity-serv/
http://blogs.msmvps.com/windsor/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010/
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Hi,
Calling WEB services from SAP and Please any one give idea to implement using ABAP. What the technology being used when
SAP connecting with ex: .net environment i.e Tight coupling environment.
Kindly advise me what techniques need to adopt to make this possible and i am new to this process.
Thanks,
Raghu.Hi,
It is better to open this thread in the ABAP development forum.
So, you can find the information about calling web services in the document, below;
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4?QuickLink=index&overridelayout=true
Best regards,
Orkun Gedik -
How to call a SAPME web service from MII
Dears,
How can I call a SAPME web service from MII such as PlaceFutureHold?
By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
Thanks!Hi,
I can config the SAPME web service ItemServiceService
I used Config Links to assign values in request ItemByBasicDataQuery_sync, such as material, revision, site.
But get a almost empty response ItemByBasicDataResponse_sync, I wrote both web service request and response in file as below.
What did I missed? Thanks!
request:
<?xml version="1.0" encoding="UTF-8" ?>
- <ItemByBasicDataQuery_sync xmlns="http://sap.com/xi/ME">
- <ItemByBasicDataQuery>
<Item>MA1</Item>
<Revision>A</Revision>
- <SiteRef>
<Site>HP</Site>
</SiteRef>
</ItemByBasicDataQuery>
</ItemByBasicDataQuery_sync>
response:
<?xml version="1.0" encoding="UTF-8" ?>
- <ItemByBasicDataResponse_sync xmlns="http://sap.com/xi/ME">
- <Item>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
<ItemType>K</ItemType>
<IncrementBatchNumber>S</IncrementBatchNumber>
<LotSize>0.00</LotSize>
- <StatusRef>
<Status languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</StatusRef>
<EffectivityControl>R</EffectivityControl>
<Description languageCode="" />
<UnitOfMeasure languageCode="" />
<AssignSerialAtRelease>false</AssignSerialAtRelease>
- <AssyDataTypeRef>
<AssyDataType languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</AssyDataTypeRef>
- <InventoryAssyDataTypeRef>
<AssyDataType languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</InventoryAssyDataTypeRef>
- <RemovalAssyDataTypeRef>
<AssyDataType languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</RemovalAssyDataTypeRef>
<CreateTrackableSFC>I</CreateTrackableSFC>
- <BomRef>
<Bom />
<Revision />
<BomType>S</BomType>
- <SiteRef>
<Site />
</SiteRef>
</BomRef>
- <RouterRef>
- <SiteRef>
<Site />
</SiteRef>
<Router />
<Revision />
<RouterType>D</RouterType>
</RouterRef>
<CurrentRevision>true</CurrentRevision>
<DrawingName languageCode="" />
<EffectiveEndDate daylightSavingTimeIndicator="true" timeZoneCode="" />
<EffectiveEndSequence unitCode="">0.00</EffectiveEndSequence>
<EffectiveStartDate daylightSavingTimeIndicator="true" timeZoneCode="" />
<EffectiveStartSequence unitCode="">0.00</EffectiveStartSequence>
- <ItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</ItemGroupRef>
- <MaskGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<MaskGroup languageCode="" />
</MaskGroupRef>
<MaximumUsage unitCode="">0.00</MaximumUsage>
<Panel>true</Panel>
<PreAssembled>true</PreAssembled>
<QuantityMultiplier>0.00</QuantityMultiplier>
<QuantityRestriction>W</QuantityRestriction>
- <SelectorActivityRef>
<Activity languageCode="" />
</SelectorActivityRef>
<SelectorNote languageCode="" />
- <TransferItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</TransferItemGroupRef>
<UseCompFromDrawing>true</UseCompFromDrawing>
<IsCollector>true</IsCollector>
<CollectParentSerial>true</CollectParentSerial>
<RequiresSerialNumberChange>true</RequiresSerialNumberChange>
- <DocumentLinkList>
- <DocumentLink>
- <DocumentRef>
- <SiteRef>
<Site />
</SiteRef>
<Document />
<ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
<Revision />
</DocumentRef>
- <DocumentContext>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
- <RouterRef>
- <SiteRef>
<Site />
</SiteRef>
<Router />
<Revision />
<RouterType>D</RouterType>
</RouterRef>
<OperationRef />
- <SiteRef>
<Site />
</SiteRef>
</DocumentContext>
<Sequence unitCode="">0.00</Sequence>
</DocumentLink>
</DocumentLinkList>
- <ItemLocationList>
- <ItemLocation>
<Location languageCode="" />
<Description languageCode="" />
<Sequence unitCode="">0.00</Sequence>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</ItemLocation>
</ItemLocationList>
- <ItemAlternateList>
- <ItemAlternate>
- <AlternateItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</AlternateItemRef>
<Sequence unitCode="">0.00</Sequence>
<Substitute>true</Substitute>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
- <ItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</ItemGroupRef>
<RequiredSubstitute>true</RequiredSubstitute>
<ValidAssembly languageCode="" />
<ValidEnd daylightSavingTimeIndicator="true" timeZoneCode="" />
<ValidRevision />
<ValidStart daylightSavingTimeIndicator="true" timeZoneCode="" />
</ItemAlternate>
</ItemAlternateList>
- <ItemDPMOList>
- <ItemDPMO>
<Opportunities unitCode="">0.00</Opportunities>
- <OperationRef>
- <SiteRef>
<Site />
</SiteRef>
<Operation />
<Revision />
</OperationRef>
<ForAllOperations>true</ForAllOperations>
<ForAllDpmoCategories>true</ForAllDpmoCategories>
- <DpmoCategoryRef>
- <SiteRef>
<Site />
</SiteRef>
<DpmoCategory>TERMINATION</DpmoCategory>
</DpmoCategoryRef>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</ItemDPMO>
</ItemDPMOList>
- <TransferDataList>
- <TransferData>
- <TransferParent>
<ShopOrderRef />
- <ItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</ItemGroupRef>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</TransferParent>
<TransferType>N</TransferType>
- <TransferSite>
<Site />
</TransferSite>
- <AlarmTypeConfigRef>
- <SiteRef>
<Site />
</SiteRef>
<AlarmType languageCode="" />
<TypeSpecific>true</TypeSpecific>
</AlarmTypeConfigRef>
<DefaultChoice>true</DefaultChoice>
- <ExportTemplateRef>
<TransferDataType>S</TransferDataType>
- <SiteRef>
<Site />
</SiteRef>
<TemplateName />
</ExportTemplateRef>
<ReceiveRequired>true</ReceiveRequired>
</TransferData>
</TransferDataList>
- <ItemShopOrderTypeList>
- <ItemShopOrderType>
- <ShopOrderTypeRef>
- <SiteRef>
<Site />
</SiteRef>
<OrderType />
</ShopOrderTypeRef>
- <RouterRef>
- <SiteRef>
<Site />
</SiteRef>
<Router />
<Revision />
<RouterType>D</RouterType>
</RouterRef>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</ItemShopOrderType>
</ItemShopOrderTypeList>
- <CustomFieldList>
- <CustomField>
<Attribute languageCode="" />
<Value languageCode="" />
<Description languageCode="" />
</CustomField>
</CustomFieldList>
<CreatedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
<ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
<HoldId unitCode="">0.00</HoldId>
<LastReleasedDate daylightSavingTimeIndicator="true" timeZoneCode="" />
- <OriginalStatusRef>
<Status languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</OriginalStatusRef>
</Item>
</ItemByBasicDataResponse_sync> -
Calling a java web service from R/3 6.0
hi experts,
can anyone please tell me how to call a java web service from R/3 6.0?
i found some answers to this question but all those were for 6.4 or 6.2 but not for 6.0.
i want to generate a outbound flow from ERP system. so please tell me something about web service in that context.
Thanks in advance,
Sagar.Hi!!!
I would do this scenario as a synchronous one:
[SAP R/3][ABAP proxy objects] <-> [XI]<->[SOAP Adapter]<--->[external java app]
In your ABAP transaction you will have to execute ABAP proxy method to send a message to XI. If it's not your transaction, you can use user-exit.
BTW, I have an experience with XI 2.0, not with 3.0, so I used a XI 2.0 terminology.
Regards,
Andrzej Filusz -
How can I call a SAPME web service from MII such as PlaceFutureHold?
Dears,
How can I call a SAPME web service from MII such as PlaceFutureHold?
By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
Thanks!With Web service action block you can view all ME available services
in I.E
https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl you could see your FutureHold service
To do that in MII, you need Web Service action block. Have you work with MII transaction before?
(saw your post in MII) -
How to call an external web service from OIM?
Hi,
I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
Any recomendations?
Thanks in advance!it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
Lets do some divide and conquer:
Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
Once this works we can start looking at the web service call.
Best regards
/Martin -
Calling a restful web service from a script task
Hi. I'm weak in c# but am looking to accomplish this...
I want to call a RESTful web service from an ssis script task. I don't want to create a web service so I'm hoping there is some publicly available one I can practice with before our web team provides me with the service I'll eventually use. Can
the community provide an example? I wish I had more but my knowledge is very limited except for using ssis in more sql centric apps. It would be great if I could exercise both a get and put verb but I understand i'll be lucky if I can even get
a get to work.
Here is an example of a get I found on the web but I don't know if its a viable candidate for me to practice with from my package...
using System;
using System.IO;
using System.Net;
using System.Text;
// Create the web request
HttpWebRequest request = WebRequest.Create("http://developer.yahoo.com/") as HttpWebRequest;
// Get response
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
// Get the response stream
StreamReader reader = new StreamReader(response.GetResponseStream());
// Console application output
Console.WriteLine(reader.ReadToEnd());
and in the same article an example of a put ...
// We use the HttpUtility class from the System.Web namespace
using System.Web;
Uri address = new Uri("http://api.search.yahoo.com/ContentAnalysisService/V1/termExtraction");
// Create the web request
HttpWebRequest request = WebRequest.Create(address) as HttpWebRequest;
// Set type to POST
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
// Create the data we want to send
string appId = "YahooDemo";
string context = "Italian sculptors and painters of the renaissance"
+ "favored the Virgin Mary for inspiration";
string query = "madonna";
StringBuilder data = new StringBuilder();
data.Append("appid=" + HttpUtility.UrlEncode(appId));
data.Append("&context=" + HttpUtility.UrlEncode(context));
data.Append("&query=" + HttpUtility.UrlEncode(query));
// Create a byte array of the data we want to send
byte[] byteData = UTF8Encoding.UTF8.GetBytes(data.ToString());
// Set the content length in the request headers
request.ContentLength = byteData.Length;
// Write data
using (Stream postStream = request.GetRequestStream())
postStream.Write(byteData, 0, byteData.Length);
// Get response
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
// Get the response stream
StreamReader reader = new StreamReader(response.GetResponseStream());
// Console application output
Console.WriteLine(reader.ReadToEnd());
Hi
db042190,
These kinds of operations are commonly found outside the SSIS section of the forum, you just need to "borrow" the code and wrap into the Script Task. And based on what you see you are on the right tracks.
One thing you need to be aware of: in production such RESTfull call usually lead to a fiasco for the machine residing in some kind of DMZ or Firewall rules prohibiting these methods or you need a proxy account to run the package and you face unbeggable admins
who resist to relaxing security.
My suggestion is to go the easy route: write the app up as a console, standalone app - it will be easier to debug and there will be complete examples of them in abundance on the web.
Arthur
MyBlog
Twitter -
Calling a soap web service from a java desktop application
Hi,
Does anyone know how to call a soap web service from a java desktop application? I've seen examples using Apache Axis, but it sounds like Axis needs to run on a web server and we are trying to avoid that. My initial thought was that, "of course we need a web server", but I'm wondering if there is a way to do this without a web server.
Any help is greatly appreciated.
thank you,
JulieIf you are the consumer you don't need any web server. The web server is only needed in the provider end.
In java 6 there is a built in framework to call web services without the need of third parties (such as apache axis)
take a look at:
https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html
http://java.sun.com/webservices/technologies/index.jsp
For the provider end there is also a built in http server to expose web service via HTTP without the need to
use any external web server.
take a look at:
http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html -
Calling a WebLogic web service from a WebLogic web application
We would like to call a WebLogic web service from WebLogic web application. The current architecture looks like:
LoadBalancer--->iPlanet-1/iPlanet-2--->Firewall--->WebLogic-AppServer-1/WebLogic-AppServer-2
The web application and web service are in the same WebLogic cluster. We would prefer that the web services do not get published externally.
Does the WebLogic web application need to make a call back outside the firewall to the load balancer?
Is there a way the web services can be called locally with load balancing?
Can web service calls be made over the t3 protocol?
Thanks,
MikeI think one solution is to use a Java proxy to call the Web services.
In the Java proxy you can have a method that accepts the user/pass and sets them correctly for the Web service.
Then you expose that Java proxy as a data control (right click, create data control) - and then create a page that invokes that method.
(For the basics of working with a POJO data control see: http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html )
Maybe you are looking for
-
I need to connect an external webcam to an iPad two, is this possible?
I need to connect an external webcam to my ipad two. Any idea if this is possible and how do you do it?
-
Workflow in event queue based on a deleted object
Hi all, I'm facing a problem with a workflow that goes to the event queue, meanwhile the object is deleted and then the WF is released from the event queue in Error. The WF is based on the BO BUS2032 (sales order). Here are the steps: 1-Sales order c
-
Flash Player Prob. Help Please...
OK I am not computer savvy in the slighest way, as you will soon find out. I only use Adobe Flash Player to play games and do Farmville on Facebook, and I just got a new computer tower in Jan. so everything was working perfectly. But yesterday all of
-
Add interaction to the end of a video
I have a client that wants to have a video be used as an instructional video. The video will be visible on the internet - on the company website. The client wants someone to view the entire video then have the ability to fill out a form and not go to
-
Has anyone got cn8202temp_controller.vi to work?
Hello, Has anyone got cn8202temp_controller.vi to work. I got it from the Ni website and I've been unable to get it to run right. If there is anyone out there that has got it to work please tell me how you did it. It has an error when you upload