AMFConnection Java client - what is the url of the service?

I can't get the AMConnection object to connect to me BlazeDS service. How can I determine the URL and my service endpoint?

My service of BlazeDS is a simple, Hello world no parameters:

package example.blaze;

public class {HelloWorldService

public String getHelloWorld() {}
Return "Hello from BlazeDS.
}
}

The destination in the remoting - config.xml is set up like this:

<? XML version = "1.0" encoding = "UTF-8"? >
< id = service "-remote access service" class = "flex.messaging.services.RemotingService" >

< adapter >
< adapter-definition id = "java-object.
Class = "Flex.Messaging.services.Remoting.Adapters.JavaAdapter"
default = "true" / >
< / adapters >

< default channels >
< Channel Ref = "my - amf" / >
< / default channels >

< destination id = "helloworld" >
Properties of <>
example.blaze.HelloWorldService < source > < / source >
< / properties >
< Ref adapter = 'java-object' / >
< / destination >

< / service >

I expect this Java client to work, but it doesn't:

AMFConnection amfConnection = new AMFConnection()

amfConnection.connect ("http://localhost:8080/blazeds /" "")

Object result = amfConnection.call ("helloworld.getHelloWorld")

The error is:

ClientStatusException
message: java.io.FileNotFoundException: http://localhost: 8080/blazeds /
Code: AMFConnection.Call.Failed

I tried many variants on this endpoint and cannot get anything to work.

What is the correct setting for #connect (String) AMFConnection AMFConnection #call (String, Object...)?

Thank you

Look at the definition of endpoint services - config.xml and make sure that the url there is the url you are trying to connect to with AMFConnection.

-Mete

Tags: Flex

