How to use the same port twice in composite application

Hi,
I have deployed a Dot Net web service which has 2 operation (say provider1 and provider2) both will accepts and return a string. This Dot Net web service has one port and 2 partner links (one for each operation). I created a client wsdl which also has 2 operations(say client1 and client2). Client wsdl contains one port and a partner link.
I also created 2 different BPEL processes for client1-provider1 and client2-provider2 operations, i want to create a composite application with both this bpel. If I deploy my composite application I can able to see only one connection from client1-provider1. How to add soap binding manully so that I can test both the processes. I am new to web service, need step by step procedure.
Thanks in advance,
Natraj

Snarky McSnarkster wrote:
twins???!!!
That's how they did the real and T1000 version of Sarah Connor at the end of T2.

Similar Messages

  • How to use the XSLT SE in  a composite application

    (The new XSLT SE as of July.)
    I followed the setup using the XSLT wizard in Netbeans and the xsltse driver-tests out of the open-jbi-components checkout and now I am stuck. Kevan points out that BPEL and partnerlinks are no longer needed, so I'm not sure how to construct a CA with it.
    I tried that route anyway by dragging my xsltModule wsdl into my bpelModule flow and it created a partnerlink for me (very cool). I then added both modules to my composite app. When I deployed the app to glassfish, it complained about duplicate xsd types because both of my modules use the same schema imported as rssext.xsd.
    So do anyone have a suggestion as to which route to go and how to do it successfully?
    Jeff

    Kevan,
    Thanks for your help, I finally get what I need to do. :)
    I just need to get past an xslt TransformerException and I'll have it working. I'll reply back here with what I had to do start-to-finish so others can learn from my example.
    Xslt transformation failed: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
    javax.xml.transform.TransformerException: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:651)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281)
            at com.sun.transform.engine.xslt.XsltEngine.process(XsltEngine.java:127)
            at com.sun.transform.engine.xslt.XsltEngine.process(XsltEngine.java:70)
            at com.sun.transform.engine.runtime.impl.TransformUnitImpl.execute(TransformUnitImpl.java:53)
            at com.sun.transform.engine.runtime.impl.EngineImpl.runProcess(EngineImpl.java:130)
            at com.sun.transform.engine.runtime.impl.JbiEngine.process(JbiEngine.java:81)
            at com.sun.transform.engine.runtime.impl.ProcessInstanceImpl.execute(ProcessInstanceImpl.java:116)
            at com.sun.jbi.engine.xslt.process.XsltseMessageListener.onMessage(XsltseMessageListener.java:88)
            at com.sun.jbi.crl.mep.impl.SingleThreadManager.invoke(SingleThreadManager.java:67)
            at com.sun.jbi.crl.mep.impl.DefaultAcceptPoller.run(DefaultAcceptPoller.java:97)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
            at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:419)
            at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:275)
            at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(SAX2DOM.java:141)
            at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:205)
            at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:524)
            at gcitransform.template$dot$0()
            at gcitransform.applyTemplates()
            at gcitransform.applyTemplates()
            at gcitransform.applyTemplates()
            at gcitransform.transform()
            at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:644)
            ... 11 moreJeff

  • How do I use the same photo twice in a slideshow created in iPhoto'11?

    I created a slideshow in iPhoto'11 and would like to use the first slide also as the last slide.
    How can I use the same photo twice?

    Seems you have to duplicate the photo in your Library to add the same picture twice.

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

  • Using the same subreport twice

    I'm trying to use the same subreport twice in the same
    report, passing it different parameters that modify its query, but
    I keep getting a data binding error. I'm pretty sure what's causing
    it is the fact that I'm using the same subreport twice because if I
    save a copy of the same subreport with a different name and include
    it instead of repeating the same subreport things work fine. Any
    good reason why using the same subreport twice shouldn't work, or
    any solution t o this problem?

    Most certainly - you add the second audio track to the second audio stream for the track (A2). You can then set your menu buttons to play the track with either version of the audio. This is generally how things are done when there is a directors commentary, or where there are different types of audio (say, Dolby 5.1 and a standard stereo track for the same footage) that the viewer can choose between.
    Have a read of this, too:
    http://www.editorsbin.com/authoring/setupandresume.html
    There's a lot of additional info there to help you on your way.

  • Can two different local ips use the same port at the same time?

    Can two PS3s use the same ports at the same time. So let's say you have two PS3s and they need to open the exact same set of ports at the same time to be able to play the same game online. Is that possible on a regular consumer router such as the wrt310n? If so, then how would someone go about that. I am just asking out of curiosity.
    I don't work for Cisco. I'm just here to help.

    Use port range Triggering instead of Port forwarding. When you use port triggering then those ports will be opened for the entire local network.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • How to Use the same iview for both KM End User and the KM Administrator

    Hi friends,
    *This is my scenario :* How to Use the same iview for both KM End User and the KM Administrator but with different Context
    Menu Options.
    i followed these steps but im getting same context menu for both KM End User and the KM Administrator .
    Assign the role Content Administrator to the user km_admin. This is needed so that km_admin can change
    the presentation settings for the KM Folder u201EReports_kmFolder‟.
    Now, login with user km_admin. Navigate to the Km Folder reports_kmFolder through Content Administration
    -> Km Content. Click on Details link of the folder reports_kmFolder.
    Go To Settings -> Presentation. Click on the tab u201ESettings for You‟-> Click on button u201ESelect Profile‟.
    Select the radio button corresponding to u201Elayout Set‟, and choose u201EConsumerExplorer‟ from the dropdown.
    Click u201EOK‟.
    Select both the check boxes corresponding to Items Affected as shown above, and click u201ESave‟
    Now, remove the u201ESuper Administrator‟ role from the user km_admin and login with this user.
    How rto resolve this????
    Regards,
    Prasad.

    Hello Prasad,
    Most likely the user km_admin still has system principal roles assigned, even though you removed the Super Admin role, you should check that this user doesn't have any other admin roles, otherwise it will be considered a System Principal user and will therefore still have access to all content. For more information see http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm
    Try creating a new user with just read access to the content and you should see that it will not be able to make any changes etc.
    Regards,
    Lorcan.

  • How to use the same email address for outgoing email on two iPads?

    How to use the same email address for outgoing email on two iPads?.   My wife and I both use the same email address.  We receive the same incoming email on both iPads but are unable to send email from my wife's iPad.  She is using an iPad 2 and is usng IOS 6.0.1

    Hi Creaturekeeper,
    If you've added the account into the iPad and you are unable to send email from it, then please follow the troubleshooting in the article below.
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Take care,
    Alex H.

  • Can I use the same SSI twice in same page?

    Hey all,
    i'm having a problem whereby several SSI's are not showing on my page.
    I'm wondering if it's because the instances that are not showing are the ones called the second time round.
    Before i start posting code etc, i just wondered if it was actually not possible to call the same SSi more than one time on a page.
    I can't seem to find documentation stating this anywhere.
    Thanks in advance,
    Katrina
    Edit 1: I tested using a new unique SSI (i.e. one that wasn't called anywhere else on teh page, and it doesn't show either... so I've started a new thread where i post my code here: http://forums.adobe.com/message/5345250#5345250
    Edit 2: I guess i didn't test properly initially. It seems it is NOT possible to use the same SSI twice on a page...   What a bummer!!!

    This issue was resolved in a different thread where s member supplied the following information...
    t's certainly possible depending on the PHP command which you use as the include directive.
    <?php require_once('includes/include-address.php'); ?> will only include the file once
    <?php require('includes/include-address.php'); ?>  will include the file more than once
    <?php include('includes/include-address.php'); ?>  will include the file more than once
    Each has its own rules and quirks.
    http://php.net/manual/en/function.require-once.php
    http://www.php.net/manual/en/function.include.php
    http://www.w3schools.com/php/php_includes.asp

  • Can I use the same scrollpane twice in my project?

    I am creating a project that has 3 scenes. 1 scene has a movieclip. Inside the movieclip, I have a scrollpane that generates dynamic text called welcome_scroll. The file runs fine when I test it displaying the scrollpane window and loading the text. However, I need to use the same scrollpane with the same dynamic text in Scene 2 titled Home in the main timeline. So I copied and pasted the scrollpane into scene 2's main timeline. When I test it, Scene 1 runs fine, but Scene 2 only displays the scrollpane with no text. Plus I get an error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Maritime_splashpage_01_fla::MainTimeline/__setProp___id1__home_scrollpane_0()
    at Maritime_splashpage_01_fla::MainTimeline/frame1()
    Error #2044: Unhandled ioError:. text=Error #2035: URL Not Found. URL: file:///C|/Documents%20and%20Settings/username/Desktop/welcome_scroll
    I tried once test. I decided to delete the scrollpane in Scene 1's movieclip thinking that using the scrollpane twice was the problem. But that did not work. Scene 2 stills gives me an error message with just scrollpane and no text.
    I was also thinking of duplicating the scrollpane in the library with a different name but not sure if that is efficient or the solution. If that is the case, would I have to duplicate the the dynamic text movieclip in addition changing the actionscript to reflect the changes?
    It's just a headache for me thinking Flash would be efficient in allowing you to reuse the scrollpane with the same dynamic elsewhere in my project.

    Below is the only code that I had to create which is basically variables for the textfield's point size and fonts to use that I embedded into the library for runtime. The way I was able to get the scrollpane to load the movieclip is by first creating a movieclip, drawing a textfield, naming the textfield instance called welcomeField, creating the actionscript in frame 1 of the movieclip (which you will see below), then setting up the properties of the movieclip by checking Export for Actionscript and Export in frame 1. The class and base class automatically created the names. I copied the class name and entered that into the source field of the component inspector of the scrollpane. That was it.
    var myFont1:Font = new Font6();
    var myFormat1:TextFormat = new TextFormat();
    myFormat1.font = myFont1.fontName;
    myFormat1.size = 15;
    var welcomeField:TextField;
    welcomeField.autoSize = TextFieldAutoSize.LEFT;
    welcomeField.defaultTextFormat = myFormat1;
    welcomeField.embedFonts = true;
    welcomeField.antiAliasType = AntiAliasType.ADVANCED;
    welcomeField.text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam et viverra sapien. Quisque lacinia velit in diam tempor at aliquam nisi tincidunt. Maecenas ut libero enim, eget viverra ligula. Suspendisse potenti. Quisque ut enim lobortis tortor pulvinar lobortis sed lacinia turpis. Nunc quis eros nunc. Curabitur quis tortor neque, in suscipit libero. Duis sit amet nisl lectus, eleifend imperdiet ligula. Integer vestibulum blandit nisi ut tincidunt. Praesent sapien magna, vestibulum sit amet pellentesque a, auctor vitae tellus. Sed dignissim neque non dolor malesuada volutpat. In hac habitasse platea dictumst. Pellentesque pulvinar imperdiet facilisis. Aenean tincidunt magna in turpis euismod ac imperdiet lectus luctus. Sed aliquam semper urna vel ultricies. Proin posuere lacinia ligula vel tincidunt. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu velit ac ante euismod elementum.\n\nAliquam erat volutpat. Praesent a dolor a leo imperdiet ultricies. Maecenas rutrum varius mi nec bibendum. Proin in leo quam, in mollis quam. In laoreet, lacus sed elementum volutpat, velit elit condimentum lorem, faucibus hendrerit est ante id metus. Morbi sed purus ac felis laoreet rhoncus. Donec a felis vitae ligula pharetra vestibulum. Vivamus vehicula aliquet mauris ut posuere. Aenean eget lacus est. Donec lacinia mi vel tellus blandit luctus ac id lectus. Vivamus pharetra felis ac massa cursus hendrerit. Nulla elementum sagittis turpis in laoreet. Nunc tempor felis ut est fringilla cursus. Praesent in rhoncus velit. Aliquam fringilla felis non tortor auctor sit amet euismod velit dictum. Donec ligula eros, suscipit et egestas eget, ultricies ut dui. Integer et lorem felis, at tincidunt ante. Suspendisse tincidunt ultrices sapien. Nunc nibh elit, varius ut viverra quis, fringilla et sem. Duis nec mattis massa.\n\nVivamus interdum auctor diam, id dignissim risus iaculis convallis. Phasellus ac sagittis elit. Aenean est metus, tincidunt in suscipit ornare, vestibulum at massa. Sed ut enim a orci pharetra adipiscing. Proin quis neque sapien. Sed nec vehicula dolor. Nunc metus urna, adipiscing a euismod pharetra, vehicula eu nibh. Etiam a augue in velit auctor commodo. Nulla dictum tempor faucibus. Nunc porta bibendum ante eget condimentum. Sed in ipsum nec dolor malesuada tristique ac sed lorem. Donec nec tortor lacus, sodales dignissim nisl. Curabitur lacus orci, lacinia in dignissim eu, sodales ac ipsum. Nunc viverra magna at erat molestie non ultrices ipsum faucibus.";

  • How to use the same apple id on two different iphones with different sync?

    Hi all,
    I own an iPhone 4s for personal use. Soon my company is going to give me a business phone and I can choose to have another iPhone. I'd love it but I don't know if what I wanna do is possible.
    Let's say I will have iPhone P (personal) and iPhone B (business) and Apple ID MyID.
    At the moment on iPhone P with account MyID I have application App1, App2, ... App9, I have contacts Cont1, Cont2, ...Cont9, I have songs Song1, Song2, ... Song9. All these are synced on my personal PC via iTunes and stored in the iCloud.
    When I'll get iPhone B I'd love to be able to use on it my Apple ID MyID and to sync it with my business PC (so NOT the same one I use for iPhone P).
    The configuration I'd love to have would be the following.
    iPhone P
    - Applications: App1, App2, App3, App8, App9
    - Contacts: Cont1, Cont2, ... Cont9
    - Songs: Song1, Song2, ... Song9
    iPhone B
    - Applications: App4, App5,App6, App7, App8, App9, App10 etc.
    - Contacts: Cont1, Cont2, Cont10, Cont11, ..., Cont20
    - Songs: Song1, Song2, Song10, Song11, ... Song20
    So will it be possible using the same Apple ID MyID on both iPhones to have this configuration? Some apps, contacts and songs in common and some differents?
    If so, how should I configure the two iPhones and the two PCs?
    Kind regards.

    If you use the same Apple ID for iCloud on each device, yes. However, you can use the same Apple ID for iTunes content on each device, but different Apple ID's for iCloud, iMessage, FaceTime, etc., on each device. That way, you can have whatever iTunes content you want on each phone, but keep all of the other data separate. You can create another Apple ID here:
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleId?loca lang=en_US
    Must be a verified email address.

  • How to use the same component in different applications

    Hi All,
    I need to use the same component in different applications. i.e In opportunity, Quotation & Promotion.
    The Search help view in the component PRD01QR should be used in all these components but with different search criteria.
    With help of the DO_determine_configuration, different view configurations are possible but Different search criteria is not possible.
    for Eg. search parameter without DDLB, F4 options in another components.
    How can I control the behavior of the search view in different applications with restricting the field properties?
    Is it possible to find out where and in which component these search_help_search component is used?

    Hi Harry,
    Is it possible to find out where and in which component these search_help_search component is used?
    ans: I am giving an Example for your question go through that u might get clear about this.
    Ex: BT115IT_SLSO  sales order component
    below screen they component usage using for populate the product search component.
    please let me know any help required .
    Regards,
    vishwa.

  • How to use the same element in different Web-Services?

    I have defined a web-services in two WSDL files.
    I want to use the same type in this two services. Because if one service call the other one, it could pass the class it just got. Otherwise, the classes can't be casted.
    Web-Service1:
    public com.package1.State inputValue (com.package1.State state) {
    return state;
    Web-Service2:
    public com.package2.State inputValue (com.package2.State state) {
    return state;
    }And now, If I call from the Service2, the Service1 and put
    Service1.inputValue(com.package2.State state) ;
    I can't do this, can't cast and so on. But I want my tool WSDL2Java, will create the same State.class for two Web-Services, like:
    Web-Service1:
    public com.package3.State inputValue (com.package3.State state) {
    return state;
    Web-Service2:
    public com.package3.State inputValue (com.package3.State state) {
    return state;
    }Is it possible? How to define it in wsdl?
    Thanks in advance.

    You can certainly do this in WSDL, simply put your
    common element in a schema file and "include" it into
    each of your WSDL files. Obviously your element will
    have to use the same namespace in all places.
    I'm not sure whether wsdl2java can cope with
    "include" statements in WSDL. I know plenty of other
    similar tools, e.g. Axis and .Net tools, didn't
    support this however they may have moved on since I
    used them.
    To get around this you have to "manually" include the
    schema in each wsdl for code generation purposes.Thanks for the answer. I did as you said and it works fine.

Maybe you are looking for