Consuming HTTPS based external service

Hello,
I am trying to generate consumer service proxy, for a HTTPS based service within the same organization, but I am trouble generating the proxy. Below is the error from task bar.
*Exception occurred in communication framework:Error in HTTP Framework: 0https://<path to WSDL>*
In the above error i did replace the actual link with "<path to WSDL>".
But what you can additionally see is that SAP has prefixed the path with a "0". Not sure why this is happening.
Has anyone faced the same issue before..!? Any pointers is greatly appreciated.
Thank you,
Vijay

Hi,
I could create the client by saving WSDL locally but the execution does not go trough. It looks like I have to configure the CERTIFICATES somwhere in jdev for it to be able to make connection to the secured WS.
Any pointers on how to configure the keystore in JDEV ?
thanks
Rahul

Similar Messages

  • Consume abap based web Service in Visual composer 7.0

    Hi All,
    Can any one provide me sample example or PDF on "consume abap based web Service in Visual 7.0 composer" not WSDL based
    Help will be appricated by awarding point.
    Thanks

    Hi,
    Try the below link.
    Consuming WebService in Visual Composer-1
    Hope it helps...
    Regards
    Basheer

  • Https based web service.

    Hi,
    I'm using a 9.5.0.16.27 jdev.
    I have to write a client for the webservice that is running on a https based end point. The main this is that there are no CERTIFICATES involved inspite of this being a https based endpoint.
    When I try to generate a client for it, and select the WSDL for generating the stub it just says invalid WSDL location/url.
    I need to know are there any additional steps for this. Any pointers to this issue will be highly appreciated.
    regards
    Rahul

    Hi,
    I could create the client by saving WSDL locally but the execution does not go trough. It looks like I have to configure the CERTIFICATES somwhere in jdev for it to be able to make connection to the secured WS.
    Any pointers on how to configure the keystore in JDEV ?
    thanks
    Rahul

  • Do I need claim based auth, on the Consumer side for shared services?

    I have
    One SharePoint 2013 Farm that holds Managed Metadata service.
    One SharePoint 2010 Farm with multiple web applications that want to consume the Managed metadata service from the 2013 Farm. None of the web applications in this environment is configured for Claims Based Authentication
    I plan to follow this document,
    http://technet.microsoft.com/en-us/library/ff621100(v=office.15).aspx, to set up the Provider and Consumer
    Will I get into trouble regarding my SharePoint 2010 consumer environment that do not use Claims Based Authentication for web applications in this farm?

    You have to configure Claims based auth on SP2010 server too.
    Hammad Umar

  • Is there a way to consume REST based pdf web service in PeopleSoft

    We have a requirement to consume an pdf REST based web service in PeopleSoft and display the pdf file on browser. I have configured the Service & Service Operation in PeopleSoft.
    I have also confirmed the request is making to target server. Also when using curl, confirm the target web service is working  and response seems to be binary bytes representing pdf file.
    How can I consume this response from PeopleSoft message object. Tried using contentstring() and trying to do %response.write
       &getrpt_RESP = %IntBroker.SyncRequest(&MSG);
       &strresponse = &getrpt_RESP.GetContentString();
       %response.write(strresponse );
    /* Open a file.pdf* - to do/
    /* Write the response from message to file - to do */
    /*Use view attachment to open the file on browser - to do*/
    But this returns nothing on browser.
    If I had to copy pdf file, I normally would use something like
       Local JavaObject &in = CreateJavaObject("java.io.FileInputStream", &SrcFullPath);
       Local JavaObject &out = CreateJavaObject("java.io.FileOutputStream", &filepath);
       Local JavaObject &buf = CreateJavaArray("byte[]", 1024);
       Local number &byteCount = &in.read(&buf);
       While &byteCount > 0
          &out.write(&buf, 0, &byteCount);
          &byteCount = &in.read(&buf);
       End-While;
    But I am failing to find a way to copy the bytes from message to a file?
    Any help is appreciated!

    Integration Broker supports MTOM. You can find an example here: Sending and Receiving Binary Data.
    The alternative is to use Java to make the HTTP request. You can use HttpClient, as Sasank mentioned, if you don't mind managing jar dependencies. The alternative is to use HttpUrlConnection directly. Not easy in PeopleCode, but possible. If you are on PeopleTools 8.53, then you can script it in JavaScript and run it on the server through the Rhino JavaScript script engine manager included with Java 7 and part of PeopleTools 8.53+. I find this MUCH easier because you don't have to deal with reflection.
    Once you get the binary file, the next task is sending it to the client in binary format. %Response.WriteBinary works great, but requires you to start with binary data. I am only aware of one way to read binary data in PeopleCode that is suitable for %Response.WriteBinary and that is to select the binary data out of the database and into an Any variable. I have not figured out how to convert Java binary data into something suitable for PeopleCode's %Response.WriteBinary.

  • HTTP handler for starting an external service cannot be read

    Hi,
    When i execute the work item from Business Work place and also from the UWL in Enterprise portal of the task TS21300098 for HR Process Requisition workflow.
    In the Error is says
    HTTP handler for starting an external service cannot be read
    Message no. SWK045
    Diagnosis
    This work item is a link to a HTTP service. To start the service, a launch handler must be known to the SAP System.
    However, the system could not find a launch handler.
    System Response
    The workflow system cannot start execution of the work item.
    Procedure
    Contact your workflow administrator:
    In Customizing you must maintain a launch handler for HTTP-supported dialog services.
    I have checked the config under WF_HANDCUST transaction and made the launch Handler settings generated automatically.
    But still the problem occurs.
    Any Suggesions and help?
    Thanks & Regards
    Sumanth

    hi Guys,
    I have got the same issue. This blog helped me with tcode WF_HANDCUST. I have generated the url
    http://waspgh.kcc.com:8083/sap/bc/webflow/wshandler-->Click on Generate URL and click on distribution.
    Immediately u will get click on Test url . Click Test url . Then It is not successful. It stopped at 
    http://waspgh.kcc.com:8083/sap/bc/webflow
    Getting http page error. So use tcode sicf >sap>bc-->webflow service and activate it.
    Then test the connection. It will be successfull.
    http://waspgh.kcc.com:8083/sap/bc/webflow/wshandler?ping=true&sap-client=400
    Handler test
    Test successful
    Thanks,
    Shankar

  • PCR workflow - HTTP handler for starting an external service cannot be read

    Hi,
    We are implementing PCR Approval using adobe forms. Currently when we try to open the adobe form for Approval from the UWL we get the error(it actually displays with an information message symbol) "<b>HTTP handler for starting an external service cannot be read</b>" in an ITS screen. We found an exactly similar problem in the below link but unable to find a resolution from that.
    HTTP handler for starting an external service cannot be read
    The detailed information message displayed is as given below,
    <b>
    HTTP handler for starting an external service cannot be read
    Message no. SWK045
    Diagnosis
    This work item is a link to a HTTP service. To start the service, a launch handler must be known to the SAP System.
    However, the system could not find a launch handler.
    System response
    The workflow system cannot start execution of the work item.
    Procedure
    Contact your workflow administrator:
    In Customizing you must maintain a launch handler for HTTP-supported dialog services.</b>
    We use the standard task TS50000075 for PCR Approval
    Can anyone help us on this?
    Thanks,
    Prasath N

    Hi Jocelyn,
    Thanks for that reply.
    I tried the transactions SICF and WF_HANDCUST.
    1. In SICF under sap>bc>webflow-->wshandler when i double click on wshandler it shows that the service is active. But when i right click on the same and try to TEST it, i get an error
    <b>Error in Web service execution
    The launch handler was called with an incomplete parameter list </b>
    I am not sure what this error means.
    The configurations available in this service are as follows,
    ICF path --> /default_host/sap/bc/webflow/
    ICF Object --> wshandler
    Decription --> English
    Logon Procedure --> Standard
    Security Requirements --> Standard
    Basic Authentication --> Standard R/3 user
    Anonymous logon data
    client --> <empty>
    user --> empty
    password --> <empty-stillinitial>
    Language --> <empty>
    I am not clear what id and password should be maintained here. Can you please help us on this.
    2. When i try to generate the URL in WF_HANDCUST and test them i get a success message.
    <b>Handler test
    Test successful
    </b>
    Thanks,
    Prasath N

  • HTTP Basic authentication on EJB 3.0 based web service

    How do I enable HTTP Basic authentication on EJB 3.0 based web services for OAS? Does any one have a sample solution ?
    I manually updated oracle-webservices.xml file to include the following:
    <ejb-transport-security-constraint>
    <soap-port/>
    <role-name>users</role-name>
    <transport-guarantee>NONE</transport-guarantee>
    </ejb-transport-security-constraint>
    <ejb-transport-login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>jazn.com</realm-name>
    </ejb-transport-login-config>
    When I use SOAP UI to test the web service I get the following error.
    403 Forbidden
    Error initializing security, security-role not found: users

    I still get the 403 forbidden error message. I do not get the second part of the error message though.

  • WCF service fronted with SSL enabled NGINX load balancer shows HTTP based WSDL url instead of HTTPS

    Hi,
    I have WCF service hosted using IIS 8.5 on application server. And application servers are fronted with NGINX load balancer with SSL enabled. Backend communication protocol between NGINX to application server is http. 
    When customer visits public domain url (https://xxx.com/service.svc), they can see the WSDL url with http://xxx.com/service.svc?wsdl. 
    What change should I make so that WSDL url will have https instead of http ? 
    This is service side configuration.
    <system.serviceModel>
        <services>
          <service name="Service.IService">
            <endpoint address="" binding="basicHttpBinding" bindingNamespace="http://xyz.com/Service" name="Service_Endpoint" contract="Service.IService" />
          </service>
        </services>
        <bindings>
          <basicHttpBinding />
        </bindings>
        <client />
        <behaviors>
          <serviceBehaviors>
            <behavior>
              <serviceThrottling maxConcurrentCalls="5000" maxConcurrentInstances="2147483647" maxConcurrentSessions="5000" />
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
      </system.serviceModel>
    Thanks in advance !!

    Hi,
    For this scenario, you could just enable SSL in IIS to get HTTPS endpoints. If your service is exposed at https then you configure the same using “httpsGetEnabled”:
    <behaviors>
    <serviceBehaviors>
    <behavior
    name="MyServiceTypeBehaviors"
    >
    <serviceMetadata
    httpGetEnabled="true"
    />
         </behavior>
    </serviceBehaviors>
    </behaviors>
    For more information, you could refer to:
    http://www.codeproject.com/Articles/327260/What-s-new-in-WCF-Automatic-HTTPS-endpoint-for
    http://blogs.msdn.com/b/brajens/archive/2007/04/26/accessing-description-metadata-wsdl-of-wcf-web-service.aspx
    Regards

  • 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

  • While consuming Fusion CRM web service in ADF mobile throwing an error

    Hi,
    I am developing ADF Mobile using JDeveloper
    11.1.2.3 and consuming Fusion CRM ADF Web Services.
    While executing CRUD operations with these web services
    in ADF mobile app, I am getting SOAP response as *Error in getting response
    and got result nothing *.
    And also noticed as using JDeveloper ADF mobile App, unable to create URL service
    Data Control - REST based for FUsion CRM web services. Where as I am able to
    create SOAP based web services data control. It' strange or surprise.
    Did anyone face the above problems. Kindly let me know any suggestions or
    samples to the below contacts
    Regards
    Bhaskara Reddy S
    00919008466722
    bhaskara.sannapureddy at Crmit.com

    Dear Frank,
    Based on below links, Fusion CRM also supports REST also apart from regular SOAP Web Services.
    http://niallcblogs.blogspot.in/2012/10/204-calling-rest-service-from-fusion-crm.html AND
    http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e20388/F412758AN17B21.htm
    (For e.g one of linked in profile :http://www.linkedin.com/in/minalkhodani , many teams are developing using SOAP & REST)
    Designed and developed integration services using SOAP and REST web services for Oracle Fusion CRM Marketing Modules.)
    When creating URL based data control, getting an Error as "Forbidden" , (Does it mean NOT SUPPORTED??) . Kindly advice.
    I am calling WEB SERVICE thru SOAP in AMX PAGE code as below after creating Web Services Data Control from ADF Mobile UI thru JDeveloper IDE.
    == CODE SNIPPET OF AMX PAGE CALLING SOAP FUSION CRM WEB SERVICE =======
    <?xml version="1.0" encoding="UTF-8" ?>
    <amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
    xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
    <amx:panelPage id="pp1">
    <amx:panelFormLayout id="pfl2">
    <amx:inputText value="#{bindings.name.inputValue}" label="Person First Name" id="it1"/>
    <amx:inputText value="300000001210220" label="Person Object Id" id="it2"/>
    </amx:panelFormLayout>
    <amx:facet name="header">
    <amx:outputText value="Create Person in Fusion CRM" id="ot1"/>
    </amx:facet>
    <amx:facet name="primary">
    <amx:commandButton id="cb1" text="Back" action="__back"/>
    </amx:facet>
    <amx:facet name="secondary">
    <amx:commandButton id="cb2"/>
    </amx:facet>
    <amx:panelFormLayout id="pfl1">
    </amx:panelFormLayout>
    <amx:outputText value="#{bindings.message.inputValue}" id="ot2"/>
    <amx:outputText value="#{bindings.code.inputValue}" id="ot3"/>
    *<amx:commandButton actionListener="#{bindings.createPerson.execute}" text="createPerson"*
    *disabled="#{!bindings.createPerson.enabled}" id="cb3"/>*
    <amx:iterator var="row" value="#{bindings.personParty1.collectionModel}" id="i1">
    <amx:panelLabelAndMessage label=" 300000001210220" id="plam2">
    <amx:outputText value="#{row.PartyId}" id="ot5">
    <amx:convertNumber groupingUsed="false"/>
    </amx:outputText>
    </amx:panelLabelAndMessage>
    <amx:panelLabelAndMessage label="#{bindings.name.inputValue}" id="plam1">
    <amx:outputText value="#{row.PersonFirstName}" id="ot4"/>
    </amx:panelLabelAndMessage>
    </amx:iterator>
    </amx:panelPage>
    </amx:view>
    Regards
    Bhaskara Reddy

  • OBPM BPM Studio support for SOAP 1.2 based Proxy services (OSB)

    Hi,
    I tried to import proxy services from OSB (as external resource). The proxy service is based on the SOAP 1.2 WSDL standard. When BPM studio introspective SOAP1.2 based proxy services, it is givng the following warninigs. Bacause of this i am unable to create a service object. Please help.
    Regards,
    Pandu
    Introspecting...
    downloading /sbresource?PROXY/RoutingAndMessagingService/proxy/OnRampService
    parsing /sbresource?PROXY/RoutingAndMessagingService/proxy/OnRampService
    [Warning] unknown tag 'header' from 'http://schemas.xmlsoap.org/wsdl/soap12/'.
    [Warning] unknown tag 'header' from 'http://schemas.xmlsoap.org/wsdl/soap12/'.
    checking /sbresource?PROXY/RoutingAndMessagingService/proxy/OnRampService
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlmessages%2Futilityservices%2Froutingandmessagingservice%2FRoute
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlmessages%2Futilityservices%2Froutingandmessagingservice%2FRoute
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlheaders%2FHeaderSchema
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlheaders%2FHeaderSchema
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FHeaderTypes
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FHeaderTypes
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FSimpleTypes
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FSimpleTypes
    http://www.michaelpage.com/wsdltypes/common/SimpleTypesv1.0 compiled
    http://www.michaelpage.com/wsdltypes/common/HeaderTypesv1.0 compiled
    http://www.michaelpage.com/wsdlheaders/Headerv1.0 compiled
    http://www.michaelpage.com/wsdlmessages/utilityservices/Routev1.0 compiled
    [Warning] The binding 'OnRampServiceSOAP' with type 's2:OnRampServicePort'is unsupported. Components will not be generaded for this binding..
    'http://www.michaelpage.com/wsdl/utilityservices/routingandmessagingservice/OnRampServicev1.0/' was parsed.
    Analyzing dependecies for module 'WS.OnRampService'...
    Analyzing dependecies for module 'WS.OnRampService'...
    Analyzing Components
    Storing Instrospected Types
    Introspection completed. Errors: 0, Warnings: 3.

    Pandu,
    OBPM 10g doesn't support SOAP 1.2 binding.
    Edited by: 4dyomi on Nov 20, 2009 11:41 AM
    Edited by: 4dyomi on Nov 20, 2009 11:42 AM

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

  • Problem external Services mapping to Destination

    Hi Experts
    I've developed a composite application, in this aplication, i've imported a external service. This service i get from esworkplace.
    I follow the steps of this tutorial:[http://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02f408d-7d72-2a10-5790-e268ec4d94ef|Consume enterprise service...]
    When i go to the external service configuration to map the service, this service isn't there.
    Then i can't map the external service with a destination, and i can't execute it, because i need authetication.
    How can i solve this? There are some steps to put the external service there?
    I use NWDS 7.11 EHP1 SP01.
    Regards
    Marcos
    Edited by: Marcos Brandao on Jun 17, 2009 3:15 PM

    Hi sampath
    i've done this things in this document, the only difference is my SR is pointed the esworkplace and my eclipse is pointed to my SR. Now, i try to do exaclty how is in this document.
    i configured my eclipse to access the SR of esworkplace, but when i import the service in the registry some error occur:
    Unable to connect to the Services Registry - Unable to connect to sr.esworkplace.sap.com:80 - Connection timed out: connect
    i've configure the service registry and proxy of my eclipse.
    What can i do now? Do you have some suggestion?
    Regards
    Marcos.

  • Two problems with external services

    Hi,
    we got a WSDL including three external services. I successfully created a consumer proxy for the WSDL. When calling the methods of the consumer proxy from my WebDynpro application I get some errors. One of the external services is working fine. The remaining two services result in the two following errors:
    1. CX_SXML_PARSE_ERROR:XSLT exception. An error occurred during serialization in the simple transformation program /1SAI/TAS5EDCF6F82B037A9F53C1. Error while parsing an XML stream: 'BOM / charset detection failed'.
    2. Error (id=SOAP:1.001): CX_ST_GROUP_MISSING_CASE:XSLT exception. Element '<ServiceResponseElement>' missing
    Calling these services from soapUI is working fine. So there might be some restrictions in the SAP system which are causing the errors.
    Can anyone give me a hint how to solve these problems?
    Regards,
    Robert

    Hi,
    Please note NOT all xml tags are supported by SAP.
    Analyze wsdl for unsupported tags,
    Check this for list : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40c3a137-1769-2a10-bda9-ad62d508af9c
    and http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0abcc5a-1569-2a10-e6b7-8e5d108a995a
    Regards,
    Gourav

Maybe you are looking for

  • Revert not available message in photoshop cc?

    Hi there- I am having the above error message when I try to revert in Photoshop CC, any ideas why?  Thank you!

  • How to search all columns of all tables in a database for a keyword?

    Dear Team, i have an requirement that : i want to search all the columns of all the tables in the particular database based on the specific key word or an free text. example : table 1: columns data empname sam empid 01 table 2 columns data deptname s

  • Speed decrease

    Recently I've noticed a decrease in speed, both in actual downloading of pages and as reported by the various speed testers. There is now a definate delay. Yes, I know I'm a fair way from the exchange but originally when I was connected most, if not

  • Sequencing problem with Batch Writing

    I'm using TopLink - 9.0.3.5 and I want to use the registerAllObjects method from the UnitOfWork instead of registering each individually to batch write records to the db. Here is a snippet of what I'm doing: Session session = ToplinkUtils.getSession(

  • Copy a mapping from one project to another project in same reepository.

    Hi All, I am using OWB 10GR2. I have two projects in this repository called dev_project and test_project. after completion of mappings development in dev_project, i want to move the mapping from dev_project to test_project. I was able to copy the map