Similar Questions

  • Try SAML sender - guarantor, standalone Java client call to the service bus.

    I built a stand-alone Java using Jax - ws client. It produces a header WSSE containing a SAMLAttribute and SAMLAuthentication instruction in option.
    I tried to configure a proxy service on the servicebus (10gR 3) using ws-policy (weblogic version, not ws-1, 2), set up a SAMLIdentityAsserter (v2), a partner of identity provider and a SAMLIdentityNameMapper.

    [I get the message weblogic.xml.crypto.wss.SecurityTokenValidateResult@ca32f2[status: false] [the msg SAML token is not valid.]
    sending the SAML assertions which seems valid to me.

    If you see something missing or invalid in the language SAML, something missing in the config or something else, I would be really happy.

    All the examples use a SAMLCredentialmapper, but I'm building a stand-alone client, so a weblogic SAMLCredentialMapper is out of the question (?).

    the request header:
    < S:Header >
    < xmlns:wsse wsse: Security = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" S:mustUnderstand = "1" >
    < saml:Assertion SAML = "urn: oasis: names: tc: SAML:1.0:assertion" xmlns:ds = "http://www.w3.org/2000/09/xmldsig#" xmlns:exc14n = "http://www.w3.org/2001/10/xml-exc-c14n#" xmlns: XS = 'http://www.w3.org/2001/XMLSchema' AssertionID = IssueInstant "1246342701761" = "" 2009-06 - 30 T 06: 18:21.683Z "issuer ="http://openuri.org/service/customer/contact/contactInformationService"MajorVersion ="1"MinorVersion ="1">"
    < saml:Conditions = NotBefore "" 2009-06 - 30 T 06: 17:21.683Z ' NotOnOrAfter = "2009-06 - 30 T 07: 18:21.683Z" / > "
    < saml:AuthenticationStatement AuthenticationInstant = "" 2009-06 - 30 T 06: 18:21.683Z ' AuthenticationMethod = "urn: oasis: names: tc: SAML:1.0:am: unspecified" > "
    < saml:Subject >
    < saml:NameIdentifier Format = "" urn: oasis: names: tc: SAML:1.1:nameid - format: X509SubjectName "NameQualifier ="sb1sk"> uid = vsb, OU = smn < / saml:NameIdentifier >"
    < saml:SubjectConfirmation >
    < saml:ConfirmationMethod > urn: oasis: names: tc: SAML:1.0:cm:sender - vouches < / saml:ConfirmationMethod >
    < / saml:SubjectConfirmation >
    < / saml:Subject >
    < / saml:AuthenticationStatement >
    < / saml:Assertion >
    < / wsse: Security >

    answer:
    < env:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:env >
    < env:Header / >
    < env:Body >
    < env:Fault xmlns:wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >
    WSSE:InvalidSecurityToken < faultcode > < / faultcode >
    < faultstring > token security failed to validate. [weblogic.xml.crypto.wss.SecurityTokenValidateResult@1061c5e[status: false] [the msg SAML token is not valid] < / faultstring >
    < / env:Fault >
    < / env:Body >
    < / env:Envelope >

    If the customer leaves out the element, wsse: Security in the header, the service complains
    header < faultstring > Security No. message but required by the policy. < / faultstring >

    The name of SAMLIdentity Mapper is never loaded at all (checked by logging into the class loading)


    The configuration in the identity provider partner:
    the URI of the audience: target: *: /.
    sender URI: / service/customer/contact/contactInformationService (also tried with a single string equal to what the client sends)
    virtual user: enabled
    confirmation method: vouches for the sender

    I do not use certificates (tried with and without)


    Policy in use for the proxy service:

    <? XML version = "1.0"? >

    < wsp
    xmlns:WSP = "http://schemas.xmlsoap.org/ws/2004/09/policy".
    xmlns:WSSP = "http://www.bea.com/wls90/security/policy".
    xmlns:WSU = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd".
    xmlns:WLS = "http://www.bea.com/wls90/security/policy/wsee#part".
    WSU: ID = "samlSV".
    >

    < wssp:Identity >
    < wssp:SupportedTokens >
    < wssp:SecurityToken TokenType = "http://docs.oasis-open.org/wss/2004/01/oasis-2004-01-saml-token-profile-1.0#SAMLAssertionID" >
    < wssp:Claims >
    < wssp:ConfirmationMethod > sender - vouches < / wssp:ConfirmationMethod >
    < / wssp:Claims >
    < / wssp:SecurityToken >
    < / wssp:SupportedTokens >
    < / wssp:Identity >


    < / wsp >


    StackTrace:
    weblogic.xml.crypto.wss.WSSecurityException: validate failure of security token. weblogic.xml.crypto.wss.SecurityTokenVal
    [idateResult@a4fc20[status: false] [the msg SAML token is not valid.]
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshalAndProcessSecurityToken(SecurityImpl.java:630)
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshalChildren(SecurityImpl.java:556)
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshalInternal(SecurityImpl.java:448)
    at weblogic.xml.crypto.wss.SecurityImpl.unmarshal(SecurityImpl.java:416)
    at weblogic.xml.crypto.wss.api.WSSecurityFactory.unmarshalAndProcessSecurity(WSSecurityFactory.java:66)
    at weblogic.wsee.security.WssServerHandler.processRequest(WssServerHandler.java:35)
    at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)
    at com.bea.wli.sb.security.wss.WssInboundHandler.processRequest(WssInboundHandler.java:116)
    at com.bea.wli.sb.security.wss.WssHandlerImpl.doInboundRequest(WssHandlerImpl.java:201)
    at com.bea.wli.sb.context.BindingLayerImpl.addRequest(BindingLayerImpl.java:257)
    at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:66)
    to com.bea.wli.sb.pipeline.RouterManager$ 1.run(RouterManager.java:508)
    to com.bea.wli.sb.pipeline.RouterManager$ 1.run(RouterManager.java:506)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)

    Published by: user6080617 on June 29, 2009 23:39

    You have configured a SAML2 identity Asserter, which is not a v2 SAML identity Asserter!

    Replace this line of and try again.

  • What is the service console command to give the IP address of the ESX host?

    What is the service console command to give the IP address of the ESX host? /

    What is the command to give the IP address of a host that has no IP?

    see this

    http://KB.VMware.com/kb/4309499

    It's good to have as well

    http://VMware-land.com/esxcfg-help.html

  • Cisco VPN Client - what are the ports I need to open the 1841?

    Hello. As it says on the Tin really, what are the ports I need to allow my access on our 1841 list to allow the Cisco VPN client on through it?

    Ta

    UDP 500 (isakmp)

    UDP 4500 (nat - t)

    Protocol ESP 50

  • What is the services category in the modules Manager page?

    I searched the web and the web site of firefox and I can't find anything that explains what is the category of service (found on the Manager of Addons tab):

    Get Addons
    Extensions
    Appearance
    Plugins
    Translation
    SERVICES < - cannot find anything explaining this category, and the word "services" are too general for an effective search - returns gazillions of pages...

    Hello steve_dupuis, this section is about Web services that can be integrated into the browser via the api social - for examples, see: https://activations.cdn.mozilla.net/en-US/

  • What is the service of the complaints of microsoft security

    What is the email address for mirosoft pharmacovigilance?

    Hello

    1. what products or services you have problems with?

    You can contact the customer service of Microsoft.

    http://support.Microsoft.com/kb/295539

  • What are the Service AM or Service YOU used to?

    Can you please briefly explain their uses, or point me to the documentation just because I can't find it in Google. Thank you.

    Hello

    A service request module (SAM) is similar to a regular BC4J augmented AM but with annotations of service.
    A view of service object (SVO) is similar to a VO BC4J regular but augmented with annotations of service.
    A service data object (SDO) is a serializable value class that represents a row of data, which in turn represents a commercial entity, and which are exchanged in service requests and service responses.
    A service interface defines the public market of a request and contains definitions of the service-based methods.
    A service implementation implements the contract defined by the service interface and introduces life cycle business service object. She maintains a reference to SAM and can call SAM and SVO methods.
    The service layer exists outside the SAM layer. Referring to the SAM, she calls the AM.

    You can get more details in R12 Jdev\jdevdoc\WebHelp\toolbox\toolbox.htm

    Search 'Exercise of Services', you will also get the step by step tutorial.

    Thank you.

    With respect,
    Kali.
    OSSI.

  • What is the service manager

    I have windows 7 (32-bit); the latest version of internet explore (version 10.0.9200etc) and have got rid of the latest version of flashplayer. By downloading the latest version of Flash Player, it is said that I have to close internet explore everything (no problem) and "servicemanager". I have no idea what this means? (I turned off my AVG, so this isn't the problem).

    Could someone tell me what is this servicemanager and how it close? I would be extremely grateful, because it becomes frustrating! Thank you.

    Launch Windows Task Manager (keyboard shortcut: Ctrl + Shift + Esc)

    Go to the process tab

    Make sure that "Show processes from all users" are checked.

    Then locate the servicemanager, select the process, and then click on end process.

    After that, you can install flash player.

  • What is the Service Station?

    Hello

    Which is really the driver of Station Service?

    -check the updates of drivers or others?

    Thank you

    [TOSHIBA Service Station | http://forums.toshiba.com/t5/General-Features-Knowledge-Base/TOSHIBA-Service-Station/ta-p/346878]

    + This application allows your computer automatically search for the software updates TOSHIBA or other alerts from TOSHIBA that are specific to your computer system and its programs. If enabled, this application passes periodically to our servers a limited amount of system information required to perform these updates or alerts. +

  • What is the service of Microsoft of loved ones?

    I read something about a service or a Microsoft application that allows my 'CLOSE' to access my confidential data, passwords, etc. after my death.  Probably, this requires a prior approval of some sort.  I tried for more than an hour to find out how to get it.  Can someone help me?

    Try to ask from this Portal: http://support.microsoft.com/contactus

    Steve

  • How to prevent the download wsdl in the service client web weblogic

    Hello

    I have a problem with the service client web weblogic. My workplace:

    WebLogic server 8.1
    Windows XP SP2
    JDK 1.4

    I use the weblogic tool to generate the client jar file in the wsdl file.

    < target name = "customer generate" >
    < wsdl = "ACCESS.wsdl" clientgen
    packageName = "xxxxxx.client"
    clientJar = "${customer} / ${AccessClient_jar_file}" "
    keepGenerated = 'true '.
    saveWSDL = 'true '.
    / >

    < javac srcdir = "${source}.
    DESTDIR = "${client}.
    includes = "" * / AccessClient.java ">"
    < classpath >
    < pathelement path = "${customer} / ${AccessClient_jar_file}" / >
    < / classpath >
    < / javac >
    < / target >

    After this, I create a java client to call the service deployed on the server.

    Public Shared Sub main (String [] argv)
    throws the Exception
    {
    int transactionId = 100;
    int id = 1000;

    Of the overall message JAXM plant
    System.setProperty ("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
    Of the plant of global JAX - RPC service
    System.setProperty ("javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");

    AccessServicePorts ws = new AccessServicePorts_Impl(argv[0]);
    AccessService port = ws.getAccessService ();

    Resources - create
    Resource = new Resource();
    resource.setRES_CD ("Create ResCo");
    resource.setCODE_CODE ("code_cod");
    resource.setRES_TYPE ("Resource type");
    resource.setCOMMON_FIELD (common);
    AccessDefaultResult resultItems = port.createResource (resource);
    System.out.println ("createResource:" + resultItems);
    }

    I find that this web service always client issue 2 http requests to call a web service method deployed in the server.

    1 reqeust http:

    GET/AccessEpol/EpolServiceSoap? WSDL HTTP/1.1
    User-Agent: Java/1.4.2_08
    Host: 127.0.0.1:8001
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q =. 2
    Connection: keep-alive

    the result is the wsdl that is downloaded from the server.

    2nd http request is the actual web service request.

    The question is how could eliminate demand http (1) because it is really useless. I use different customer web service as axis 1.x, axis customer never has the http request to download the wsdl from the server.

    I read the weblogic web service document. Do it mentions that put saveWSDL = "true" in the clientgen Ant task. the default value for saveWSDL is true already. I tried saveWSDL = 'false' also. None of them can eliminate the 1st http request.


    appreciate for any answer to my question?

    I think that you must use the constructor arg - No. of the AccessServicePorts_Impl to use local client jar WSDL.

    Please try this and it should fix the problem...

    ----------------------
    AccessServicePorts ws = new AccessServicePorts_Impl();
    AccessService port = ws.getAccessService ();
    -------------------

    Jayesh
    Yagna Sys.

  • Trigger the update of java client when the table is modified

    I have a Java Swing client and a worker C program. The two must communicate with each other via events (written C progression in Oracle, Java Swing client table displays the progress of the user).

    I thought I could do this via a trigger on an oracle table. However, I could not understand how to do this. Well, create the trigger was the easy part, but how can I leave the trigger and monitoring a stored procedure to communicate with my Java client? All the info I found was on the triggers and how to store a Java method in an Oracle DB. This isn't what I need. I guess I must register my Java client in some way to monitor relaxation / table.

    Does anyone know how to do? I prefer not to use additional libraries (libraries AQ Oracle, Oracle streams). A simple trigger would suffice.

    Thank you very much for your help!

    >
    Does anyone know how to do?
    >
    Use the 'Database change Notification' feature to JDBC. See this article in the Guide of the Dev of JDBC
    http://docs.Oracle.com/CD/B28359_01/Java.111/b31224/dbmgmnt.htm

    And 29-2 in the doc it shows how to use
    >
    In this example, if you leave the registration now open instead of close, then change thread notification database continues to function. Now, if you run a DML query that modifies the SCOTT. DEPT table and commit, say SQL * Plus, the Java program then prints the notification.

  • TurboTax cd installation problem... Error message States "D:\setup.exe is not a valid Win32 application"... What is the solution to allow me to install my TurboTax program?

    Error message States "D:\setup.exe is not a valid Win32 application"... What is the solution to allow me to install my TurboTax program?

    Maybe a cd damaged?

    Hello

    ·         What is the service pack installed on your computer?

    There are changes that the CD is damaged. You can copy the file to install it on the computer and then try to install the application, and check.

    To install TurboTax, the condition of basic system for Windows is:

    Minimum system requirements

    Processor: 1 GHz 32-bit (x 86) or faster processor

    Operating systems:

    Windows XP (32-bit) Home edition or professional with Service Pack 3 or higher; or

    Windows Vista (32 - bit and 64 - bit) Home Basic/Home Premium/Professional/ultimate; or

    Windows 7 (32-bit and 64-bit).

    Administrator rights required to install and use TurboTax.

    RAM: 512 MB RAM (1 GB recommended)

    Hard drive space *.

    * Must be on the same drive that TurboTax is installed on

    ·         Federal products: 500 MB for TurboTax (plus up to 1.5 GB for Microsoft .NET 4 if not already installed)

    ·         Products from the States: 15 MB

    ·         Federal more State products: 515 MB for TurboTax (plus up to 1.5 GB for Microsoft .NET 4 if not already installed)

    Reader of CD-ROM: 2 X CD-ROM drive

    Monitor: recommended 800 × 600 resolution (1024 × 768) screen

    Internet access (required):

    Modem 56 Kbps (connection broadband recommended)

    Other software:

    ·         Microsoft .NET 4 (included with TurboTax Installer)

    ·         Adobe Reader 8 +.

    Printer: Windows compatible ink jet or laser printer

    Hope this information is useful.

  • How to manage the connection failure of network at the service of bussiness on OSB

    Hello everyone.

    Thank you for your attentions. I need help with the error handling in the OSB 11 g. I have a proxy that road to a business service to check the status of the service profile. I use the java client to use the proxy service and return the results to clients. The problem that I am facing manipulation is failure of the network connection.

    I want to get some message (or any useful information) of proxy service to indicate that the connection to the business service is not available when the connection fails. I tried to add the management of errors, but I can't found the action from the list of options.

    Can you review my proxy service and tell me some resolutions?
    Any suggestion is appreciated.

    I thank in advance
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con4="http://www.bea.com/wli/sb/stages/logging/config">
      <ser:coreEntry isProxy="true" isEnabled="true">
        <ser:binding type="SOAP" isSoap12="false" xsi:type="con5:SoapBindingType" xmlns:con5="http://www.bea.com/wli/sb/services/bindings/config">
          <con5:wsdl ref="Test/resources/wsdl/PortalSide"/>
          <con5:port>
            <con5:name>PortalSideSOAP</con5:name>
            <con5:namespace>http://www.example.org/PortalSide/</con5:namespace>
          </con5:port>
          <con5:selector type="SOAP body"/>
          <con5:WSI-compliant>false</con5:WSI-compliant>
        </ser:binding>
        <ser:monitoring isEnabled="false">
          <ser:aggregationInterval>10</ser:aggregationInterval>
          <ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
        </ser:monitoring>
        <ser:reporting>true</ser:reporting>
        <ser:logging isEnabled="true">
          <ser:logLevel>debug</ser:logLevel>
        </ser:logging>
        <ser:sla-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:sla-alerting>
        <ser:pipeline-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:pipeline-alerting>
        <ser:ws-policy>
          <ser:binding-mode>wsdl-policy-attachments</ser:binding-mode>
        </ser:ws-policy>
      </ser:coreEntry>
      <ser:endpointConfig>
        <tran:provider-id>http</tran:provider-id>
        <tran:inbound>true</tran:inbound>
        <tran:URI>
          <env:value>/Test/proxy-services/DnICT_WSDL_PS</env:value>
        </tran:URI>
        <tran:inbound-properties/>
        <tran:all-headers>false</tran:all-headers>
        <tran:provider-specific>
          <http:inbound-properties/>
        </tran:provider-specific>
      </ser:endpointConfig>
      <ser:router>
        <con:pipeline type="request" name="GetRequestInfo_pipeline_pair_request">
          <con:stage name="InputProcess_stage">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
            </con:context>
            <con:actions>
              <con1:assign varName="docId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b86</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/documentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="depId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b69</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/departmentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="srvId">
                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7d41</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/serviceId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
            </con:actions>
          </con:stage>
        </con:pipeline>
        <con:pipeline type="response" name="GetRequestInfo_pipeline_pair_response">
          <con:stage name="ErrorHandling">
            <con:context/>
            <con:actions/>
          </con:stage>
        </con:pipeline>
        <con:flow>
          <con:pipeline-node name="GetRequestInfo_pipeline_pair">
            <con:comment>Lay cac thong tin trong form search</con:comment>
            <con:request>GetRequestInfo_pipeline_pair_request</con:request>
            <con:response>GetRequestInfo_pipeline_pair_response</con:response>
          </con:pipeline-node>
          <con:branch-node type="condition" name="branching_public_services">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
            </con:context>
            <con:branch-table variable="depId">
              <con:branch name="SoTTTT">
                <con:operator>equals</con:operator>
                <con:value>1</con:value>
                <con:flow>
                  <con:branch-node type="condition" name="DnICT_dept_services">
                    <con:context/>
                    <con:branch-table variable="srvId">
                      <con:branch name="DichVu_1">
                        <con:operator>equals</con:operator>
                        <con:value>1</con:value>
                        <con:flow>
                          <con:route-node name="RouteToDnICT_BS">
                            <con:context>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
                              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
                            </con:context>
                            <con:actions>
                              <con3:route>
                                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4c</con2:id>
                                <con3:service ref="Test/busines-services/DnictServiceBS" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
                                <con3:operation>selecttrangthai</con3:operation>
                                <con3:outboundTransform>
                                  <con1:assign varName="username">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4b</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('stttt')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:assign varName="password">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4a</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('123456')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:replace contents-only="true" varName="body">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b49</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText><![CDATA[<soap:selecttrangthai       xmlns:soap="http://soapinterop.org/">
         <username       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$username}</username>
         <password       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$password}</password>
         <masohoso       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$docId}</masohoso>
    </soap:selecttrangthai>]]></con2:xqueryText>
                                    </con1:expr>
                                  </con1:replace>
                                </con3:outboundTransform>
                                <con3:responseTransform/>
                              </con3:route>
                            </con:actions>
                          </con:route-node>
                        </con:flow>
                      </con:branch>
                      <con:default-branch>
                        <con:flow/>
                      </con:default-branch>
                    </con:branch-table>
                  </con:branch-node>
                </con:flow>
              </con:branch>
              <con:branch name="SoGTVT">
                <con:operator>equals</con:operator>
                <con:value>2</con:value>
                <con:flow/>
              </con:branch>
              <con:default-branch>
                <con:flow/>
              </con:default-branch>
            </con:branch-table>
          </con:branch-node>
        </con:flow>
      </ser:router>
    </xml-fragment>
    P/S:

    When the connection to the business service is failure, I received this SOAP message:
    <soapenv:Envelope       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>BEA-380002: No route to host</faultstring>
         <detail>
         <con:fault       xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380002</con:errorCode>
         <con:reason>No route to host</con:reason>
         <con:location>
         <con:node>RouteToDnICT_BS</con:node>
         <con:path>request-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    Kind regards.
    CUONG Pham

    Published by: Doubt_Man on July 28, 2011 10:26

    You can add an error on the route action handler in your proxy service.

    you could investigate the $fault variable and check example what errorcode BEA... comes back.
    Then, you can decide what to answer in return... for example, create your own SOAP-fault and set your own messages.

    now the default $fault value generated by the OSB will be get back

    http://www.xenta.nl/Blog/2010/07/17/Oracle-service-bus-11g-handling-SOAP-faults/
    Maybe we can help you a bit

  • Could not start the service on the Local media player network sharing computer.

    Error 3: could not find the path specified th.

    Hello

    · Do you remember all the recent changes on the computer before the show?

    · What is the service pack installed?

    Run the checker system files on the computer. Link, we can see: Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe): http://support.microsoft.com/kb/310747

    Note that: if he asks you the service pack CD, follow these steps from the link: you are prompted to insert a Windows XP SP2 CD when you try to run the tool on a Windows XP SP2 computer system File Checker: http://support.microsoft.com/kb/900910 (valid for Service pack 3)

    How to troubleshoot possible causes of Internet connection problems in Windows XP: http://support.microsoft.com/kb/314095

Maybe you are looking for