Consume WebService with Assertion Ticket in CE 7.2

Hi masters
I am using netweaver ce 7.2 and the problem is that I just can consume webservices with User ID/Password (Basic), but I need to do that with something like Assertion Ticked (like RFC connections)
Does anybody could say me how to configure a WS connection with assertion ticked ?

I solved by myself

Similar Messages

  • Consuming WebService with 1-to-many relationship in one request, multi MBO?

    Hi
    I recently have started working on SUP. I was trying to create MBO from a webservice that provides me details of an Employee like name , age , ID and address. The employee can have many adress in this case. The webservice returns all the things in one request. I need to know how to create multiple MBO from this in one request. That is when I request to the webservice the name , age , ID to goto one table and addres should be populated in a separate table with ID as the realtionship parameter in both tables.
    I have connected to the webservice and can see data in preview. I had on demand cache policy with default parameter as employee ID, so it populated CDB with as many number of rows as the addres exists for the same employee which was not the desired result.
    Please let me know the most efficient way to do the same.
    Thanks
    Preksha

    I am able to consume the webservice and make multiple MBO with single call.
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0200/doc/html/fre1249336854524.html

  • Consume Webservices with AXIS from within WebAS

    I have problems invoking Web Services from within a bean running in WebAS. I am using Axis to create the calls to the WebServices.
    From a WebService_A running on WebAS 6.4 I want to call WebServices both running on the same server (WebAS 6.4) and on different servers (e.g. Axis).
    If in the endpoint I use the server machine's IP address, I get a server Timeout (502), if I use the machine's name I get the message "Unknown Host". Only when I call a WebService within WebAs and use "localhost" in the endpoint address, do I get the desired result.
    I have already described the problem of calling a web service on a different server in the topic below,and have also tried to configure the servers proxy settings as described (which however showed no effect):
    Proxy Settings for WebService invocation
    As for the generation of proxies (Developer Studio generated deployable proxies) I do not know if they would work for calls on a different server (e.g. Axis), because Developer Studio for some reason would not generate the proxy for the Axis-generated WSDL file (no detailled error message). However I cannot use the generated proxies anyway, because I need to call on endpoints which are provided from a GUI, so I must do the calls by hand - or can I reset a proxy's endpoint?
    Does anybody know which additional settings I have to set (Axis Engine, or in WebAS Administration?)
    Every hint would be greatly appreciated.

    Hi,
    You don't need LCDS/FDS/BlazeDS to consume a web service. All
    you need to do is to use the WebService component.
    Hope this helps.

  • Consuming Webservice in WebDynpro - Content-Type issue

    Hi,
    I am getting a shortdump when consuming WebService in WebDynpro.
    I trace it back to the class CL_SOAP_HTTP_TPBND_ROOT method GET_HTTP_HEADERS whereby the
    value = 'text/html; charset=iso-8859-1' while the constants tsrc_soap_11_http_content_type = 'text/xml' ; tsrc_soap_bx_http_content_type = 'application/x-sap-bxml' ; tsrc_soap_mtom_http_cont_type = 'application/xop+xml' ; tsrc_soap_mp_http_content_type = 'Multipart/Related'. Because of this Content-Type difference my WebDynpro application dumps?
    Any ideas how to solve this problem?
    Thanks.
    Regards,
    Amel

    hi,
    Few indroductory sessions
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
    It is possible to create webservice in ABAP as well as in Webdynpro.
    ABAP Webservice:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    http://www.sappro.com/downloads/SAPXI.pdf
    Webdynpro Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
    In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
    Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM

  • Consuming webservice in a webdynpro component

    Hi Experts,
    I have a third party free webservice as WSDL link.My requirement is to make use of that webservice in my webdynpro component.
    Can any body give me a step by step approach to consume that webservice in my webdynpro Component.
    If possible, Provide me some good material for consuming webservice in a webdynpro component.
    Awaiting for a useful reply.
    Thanks,
    Ramanan.p

    hi,
    Few indroductory sessions
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
    It is possible to create webservice in ABAP as well as in Webdynpro.
    ABAP Webservice:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    http://www.sappro.com/downloads/SAPXI.pdf
    Webdynpro Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
    In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
    Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM

  • Consuming Webservice in ABAP: SoapFaultCode:1

    Hi,
    I have created a webservice with NetweaverDeveloperStudio and deployed it to a J2EE. I tested it with the "NDS-Webservice-Tester" and it worked fine.
    I then created a proxy following the section for WebAS 640 in the weblog of Thomas Jung:
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    When using the "test-interface" function in SE80 (also described in Thomas weblog) I get the following result:
    <CX_AI_SYSTEM_FAULT>
    <CODECONTEXT>http://www.sap.com/xml_errorcodes</CODECONTEXT>
    <CODE>SoapFaultCode:1</CODE>
    <ERRORTEXT>
    000D6019F1DD004000000036000020D8000405473991B26F:
    Found 0 operation definitions using keys:
    Key name:'first-body-element-ns'
    key value: 'urn:EdilogUserManagementWebserviceWsd/EdilogUserManagementWebserviceVi/document';
    Key name:'SoapRequestWrapper'
    key value:'getCompany';
    </ERRORTEXT>
    <LANGUAGE />
    </CX_AI_SYSTEM_FAULT>
    Any idea what might cause this error? Is there a list with the SoapErrorCodes and their specific meanings?
    Thanks and regards
    Jan Hempel

    I solved the problem "accidentally": The name of the Webservice was to long! Changing the name from "EdilogUserManagementWebservice" to "UserManagement" did the trick.
    This is probably due to the restricted fieldlength of ABAP-programnames.
    Regards
    Jan Hempel

  • Principal Propagation / SAP Assertion Ticket

    Hi Experts,
    i m planning a synchronous scenario
    3rd party (SOAP) -> PI -> SAP ECC (RFC)
    PI is on 7.1, ECC on 7.00
    I would like to run Principal Propagation. At the moment i m struggling with Assertion Ticket to be issued by the SOAP sender. From [SAP Help: Princ Prop / Configuring the Sender|http://help.sap.com/saphelp_nw04/helpdata/EN/45/3418a0eabe072fe10000000a155369/content.htm]: "The SOAP client itself must be able to issue SAP assertion tickets."
    - Does that mean: if the sender is a non SAP system Principle Propagation cannot be implemented?
    - Or is there a way to issue the SAP assertion ticket from 3rd party SOAP sender?
    - If yes, how does that work?
    I found two interesting threads:
    [Principal Propagation SOAP - XI - RFC Scenario   |Re: Principal Propagation SOAP - XI - RFC Scenario]:
    I do not understand Swarups answer 100%. He wrote: "Here you need not have to do anything on SOAP sender side to create the assertion ticket.The assertion ticket is required on SAP side which will act as Web AS ABAP Server"
    Can anybody illuminate that? Is he right?
    [Issuing SAP assertion Tickets |Issuing SAP assertion Tickets]: The last post of Anthony stayed unansered, unfortunately. "How does the sender system do that? Is it somethign embedded in the header of the SOAP message? This really is unclear to me"
    Thanks for your help,
    Udo

    Hi Udo,
    > - Does that mean: if the sender is a non SAP system Principle Propagation cannot be implemented?
    Principle propagation supports XI, SOAP and RFC adapters.
    http://help.sap.com/saphelp_nw04/helpdata/en/45/0f16bef65c7249e10000000a155369/frameset.htm
    Before using the principle propagation you have to active the configuration, but you can only activate the configuration if you have kernel patch 149 installed.
    Regards
    Ramesh

  • Async webservice with Callback

    Hi Experts,
    How to call a Asynchronous Microsoft webservice(Used callback mechanism) from XI?
    First I have to call the Microsoft webservice, it will return acknowledgement about the status. Again I have to invoke the webservice then it(microsoft) will return the response.
    How to do the above steps using XI? Please share your suggestions
    Regards
    Sara

    Hi Sara,
    Major thing is if ur  webservice accepts some data and gives some response, then both input and output should get imported into XI as seperate message types (Under Messages Tab) as shown in step 1 of ur referred weblog
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    So there u must have 2 messages: 1 for request and 1 for response. This depends upon ur wsdl structure. Once u get these messages, u could proceed with ur message mapping
    Steps are,
    1.import the wsdl file in Integration Repository in Integration Objects->external definitions.
    2.then create message types using the imported WSDL request and response.
    3.Other things are as usual.
    using SAP XI we can easily connect to webservices pls chk the links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c36ef6-dab9-2910-6ca9-a96b820de582
    /people/yomeshp.sharma/blog/2006/05/31/integrating-jdedwards-system-with-xi-using-iway-adapter-part--iii
    /people/anton.wenzelhuemer/blog/2006/03/05/integrating-php-and-abap-using-webservices
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    http://help.sap.com/saphelp_nwpi71/helpdata/en/11/e8179b247e4720882512a04041491d/frameset.htm
    Regards,
    Vinod.

  • Create web service consumer client with Ant and wsdl

    How can I create a web service client with just Ant and WSDL?
    Thanks.

    Hi,
    Did you check this web log?
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Eddy

  • Help with Consuming a Webservice with the compact framework

    Hi all,
    i want to consume a SAP WebService within .NET in a smart device application. When I create the proxy, I get the following procedure in the .cs class:
    <i>[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.sap.com/_-ICO_-CM_XML_CREATE", RequestElementName="_-ICO_-CM_XML_CREATE", RequestNamespace="urn:sap-com:document:sap:rfc:functions", ResponseElementName="_-ICO_-CM_XML_CREATE.Response", ResponseNamespace="urn:sap-com:document:sap:rfc:functions", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)][return: System.Xml.Serialization.XmlElementAttribute("SUBRC", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]public string ICOCM_XML_CREATE([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string ORDERNR, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string ROUTE, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string TESTRUN, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string TOURNO, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string XML_FILE_LOCAL, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string XML_FILE_SERVER, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] out string XML_STRING) {object[] results = this.Invoke("_ICO_CM_XML_CREATE", new object[] {ORDERNR,ROUTE,TESTRUN,TOURNO,XML_FILE_LOCAL,XML_FILE_SERVER});XML_STRING = ((string)(results[1]));return ((string)(results[0]));}</i>
    When I compile the project I get the follwing error for each occurance of the "Form" Attribute :
    "<b>'System.Xml.Serialization.XmlElementAttribute' does not contain a definition for 'Form'" </b>
    When I try to consume this webservice with a "normal" kind of application, such as a windows-application, everything is ok.
    But when trying to use it with the compact framework, the error occurs.
    Is anyone outhere who can help me?
    Thank you
    Regardings

    It seems that the "Form" property of the XmlElementAttribute was missing in Compact Framework 1.1. It does exist in Compact Framework 2.0.
    You can try removing the "Form=System.Xml.Schema.XmlSchemaForm.Unqualified" entries from the proxy, but I'm not sure of it will still correctly work: For in-parameter it should be Ok to skip "Form=", but for out-paramters and result it could have the effect that no data is received.
    In this case the best option may be to upgrade to Compact Framework 2.0.

  • Creating destinations in CAF using SSO Logon Ticket/Assertion Ticket

    Hi Experts,
    Am using ECC 6.0 & CE 7.1 EP06
    I have a Composite Application(CAF, using Java) which consumes BAPIs and Enterprise Service.
    For connecting the CAF(Java) layer to communicate with ECC I need to perform mapping between the destinations of the BAPI(RFC destination) and the Web Service destination.
    We have created the Logon Ticket and is working fine, this we can say so because there is a SAP Transaction iView and is running fine. The only problem occurs for RFC and destinations of type 'wsdl'(created for Enterprise Service)
    For authentication, in the case of
    RFC destination if I use Logon ticket I get the error " Error while creating assertion ticket on demand. No logged in user found."
    but when I used the assertion ticket it works fine.
    But for the Web Service Destination, when I try using the Logon Ticket I get the error
    " Error while creating assertion ticket on demand. No logged in user found. "
    and when using the Assertion Ticket I get this error
    " Properties not set:
    NS: http://www.sap.com/webas/630/soap/features/transportguarantee/ Name: IncludeTimestamp "
    Please help me in this issue. Any information is appreciated.
    Thanks
    --- Brian

    Do not cross post in the different forums.

  • Exception error: While consuming webservice

    While trying to consume webservice from other server. We get the following error
    "I/O Exception: Name in certificate 'URL' does not match host name 'URL'
    The code works fine in development environment. Whereas, when we are trying to consume with/without the port number as 443 using cfhttp method. It is throwing the above error.
    Environment :
    Coldfusion 8
    SQL Server 2005
    Which we are consuming is :
    Java/J2EE.
    Can you please help us? If you require any other details kindly let me know.
    Thanks,
    Satheesh.

    Try setting the resultFormat on your HTTPService to e4x.
    HTH;
    Amy

  • Unable to add custom SOAP header to consumer webservice in CRM( without using PI)

    Hello Experts,
    We have a requirement to consume webservice proxy in CRM without involving PI. We have WSDL file which has many services as depicted in the first screenshot.After checking old posts, I could add custom SOAP header by using if_wsprotocol_ws_header and there is no xml parsing error for ws_header.Have used if_ixml_stream_factory to check xml parsing error for header.
    '<soapenv:Header>'
    '<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">'
    '<wsse:UsernameToken wsu:Id="UsernameToken-2">'
                '<wsse:Username>user id</wsse:Username>'
                '<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">paswd</wsse:Password>'
                '<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MT0B9XFzsZJXXKmVKOsj/Q==</wsse:Nonce>'
                '<wsu:Created>2015-03-30T06:29:17.407Z</wsu:Created>'
    '</wsse:UsernameToken>'
    '</wsse:Security>'
    '</soapenv:Header>' INTO l_string.
    But when my ABAP program as a whole gets executed where consumer proxy is called, then it still throws XML parsing error - undeclared namespace prefix. As mentioned, there is no parsing error for header and WSDL file as a whole in SOAP UI tool works fine,by manually adding SOAP header.
    Have configured SOAMANAGER with logical port.Or any wrong setting in SOAMANAGER can cause this issue? When I tested webservice ping, it gave me attached error but I read in a SAP note that such error can be ignored.
    I want to know if some more setting/coding is required if we manually add custom header to a payload? Is PI really required to implement this requirement? Payload mapping has to be done to add custom header and if that can be taken care by ABAP coding and how?
    Can you please help?
    BR,
    Nisha Verma

    Hello Experts,
    I have not found the solution yet.
    Can anyone provide some insight??
    BR,
    Nisha Verma

  • Invalid WSDL while consuming webservice

    Hi ,
    I have done with soap to proxy interface  in PI7.1 EHP1,
    Now i am trying to publish the sender agrement to service registry i am facing the issue as
    Service Registry configuration issue
    because of this i have created wsdl file from display wsdl tool  in directory using the
    http://<host>:<J2EEport>/XISOAPAdapter/MessageServlet? channel=<party>:<service>:<channel>
    and now  i tryed tested this wsdl file by using soapui its working fine.
    the same wsdl when i am using in creating a webdynpro applicaiton to consume this wsdl file i am getting as invalid wsdl file.
    i have followed the link to create a consume webservice
    http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/
    Kindly suggest me is there any new way to create wsdl in 7.11 as i see old version 7.0 wsdl are wroking fine while creating a model in webdynpro application.
    Regards
    Vijay G
    Edited by: vijay Kumar on Jun 9, 2010 1:31 PM

    Hi,
    Since you are using PI 7.1, you need not to define the websierce by using wizard in the integration directroy.
    In PI 7.1 it is not required to manually formulate your sender SOAP URL, generated WSDL contains all the required information.
    Directly Go to Integration Directory - - - -> Sender Agreement - - - > Display WSDL
    This would help you:
    http://www.riyaz.net/blog/pi-71-publishing-service-interface-as-a-webservice-in-sr/technology/sap/527/
    Regards,
    Abid Mazhar

  • Call a Webservice with SAML securty in PI 7.0

    Hi experts,
    I need to call a Webservice with SAML security from PI 7.0, Is It possible? or only It is possible with PI 7.1?
    Thanks in advance,
    Jose Manuel

    Hi Jose,
    Let me answer your questuion first :
    No, using PI 7.0 I dont think its posible..
    Below is a brief overview on SAML.
    SAML: It stands for Security Assertion Markup Language, it is an XML standard which is used to exchange security information between a service provider and an identity provider.
    Why we need it ???
    We have a concept called Principal Propagation in PI 7.1, Principal Propagation allows to securely pass the identity of a user from a sender application to a receiver application. There are various adapters and protocols which support the Principal Propagation and one protocol amongst them is the Webservice Reliable Messaging Protocol or WS-RM. Principal Propagation solution for WS-RM protocol is based on SAML and uses the SAML assertions.
    There are some video recordings available for configuration and you can view the same as below,
    Configure a Trust Relationship between Sender and Integration Server: Exchange sender's digital certificate between sender and Integration Server.
    Configure Trusted Issuer: Map user in the Integration Server, and specify issuer. Default issuer is the sender's system ID, default attester is the sender's certificate.
    Configure Sender Agreement and Sender Communication Channel: In Integration Directory, select SAML Sender Vouches Assertion as authentication method.
    Regards,
    Divya

Maybe you are looking for

  • **question regarding 3G and wif**.

    I have a question regarding 3G and wifi. I have #G activated as well as wifi, when I go to retrieve mail for example I get a pop up asking me if I want to connect to a wifi network-should I have wifi and 3G activated at the same time, and why am I ge

  • Itunes updates to itunes 10 then it says itunes cannot open after i restart

    Hi, i usually update my itunes with no problems, last week it said itunes update so i clicked to download the update as i usually do, then when i restarted it it said 'unable to open itunes as some files missing' and i had to download itunes again. T

  • How to select rows in adf faces table

    Hi guys im new to adf faces .I created a adf faces table with some data.My task is to select one row and if i click tht row, the data of tht row will be displayed in an input text fileds.How can i select a row in a adf faces table and give actions to

  • Unable to email Pages 5.0 doc with track changes

    In Safari, when trying to attach a Pages doc (Pages 5.0 in Mavericks) with track changes in gmail I get an "Attachment failed" error. In Chrome, I'm able to attach and send the file, but the person I've sent it to is unable to open it. Is anyone expe

  • Calling stored procedure in OCCI

    Hi, Guys. I triy to call stored procedure in Oracle database server.But i have problems with taking of the OUT parameters. How to call the procedure corectly? Depend on Oracle manual everything is fine but as we see that is not. Here is the 2 lines t