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

Similar Messages

  • Call a RESTful web service from an AS3/AIR application

    Hi all,
    Is there a good way to call a REST web service on a Spring application from a pure actionscript air4android application?
    I know it is easy from flex ( almost TOO easy) but I have still to figure out an easy way of doing it with a pure AS3 application.
    regards,
    /Lars

    Just use the URLLoader class.

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to call Jive Search methods using REST Web Services from ADF

    Hi
    Can someone provide me an example to call JIVE Search using REST web services from Webcenter ADF.
    As we have the similar facility to call UCM Search from WebServices DataControl.
    Do we have anything similar like this for JIVE Search?
    JIVE 5.1 is deprecating SOAP style web services and so I am planning to use REST.
    Any suggestions on this is much appreciated.
    Many Thanks
    Khad

    so what exactly is the problem here?
    what is not working?

  • HTTP error when trying to access RESTful web service from application

    Hi,
    We are getting the following error when trying to access a RESTful web service coming from Apex workspace 4.2.1 and Apex listener 2.1:
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-29024: Certificate validation failure
    In the Debug report, besides the above I also see:
    error_backtrace: ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 543 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 1164 ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 396
    We get that error whether we use https or http in the URI pointing to the web service. When I test the Web Service in Workspace RESTful service GUI, I get the data back. When I go build an application with a report calling the RESTful Web Service I get that error. Both the Application and the Workspace RESTful services are on the same Apex environment and even the same workspace.
    What is odd is that I can actually put the URL of the web service into a browser and I get the data: (using the demo hr data in sample RESTful services.)
    IN browser-- https://weblogic-dev.edu/apex/ace/hr/empinfo/
    yields:
    7839,KING,PRESIDENT,,1981-11-17T05:00:00Z,5000,,10 7698,BLAKE,MANAGER,7839,1981-05-01T04:00:00Z,2850,,30 7782,CLARK,MANAGER,7839,1981-06-09T04:00:00Z,2450,,10 7566,JONES,MANAGER,7839,1981-04-02T05:00:00Z,2975,,20 7788,SCOTT,ANALYST,7566,1982-12-09T05:00:00Z,3000,,20 7902,FORD,ANALYST,7566,1981-12-03T05:00:00Z,3000,,20 7369,SMITH,CLERK,7902,1980-12-17T05:00:00Z,800,,20 7499,ALLEN,SALESMAN,7698,1981-02-20T05:00:00Z,1600,300,30 7521,WARD,SALESMAN,7698,1981-02-22T05:00:00Z,1250,500,30 7654,MARTIN,SALESMAN,7698,1981-09-28T04:00:00Z,1250,1400,30 7844,TURNER,SALESMAN,7698,1981-09-08T04:00:00Z,1500,0,30 7876,ADAMS,CLERK,7788,1983-01-12T05:00:00Z,1100,,20 7900,JAMES,CLERK,7698,1981-12-03T05:00:00Z,950,,30 7934,MILLER,CLERK,7782,1982-01-23T05:00:00Z,1300,,10
    Any ideas on what would be causing the Error above in our application?
    Thanks,
    Pat
    Edited by: patfmnd on Mar 11, 2013 3:25 PM
    In reviewing the above error, I think we are realizing that we have to have the Weblogic layer SSL cert (actually the CERT from our BigIP load balancer which also does our SSL termination) imported into the Oracle server wallet where Apex is installed. Am I correct?
    PM

    We resolved our problem. The Apex Administrative Guide made us realize that we had to set up Wallet path in the Instance. This required working with DBAs to follow the Advanced networking guide to get the wallet set up on our server. We then added that path to the Instance configuration. (Manager Instance --> Instance settings). We ran into another other issue related to our implementation of CAS but were able to resolve that, and 'voila' were able to get the sample RESTful service consumed by our application!!
    Now to the task of figuring out how to get Basic Auth working between client application and RESTful web service. If anyone has that working, let us know!!
    It would be helpful if in the documentation of the Apex 2.x listener or Apex install/configuration there was clear reference to the above steps required for HTTPS access to RESTful web services.
    Pat

  • 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>

  • 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

  • ESB Calling a REST web service

    Has anyone use the ESB to call a RESTful web service? Is there a REST service adapter for JDeveloper ESB designer?
    -Thanks.

    Has anyone use the ESB to call a RESTful web service? Is there a REST service adapter for JDeveloper ESB designer?
    -Thanks.

  • 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,
    Julie

    If 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,
    Mike

    I 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 )

  • Error when querying REST web services from web-based InfoPath form 2013 environment

    Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version) 
    http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
    it works in preview but does not when it is published. because of claim based authentication i m getting below error
    The form cannot run specified query, the underlying connection was closed. An expected error occurred 
    same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you 
    guru

    everyone face this issue, nothing in event viewer, its easy to reproduce error at ur end also.. 
    just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
    list has one item thats all
    guru

  • 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

  • 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

  • Calling Sales Force Web-services from FMW

    Hi,
    Can anyone help me in calling Sales Force web-services from Fusion Middleware.
    I've created a web-services in Sales Force & now I want to call it from FMW. The issue is we can't directly call SF web-services. We have to first authenticate ourself on SF site with user name & password along with Security token, get the session Id & then we have to call the web-service by setting the session Id in header.
    If anyone has the PDF "salesforce-integration-fusion-middleware-twp.pdf " or any documentation on Sales Force integration with Oracle Fusion.
    Please help. Thanks in adavance.
    Edited by: Shailendra Suryawanshi on Oct 4, 2010 9:22 PM

    Hi,
    Thanks a lot for the reply & I absolutely think that's the way it should be. I've written a Java code with SF APIs to first login, get the session Id & then call the actual web-service with session Id set in header.
    But the issue I'm facing from Fusion is I don't know the web-service for authentication with valid credentials to get the session Id.
    I need the details of web-service which I should call first with my valid credentials to get the session Id so that I can pass the session Id as header parameter for calling the actual web-service.
    Looking forward to your reply desperately.
    Thanks & Regards,
    Shailendra Suryawanshi

Maybe you are looking for