Consuming multiple WSDL in PI 7.0

Hi,
Hope you are all doing well.
I have a scenario in which I have to send back a SOAP message back to a receiver system as part of a single asynchronous interface.
Now the receiver system has provided me two diffrerent WSDLs:
WSDL 1 -- Establishing a session by giving the pre-defined used-id and password
WSDL 2 -- Sending the required data to the receiving system
The interface will receive data to be sent from SAP via proxy and has to pass on the same to the receiver system via SOAP message (i.e. Proxy to SOAP flow).
Please let me know whether this is possible in PI 7.0 and if so, how?
regards
Debansu

Yes it is possible. This is one possible and simple way.  Use sender as abap proxy and during mapping use soap lookup (first wsdl) to pass user and password to get session or connection. Then use receiver as soap receiver to consume the second wsdl.
Note: Since your first wsdl to just establish the session connection and nothing important related to business you can do ths easily.
refer this link
Webservice Calls From a User Defined Function.

Similar Messages

  • WS Best Practice - Is Duplicating Operations in multiple WSDLs OK?

    My company is providing Web Services to multiple business partners for B2B and A2A Integration. We have Data Sets (XSD files) that are common to multiple services. One such example is a Customer Profile that contains stuff like Name, Address, Employment, etc. Since several of our Services (Existing and Future) includes the Customer Profile element (or some subset of it) in the request Message / Document we're expecting that the Service Consumer has already obtain the Customer Profile from an earlier Web Service call.
    While we have a standalone Customer Profile Service, when Other Services requires the Customer Profile as input should we force the Service Consumer to call the Customer Profile Service (therefore requiring them to use at least 2 Web Services for the Integration), or should we add a Proxy Operation in the Other Service that would bundle all operations required by a particular Integration into 1 Composite Service?
    Now we are not trying to create Consumer specific Web Services. We want to encourage re-use as much as possible. The whole idea of including an operation like "getCustomerProfile" in multiple WSDL / Service Contracts is only intended to simplify integration requirements for cases where a Service Consumer may only care about 1 specific Service or Integration scenario.
    Another way to ask this question might be: If a Web Service requires a Data Set / Element in the Request that can only be provided by the Service Provider, should the Service also provide an operation for querying the required Data Set / Element; or in the case of a commonly used Data Set require that it be queried from a different Web Service?
    Thanks

    If you have things set up so that your layer names end with a space and a number, so that they increment when you duplicate them, you should be able to use the layer's name to navigate to the other layers in the set. For example, if your layers are named "layer 1", "layer 2", etc. and your control layers are named "control 1", "control 2", etc., you could do something like this in your expressions to construct the control layer's name on the fly:
    n = name.split(" ");
    ctrl = thisComp.layer("control " + n[n.length-1]);
    Dan

  • How to use multiple WSDL operations in One BPEL process Recieve Activity ?

    Is there anyway to attach multiple WSDL operations with a Single BPEL process ? How ?

    Thanks Melvin for your quick respond.
    When I create a BPEL process, It asks me to give the XSD as an Input. When I import the XSD it asks me to select an operation not more than one. Let suppose I select addRequest and finish the wizard.
    Now what I can see, It create Recieve activity with an Input msg of Add operation. Well what I understand from your statement is that, I remove the recieve activity and put the Pick activity.
    Now my question is How to mention the other operations like update and delete ? And how to test them ?? The link provided by you is just tell me what Pick activity can do for me, But its not telling me how to use it ?? and how the give the operation to it. Where should I need to change in the BPEL ???

  • XML IDOC data (hosted on a web server)   &  handling multiple WSDLs

    Hi ALL,
    1)how to design an Interface for picking up an XML IDOC data (hosted on a web server) which will be uploaded to SAP or converted to a file
    this is what the customer has given me ..can any one explain me this and help me how to more forward
    2).This Interface must use UDDI concept because we are going to use multiple BAPIs /RFCs as WSDLs
    what is this mean can any send me some document on this
    3).Use web-service navigator concept as we will be handling multiple WSDLs
    i worked on 1. to define a place holder in WebAS for holding the
    wsdls.
    2. publish the wsdls in WebAS UDDI Repostory
    but i have never used web-service navigator concept as we will be handling multiple WSDLs what is the difference ..send me some step by step docs ..
    thanks very much
    RK..

    1.I am not clear with the requirement too. THere is no big deal in sending XML to IDOC or File. Based on your requirement you have to import IDOC structure or ify ou are using file, create a structure for the file.
    If u are asking about sendin the XML directly without mapping, even you can do that without MM and even IM.
    Please be more elaborate and if you are not clear with what client said, paraphrase them or ask again. Its not good to start work unless we are very clear with the requirement.
    you can say to my understanding i feel this, now pI will send data like this. Is it correct?
    2. More information on UDDI
    http://en.wikipedia.org/wiki/UDDI
    I dont think you need to worry much about this now with many features provided in ESR especially
    3. http://<Host>:<port>/wsnavigator/
    The webservices going out of PI are published here.
    provide host and port are host and port details of ext system.
    Once you enter link in your browser, it shows the available webservices hosted there.
    All you need is to click on the required wsdl and test it.
    It is as good as sending your data from PI to other system.
    It is similar to Altova XML spy but the difference here is you enter the values directly here but in XML spy we send XML .

  • Error in Consuming external WSDL in ABAP

    Dear Gurus,
    I am trying to consume a WSDL in ABAP using enterprise services in SE80. After load the WSDL and making logical port, when i test the WSDL, it gives  an error : (SOAP:1.008 SRT: Couldn't create Object: ("ICF Error when creating HTTP client object by Config for U )
    Can any body tells what is the cause of this error? I tried but unable to resolve the problem. Help from integration and ABAP gurus is required. Thanks

    Hello Imran,
    Have you tried, or is it practicable for your situation, to create the consumer service and the logical port using the URL directly, instead of a local file? (as you have shown in your print, it looks to me that it's local file)
    Maybe you can check if this WS has been used normally by other consumers, or even test it with SoapUI to guarantee it is functional (also to compare the requests). You could put this WSDL under a validation tool, i know that SAP does it when the WSDL is under processing, and it goes wrong when some elements/attributes aren't supported ... and i see you could upload it successfully, but despite of it is good to double check.
    Good luck!
    Renan

  • Error target namespace must be absolute URI when consuming external WSDL

    Hi,
    I'm trying to consume external WSDL which has relative target namespace.
    Through SE80 transaction I select Create -> Enterprise Server -> Service Consumer.
    I have tried with URL and local file options but the result is the following in both cases:
    At the en of the wizard I receive the errors "exception in Error-Handler" and "Error target namespace must be absolute URI".
    I'm on ECC 6.0 SP 18.
    Anybody knows how to solve this problem? Maybe is not possible to consume external WSDL with relative URI?
    Thanks
    Regards

    Hi,
    I think the problem is that the WSDL is not WS-I compliant.
    I have found note 1327511 (Limiations and common problems in ABAP WSDL processing) and with the report RSSIDL_DESERIALIZE_DEMOI have found the same error.
    Anybody can confirm this?
    Is there any other document or reference where SAP indicates this fact?
    Thanks
    Regards

  • Wsimport multiple wsdl problem

    Hello,
    I have been using wsimport successfully to generate a class library based on a wsdl file. The application hits 2 different web services on the same server which I have no control over, and each of these web services use a common xsd. Therefore the wsdl for each web service has some definitions in common, because these definitions are being generated based on the xsd.
    I have just started using JDK 1.6.0_04. In previous releases of the JDK, I had to write a program to merge two wsdl files together and then run wsimport against the merged file. This is partly because wsimport would only handle one wsdl file.
    Now I see that wsimport allows me to specify multiple wsdl files. When I run it, I get a lot of errors like the following:
    [ERROR] 'TaskStatus' is already defined
    line 41 of file:/C:/genTest/ReferenceQueries.wsdl
    This is because both of these files have many of the same elements defined, because they both use the same xsd.
    Is there any plan to handle this situation for future releases, or will I have to continue using my merging program?
    Does anyone know how to overcome this situation without doing any extra work to merge the two wsdls?
    By the way, I noticed that wsimport in the 1.6.0_04 release does now correctly handle inheritance, and it adds @xmlSeeAlso tags. This project seems to be moving in the right direction, so I hope there is some effort to add support for my situation.
    Thanks,
    Andrew

    The problem is that there isn't any specific error code. Model generator on the Netweaver dev studio just gives exception saying the generation failed when adding the operation parameters (can't check now the exact exception).
    I would need 3rd party libraries since the WS interface client is built using them and will of course give ClassDefNotFoundException if I do not deploy the 3rd party jars too. I tried using External library DC to deploy the jars and everything seemed fine until I checked the deployment using SDM. Even though the deployment seems to work through the NWDS, the lib is not deployed on the J2EE engine and there's not even any error message explaining why the jars fail to deploy.
    I can't understand why it has been made this difficult. Why not just give the possibility to deploy standard jars or use library paths for J2EE engine?

  • Error when multiple WSDL url used in dashboard

    Hi All,
    I have created 2 WSDL url based on 2 report blocks out of 1 webi report. When i consume these wsdl in the dashboard it gives the following error.
    If use one of them it works fine. Any suggestions,if i am missing any settings ?

    All,
    We just upgraded from 4.0 Sp4 to 4.1 sp4 patch 2.
    I have a couple of dashboards that have WSDLs running before the dashboard loads.  3 to be exact.
    Randomly, one fails to run.  Throwing error attached.
    If tested by making a new dashboard with one WSDL.  Even with one, I get this error.  Randomly.
    They test out fine from within Webi (internet rich client) and the QaaWS local client tool..  
    On a side note.  Executing the dashboard via preview fails every time.  If I run the dashboard from the launch pad, the WSDLs randomly run.
    Maybe related...  When using WEBI local client, the WSDL test tools, do not work at all.  From the Webi internet rich client, they are fine.
    I know..more than one issue here, but maybe related?
    ideas?
    thanks
    jim

  • Process to consume a WSDL file in ABAP without using XI

    Hi all,
    I want to know if we can consume a WSDL file in ABAP without using XI?
    I have developed a lot of web services and gave WSDL file to respective teams.
    Now i need to consume a WSDL file in ABAP and i dont know how to do it.For creating a web service i use the web service wizard in SE37.
    Now i need to consume a WSDL file in ABAP . The WSDL file is from a third party organization. how can i consume a WSDL file in ABAP without using XI. What is the process to consume a WSDL file in ABAP without using XI
    Please help me with process and some sample code to consume a WSDL file in ABAP without using XI
    Regards,
    Jessica Sam.

    Depending on your release the process is a little bit different. 
    For NW 2004, see these instructions.
    http://help.sap.com/saphelp_NW04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
    For NW 7.0 see these instructions, in NW 7.0, you will, use the SOAMANAGER transaction  to configure logical ports and other stuff, this replaces transaction WSADMIN and LPCONFIG.
    http://help.sap.com/saphelp_nw70/helpdata/EN/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
    Regards,
    Rich Heilman

  • Consuming Deployed WSDL

    Hello,
    I am new to BPEL, I have tried only hello world program in JDeveloper.
    1) Now i want to consume a WSDL file which is deployed on stand alone OC4J application server.
    How can i do that.
    2) I am not able to run two server i.e; BPEL and oc4j at same time.
    My web service need oc4j to run and to deploy or consume web service in BPEL i need BPEL server.
    so how can i run both on same system, or what is the other solution.

    Hi,
    Welcome to the world of SOA !!!
    Jdeveloper - This is an IDE to develope SOA composites.
    OC4J Server - This server is used on SOA 10g.
    Weblogic Server - This server is used in SOA 11g
    Are you using SOA 10g or SOA 11g ?
    To test your composite / bpel component you need to run either on 10g (OC4J with BPEL engine) or 11g (weblogic with BPEL engine).
    You can also configure JDeveloper embedded server.
    Which one u got ?
    Thanks,
    Vijay

  • How to Consume a WSDL file in Webdynpro JAVA Application 7.30

    Hi Experts,
    My requirement is,I have a wsdl file(Provided by the SAP PI) which i need to consume in Webdynpro Java 7.3(NWDS 7.30).
    I has been tried in the follwing way
    1.First click on the Model --> Adaptive Web Service Model -->Model Name--Package Name
    2.Choose Remote Location/File System.
    3.After that choose the WSDL file from my project which i added earlier.
    4.After that I get the node in the context menu.But I am uneble to set some data into the node and also uneble to get data data from the node
    After deploying my project I get the following error.
    Error ::
    The initial exception that caused the request to fail, was:
    com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: Configuration not found for service reference with ID: c73e38ff-a4d8-4e4c-89c2-827fd5cf17ac from application demo.sap.com/mwebsrvc. Either you have not assigned the Service Group to a Provider System or the generation of the configuration has failed. Check the configuration details from SAP NetWeaver Administrator -> Application Communication. --> Details about the Service Reference: {urn://TestSOAPtoRFCSender}SI_TestSOAPtoRFCSender_OB; Service Group: com.tsecl.SITestSOAPtoRFCSender_OB.pidev_nerapdrp_gov_in; Service Group Software Component: demo.sap.com/mwebsrvc; Service Group Application: demo.sap.com/mwebsrvc; Configuration state: Not configured
        at com.sap.esi.esp.service.server.dynamic.DIIServiceRefConfigContextImpl.prepareContext(DIIServiceRefConfigContextImpl.java:275)
        at com.sap.esi.esp.service.server.dynamic.DIIServiceRefConfigContextImpl.<init>(DIIServiceRefConfigContextImpl.java:59)
        at com.sap.esi.esp.service.server.dynamic.DIIContextCreatorImpl.createDIIServiceRefConfigContext(DIIContextCreatorImpl.java:18)
        at com.sap.engine.services.webservices.espbase.client.dynamic.configuration.DIIContextFactory.createDIIConfigurationsContext(DIIContextFactory.java:12)
        at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:368)
        ... 67 more
    Please help me about this.
    Thanks and Regards,
    Amit Basak

    Hi Amit,
    Create provider system in NWA -> SOA management -> System Connections. After ping is successful go to NWA -> Application Communication and select your DC and assign the provide system for your service configuration group.
    I hope it will works fine as we also did the same.
    - Pradeep

  • Problem in consuming a WSDL of ME in MII

    Hi Experts,
    I am trying to consume a ME data in MII by using ME standard webservice.Its working fine in SOUP UI 4.0.0.But same url m trying to give MII webservice action block.its returning nothing. I am trying to pass Item,Revision,Site and I want to get remaining details of that item. I am using 12.1 build 8.Here is my Url
    http://<hostname>:<port>/manufacturing-services/ItemServiceService?WSDL.
    Thanks,
    Eswaraiah M

    Hi,
    use webservice action block in transaction then assign webservice data to local parameter.
    Thanks,
    Ramesh

  • Splitting Java source into multiple WSDLs using ANT

    Hi,
    I have seven of webservice operations defined in a single webservice class. But, I want those split into different WSDLs as different services (with different service names) using ANT. I cannot find a easy way of doing that.
    The problem is that when I use servicegen, I can give the same webservice class as different services which would split it into different services. But, I would have all the operations in the overall webservice into every single service. That is not acceptable. Each service can have only one operation.
    Is this possible at all? I am using WLS 813?
    Thanks,
    Sridhar

    If you are asking if there a way to tell servicegen to put different operations from the same Java source in different WSDL, the answer is no.
    You can use the source2wsdd Ant task (http://edocs.bea.com/wls/docs81/webserv/wlws_tags.html#1095437) and the @wlws:exclude tag to exclude methods from the WSDL, but that's about it. Here, you would have multiple copies of the Java source, with each having the @wlws:exclude tag on all but one method. The names of these file copies would be something like <real-file>1.java, <real-file>2.java, etc. You won't ever compile these files, you'll just us them to copy over <real-file>.java, before you run source2wsdd. You'll be running source2wsdd on xxx.java, as many times as you have <real-file>n.java files.
    source2wsdd will then produce a seperate web-services.xml (i.e. web service) for each copy over of <real-file>.java. Each of these web services will need to have a different context root, because the endpoint for a WLS web service is exposed as a servlet.
    HTH,
    Mike Wooten

  • Can I have multiple WSDL URL in SOA composite.xml file

    Hi,
    I have composite.xml file where I have hardcoded the wsdl url in the location tag(as shown below). This is in Dev env where I have single node. If I have 2 Node cluster, how can I give the WSDL URL?? Can I have something like "comma" seperated and if one of my WSDL url is down, then it will hit the other WSDL file??
    Please give me your valuable suggestions.
    <binding.ws port="http://xxxxxxxxxxxx/#wsdl.endpoint(WSCompositeService/WSCompositePort)"
    location="http://xxxxxxxxxxxxxxxxxx/SOACompositeWS/WSCompositePort?wsdl"
    soapVersion="1.1">
    <property name="weblogic.wsee.wsat.transaction.flowOption"
    type="xs:string" many="false">WSDLDriven</property>
    </binding.ws>
    Thanks

    Hi,
    The questions is realated to invoking external servcies from your composite (references), not deploying you composite to a cluster and have multiple endpoints for your exposed services? Besides using a (dedicated) load-balancer in front of your cluster, OSB also provides a load-balancing feature for business services (that is if you use OSB and have your services exposed through OSB). See http://docs.oracle.com/cd/E23943_01/dev.1111/e15866.pdf.
    Kind regards, Ronald

  • Is there a way to have multiple WSDL's in one machine?

    Hi!
    Some Netweaver/Dynpro programmers are asking me if it is posible to have more than one WSDL in the same server. For what? They want to separate the vendors process from the materials process from the customer process, because each time any of these process creates a new real time service and uploads it to the web services, all of the three programmers have to reimport the WSDL in to their models.
    Any help will be appreciated, please..
    See you and thank you very much.
    Luis C. Gamiño C.

    No, the Management Console has one WebService page. You would need to install the Management Console a second time for that.

Maybe you are looking for

  • ITunes 5: Get Info crash

    If I Control-Click on a library item then choose Get Info (on my Mac, or a shared library or the iTunes Music Store), iTunes crashes immediately. If, however, I press Command-I, Get Info window appears. iTunes has been completely deleted (including r

  • How to make photoshop back to its original color

    I found the problem to color in photoshop , I need help from the masters photoshop for more details please see the following picture - when blank mode everything looks normal - but when creating a new layer that problem begins this time I really need

  • All day event as memo

    Hi, I use MFE for syncing my calandar. In the past while using the PC suite an all day event was shown on my E65 as a memo. This was fine because one could see the event the whole day. Now with MFE it syncs as an appointment. Is there a possibility t

  • Bookmarks keep getting rearranged every morning when I open Firefox in the morning

    For the last week everyday when I open my browser either on my PC or laptop all my bookmarks are jumbled (no longer in alphabetical or) as when I closed it in the evening. This has just started to happen this week and I have been using Firefox for ov

  • Windows Vista 64 Bit... Disc Burner Or Software Not Found

    Hi all... When I try to back up my library or burn a disc I get (Disc Burner Or Software Not Found)