Why is my proxy service returns the request as a reply message?

Hi all

I have a business service that inserts a record into DB and returns no response. So, I created a service proxy with custom WSDL file and forward the request to the company. And in my custom WSDL file I have different inputs and outputs, but when I call the proxy service I always get the message request an answer!
What I am doing wrong?

Here are the files:

-----
WSDL file
<wsdl:definitions
targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/SMSService/InsertSMSRecord/ProxyService"
name="SMSProxyService-concrete"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:sms="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/SMSService/InsertSMSRecord/ProxyService">
     <wsdl:types>
          <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
               <xsd:import
                    namespace="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
                    schemaLocation="../DBAdapter/InsertSMSRecord/xsd/InsertSMSRecord.xsd">
               </xsd:import></xsd:schema></wsdl:types>
     <wsdl:message name="InsertSMSRecordInput_msg">
          <wsdl:part name="SMSRequestBody" element="sms:SMSRequest"/>
     </wsdl:message>
     <wsdl:message name="InsertSMSRecordOutput_msg">
          <wsdl:part name="SMSResponseBody" element="sms:SMSResponse"/>
     </wsdl:message>
     <wsdl:portType name="InsertSMSRecord_ptt">
          <wsdl:operation name="sendSMS">
               <wsdl:input message="tns:InsertSMSRecordInput_msg"/>
               <wsdl:output message="tns:InsertSMSRecordOutput_msg"/>
          </wsdl:operation>
     </wsdl:portType>
     <wsdl:binding name="sendSMS-binding" type="tns:InsertSMSRecord_ptt">
          <soap:binding style ="document" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="sendSMS">
               <soap:operation soapAction="sendSMS"/>
               <wsdl:input>
                    <soap:body use="literal" parts="SMSRequestBody"/>
               </wsdl:input>
               <wsdl:output>
                    <soap:body use="literal" parts="SMSResponseBody"/>
               </wsdl:output>
          </wsdl:operation>
     </wsdl:binding>
     <wsdl:service name="InsertSMSRecord-service">
          <wsdl:port name="InsertSMSRecord-port" binding="tns:sendSMS-binding">
               <soap:address location="http://localhost:7001/SMSService/Proxy_Services/sendSMS"/>
          </wsdl:port>
     </wsdl:service>
</wsdl:definitions>
-----
File InsertSMSRecord.XSD
<?xml version = '1.0' encoding = 'UTF-8'?>
<xs:schema
targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord"
elementFormDefault="qualified" attributeFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:element name="SMSRequest" type="SMSRequestType"/>
   <xs:complexType name="SMSRequestType">
      <xs:sequence>
         <xs:element name="SYSTEM_ID" type="xs:string" nillable="false"/>
         <xs:element name="USER_ID" type="xs:string" nillable="true"/>
         <xs:element name="PRIORITY" type="xs:int" nillable="true"/>
         <xs:element name="MESSAGE" type="xs:string" nillable="false"/>
         <xs:element name="MOBILE" type="xs:string" nillable="false"/>
         <xs:element name="LANGUAGE" type="xs:string" nillable="false"/>
         <xs:element name="SHORT_CODE" type="xs:string" nillable="true"/>
      </xs:sequence>
   </xs:complexType>
   <xs:element name="SMSResponse" type="SMSResponseType"/>
   <xs:complexType name="SMSResponseType">
      <xs:sequence>
           <xs:element name="Status" type="xs:string" nillable="true"/>
           <xs:element name="errorType" type="xs:string" nillable="true" minOccurs="0"/>
           <xs:element name="errorDescription" type="xs:string" nillable="true" minOccurs="0"/>
      </xs:sequence>
   </xs:complexType>
</xs:schema> 
-----

And here is a sample of the input and the output I get:*.
-----
Entry
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ins="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord">
   <soapenv:Header/>
   <soapenv:Body>
      <ins:SMSRequest>
         <ins:SYSTEM_ID>sfda</ins:SYSTEM_ID>
         <ins:USER_ID>test</ins:USER_ID>
         <ins:PRIORITY>5</ins:PRIORITY>
         <ins:MESSAGE>test</ins:MESSAGE>
         <ins:MOBILE>966503105515</ins:MOBILE>
         <ins:LANGUAGE>ENGLISH</ins:LANGUAGE>
         <ins:SHORT_CODE>SFDA</ins:SHORT_CODE>
      </ins:SMSRequest>
   </soapenv:Body>
</soapenv:Envelope>
-----
Output
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ins="http://xmlns.oracle.com/pcbpel/adapter/db/InsertSMSRecord">
   <soapenv:Header/>
   <soapenv:Body>
      <ins:SMSRequest>
         <ins:SYSTEM_ID>sfda</ins:SYSTEM_ID>
         <ins:USER_ID>test</ins:USER_ID>
         <ins:PRIORITY>5</ins:PRIORITY>
         <ins:MESSAGE>test</ins:MESSAGE>
         <ins:MOBILE>966503105515</ins:MOBILE>
         <ins:LANGUAGE>ENGLISH</ins:LANGUAGE>
         <ins:SHORT_CODE>SFDA</ins:SHORT_CODE>
      </ins:SMSRequest>
   </soapenv:Body>
</soapenv:Envelope>
-----

Any help is appreciated...
Thank you...

In fact, this is how it works. You will need to replace the contents of $body with the XML response necessary. OSB returns the contents of $body as at the end of the treatment.

. / * means everything inside the current node. So, if you specify 'body' in the variable field, then. / * means everything inside the variable 'body '.

Kind regards
Anuj

Tags: Fusion Middleware

Similar Questions

  • Message access control in the OSB proxy service when the Service Type is the Any SOAP Service

    Hello

    We have a proxy OSB service where the Service Type is 'no matter what SOAP Service'. We use Auth.xml to authenticate messages to achieve this proxy service.

    It is, ca we apply Message this proxy access control so that only user A is allowed to sent message has and only user B is allowed to message sent B?

    Us know if the proxy OSB service is based on a wsdl, then we can apply access control message for each operation in the Security tab - and thus specify which user can access the operation. But unfortunately, we have not a wsdl, because this service proxy is a proxy gateway and must accept any SOAP message reaches.

    For example, if the user name in the SOAP header is msgAUser, get is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgAUser< / wsse:Username >

    < wsse:Password >msgApwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <Get>

    ...

    < /Get>

    < / soapenv:Body >

    < / soapenv:Envelope >

    If the user name in the SOAP header is msgBUser, then MessageB is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgBUser< / wsse:Username >

    < wsse:Password >msgBpwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <MessageB>

    ...

    < /MessageB>

    < / soapenv:Body >

    < / soapenv:Envelope >

    Any suggestions please?

    Understood.

    My current client, we have faced the same problem and implemented a similar design which nevertheless has important benefits.

    The problem with proxy input all SOAP is not only in the complexities of authentication. Most important, resources fine grain (thread) management becomes impossible: proxy entry has a workmanager, one constraint of son max. If any single service behind entered proxy knows an influx of requests (because of a peak or a misconfigured customer), he eats the workmanager dry and the rest of the services become too inadmissible.

    In this spirit, we have implemented the following diagram. It's a little more complicated, but it serves us well for a few years already:

    EntryProxy 1-> Interceptor entering Proxy-> Proxy 1

    EntryProxy 2-> Interceptor entering Proxy-> Proxy 2

    ...

    Enter proxy doesn't do Nothing but shall forward the request for interception of incoming traffic. Power of Attorney of the entry, however, has its own WSDL, authentication and the workmanager which allows precise control.

    Another important aspect of a proxy of the entry, it is that it passes a custom header containing the name of the destination of the interceptor, e.g. TargetURI = "ProxyService/Paypal/Paypal.

    Incoming Interceptor Proxy performs all recording, the error handling and other common tasks.

    Then, according to the last header, the proxy of the interceptor makes a dynamic call to route to the specified destination.

    Yes, this design has an additional moving part - a proxy entry - but he a) works b) guard control all in our hands. The entry proxy is a very small point; When I need to make a new one, I just copy an existing one and replace the WSDL file and the value of the TargetURI - 30 seconds of work.

    Hope that helps.

    Vlad

    http://vladimirdyuzhev.com

  • Is it possible to secure a Proxy Service to the level of functioning of OSB 11 g?

    I have a web service (for example, Server1) that including 2 operations: method1, method2.

    And I have defined 2 users to the Weblogic domain: consumer1, consumer2.

    The consumer1 can access Server1.method1 () only. and consumer2 can only access the Server1.method2 ().

    I know that I can put the safety of service level in the tab 'Security' of a proxy service.

    But can I set the security to the level of operaton as above description?

    Thanks in advance!

    You can go to the Security tab, and then the message of access control, all operations will be listed for each operation add a user/role as needed. To do this, you should, however, a security policy (auth.xml just polished predefined enough.)

  • ProBook 4530 s: why do I need to return the old part, if I buy a new game?

    Well, I had a problem with my motherboard and replaced by a technician on-site in that HP sent me.

    The laptop is out of warranty, and I paid for the new motherboard + labor.

    However, when technology is introduced, he said it does not replace the motherboard unless I give him the old motherboard. He went on to say that it wascompany policy"and it won't let me keep all old, even though I pay for the new component.

    I was too tired t o argue with him, and he has replaced the motherboard and took the old motherboard.

    Reflection, it is quite absurd.

    It's like HP telling me "If you buy a new HP laptop, you will need to return your old HP laptop to us.

    It would make sense that I was getting a free replacement and the laptop was under warranty. It makes no sense when the laptop is out of warranty and that I pay for the replacement part.

    Think about it, when I bought the laptop, I obviously paid for the motherboard that came with the notebook. Then why HP becomes to take away from me?

    If I buy a new battery from HP store instead of amazon, I need to regain my old HP battery?

    If I buy a new keyboard on the HP store, should I return my old keyboard?

    I can give you the file number if you wish.

    Honestly, if it's the "strategy of the company", I never bother with another HP product again.

    HP has new motherboards. They sell the bad on the Chinese market and they appear on eBay or similar places. You have a new motherboard. If you can tell us the number of part of what you purchased we can tell you the "full" price and the "Exchange" of the party. They should definitely explain the options for you, but I think probably, they assume you want the lowest trading price.

  • Why can't sign services of the Xbox on my PC?

    I have Windows 8 Pro and until recently my Xbox Gold subscription expiration date, I couldn't access my applications. Now, I can't.
    Applications I have problms with are: Mail, video Xbox, Xbox Music, smart glass Xbox, games, shop and all Xbox Live games.
    I can successfully access my account online but not using the above applications.
    That the reasons WHY?

    I get the following error code:
    0XC0091198

    Hello

    Thanks for posting your question in the Microsoft Community Forums.
    I understand that you are not able to connect to Xbox and you receive error message XC0091198 on the computer. Please let me know if this is not correct.

    What is the exact error message that you receive on the computer?

    Method 1:
    Step 1: You can change the region according to ID Xbox and see if it helps.
    Follow the procedure below to change the region:
    a. press "Windows + Q" to open the search box.
    b. now click on 'Settings' and then type 'Région' and press ENTER.
    c. now click on the "Location" tab and change the region.
    d. click on apply and then OK.
    Step 2: check the date and time
    (a) in the start screen type "Date and time" and open it from the settings option.
    (b) correct the date and time if this is a mistake, as well as the time zone.

    Method 2:
    You can use the Xbox application with another Microsoft account

    Connect to your PC using another Microsoft account
    a. On your PC, select the charm of parameters .

    b. Select change PC settings.

    c. Select users.

    d. under users, select an account.

    If necessary, select Add a user and enter the e-mail address and the password for the Microsoft account you want to use.
    http://www.Xbox.com/en-us/live/changeuser

    Links:
    Xbox on Windows 8 FAQ
    http://support.Xbox.com/en-us/apps/Windows-8/Windows-8-FAQ#1458b1da3d1646f68a796c6798c8a8c3
    Xbox on Windows
    http://support.Xbox.com/en-us/apps/Windows-8/Windows-8-Info

    You can get in touch with Xbox Live support for assistance:

    http://support.Xbox.com/en-us/contact-us
    Hope this solves the problem. If the problem persists, write back to us and we will be happy to help you more
  • Why do I get ads at the top of each days messages in all categories, when using Firefox to access Craig's list

    When I access Craig list using Firefox I get third-party ads flashing at the top of each messages days telling me to 'Click here' for all that they are advertising. This ONLY happens when I use Firefox and in ALL categories on Craig's list. I uninstalled and reinstalled Firefox and have the latest version, but nothing can't stop these ads.

    Hello bigfootjim159, please try to remove the complitly extension in firefox/tools > addons > extensions - it is adware. also, take a look in the windows control panel and uninstall toolbars, or the unwanted entries there.

    Fix Firefox problems caused by malicious software

  • If the window Defender performs the same work as McAfee Total Security, why is it when I uninstall the McAfee I get a message that I don't have anti-virus protection?

    Above says it all.

    Above says it all.

    They do * not * do the same thing. Windows Defender is an anti-spyware program only. When you uninstall McAfee, you have p anti-spyware [protection, but no anti-spyware protection.]

    Moreover, in my opinion, McAfee is one of the worst of the available security programs.  For an anti-virus program, I recommend eSet NOD32, if you are willing to pay for it. If you want a free anti-virus, I recommend one (do not run more than one) of the following three:
     
    Avira AntiVir
    Avast
    Microsoft Security Essentials

  • OSB: Proxy Service Configuration

    If I understand the "Proxy service" called the service '' Business. ''
    When I set up the "ProxyService" so it should be a section of 'Service create existing' in the 'General Configuration '.

    But in my workshop, I don't see the "Create from existing Service" section.
    There is no way I can bind the Proxy and services businesses.

    No idea why this article is missing in my workbench and how to solve?

    But in my workshop, I don't see the "Create from existing Service" section.

    Not sure why it is not available with work table.

    There is no way I can bind the Proxy and services businesses.

    You can bind services to businesses with a proxy service yet. What you need to do, it's that configure the workflow of the proxy and mail flow messages add a node of the route. From this node, you can call the business service.

    Alternatively, you can add pipeline request and response in mail flow (before the node of the route) and you can use publish/service legend action from there to call a business service.

    Please see-

    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/Userguide/modelingmessageflow.html

    Kind regards
    Anuj

  • Problem connecting to the service of the consistency

    Hello

    I get following error when I try to connect to the service of coherence through * (ICacheService) CacheFactory.GetService ("ExtendTcpProxyService") *;

    I use c#.

    * "could not connect to Socket to one of the remote addresses specified in the configuration of addresses item 'remotely';" Make sure that this element contains an address and a port of a TcpAcceptor running. "

    Here is the configuration cache on the server side:

    <? XML version = "1.0"? >

    <!--
    | Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    |
    | Oracle is a trademark of Oracle Corporation and/or its affiliates.
    |
    | This software is confidential and exclusive information
    | Oracle Corporation. Not to reveal the confidential and
    | proprietary information and use it only in accordance with the
    | terms of the license agreement with Oracle.
    |
    | This notice may not be removed or modified.
    ->

    <! SYSTEM cache-config DOCTYPE "cache - config.dtd" >

    <>cache-config
    < cache-system-mapping >
    <>cache-mapping
    < name-cache > ACCOUNT < / cache-name >
    < name of the schema - > dist-default < / system-name >
    < / cache-mapping >
    < / cache-system-mapping >

    <>- cached patterns
    < distributed plan >
    < name of the schema - > dist-default < / system-name >
    < serializer >
    > class name < com.tangosol.io.pof.ConfigurablePofContext < / class name >
    < init-params >
    < init-param >
    type string < param > < / param-type >
    < param-value > custom-types-pof - config.xml < / param-value >
    < / init-param >
    < / init-params >
    < / serializer >
    < support-map-plan >
    < local-scheme / >
    < / support-map-plan >
    < autostart > true < / autostart >
    < / distributed plan >

    < proxy-system >
    < service name > ExtendTcpProxyService < / service-name >
    < number of threads > 5 < / thread count >
    < Acceptor-config >
    <>tcp-Acceptor
    < address - >
    localhost < address > < / address >
    < port > 9099 < / port >
    < / local-address >
    < / tcp-Acceptor >
    < serializer >
    > class name < com.tangosol.io.pof.ConfigurablePofContext < / class name >
    < init-params >
    < init-param >
    type string < param > < / param-type >
    < param-value > custom-types-pof - config.xml < / param-value >
    < / init-param >
    < / init-params >
    < / serializer >
    < / Acceptor-config >
    < autostart > true < / autostart >
    < / proxy-system >
    < / cache-plans >
    < / cache-config >

    Here is the config of cache on the client side:

    <? XML version = "1.0"? >

    <!--
    | Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    |
    | Oracle is a trademark of Oracle Corporation and/or its affiliates.
    |
    | This software is confidential and exclusive information
    | Oracle Corporation. Not to reveal the confidential and
    | proprietary information and use it only in accordance with the
    | terms of the license agreement with Oracle.
    |
    | This notice may not be removed or modified.
    ->

    < cache-config xmlns = "http://schemas.tangosol.com/cache" >
    < cache-system-mapping >
    <>cache-mapping
    < name-cache > ACCOUNT < / cache-name >
    < scheme name > expand-direct < / system-name >
    < / cache-mapping >
    < / cache-system-mapping >
    <>- cached patterns
    < remote-cache-system >
    < scheme name > expand-direct < / system-name >
    < service name > ExtendTcpProxyService < / service-name >
    < initiator-config >
    <>tcp-initiator
    <>remote addresses
    > the socket address <
    localhost < address > < / address >
    < port > 9099 < / port >
    < / socket-address >
    < / remote-address >
    < / tcp-initiator >
    < outgoing-message Manager >
    < request-timeout > 30 s < / timeout request >
    < / Manager of outbound messages >
    < serializer >
    > class name < Tangosol.IO.Pof.ConfigurablePofContext, consistency < / class name >
    < init-params >
    < init-param >
    type string < param > < / param-type >
    < param-value > Config\pof-config. XML < / param-value >
    < / init-param >
    < / init-params >
    < / serializer >
    < / initiator-config >
    < / remote-cache-system >
    < / cache-plans >
    < / cache-config >

    Please help me on this.

    Concerning
    Nitin jegou

    Hello

    It may seem like a stupid question, but running the cache server and the .net client on the same host? As you have localhost in the hostname of these two configurations, this obviously does not work.

    You are running on a computer with only a single IP address? If it has more than a localhost address that uses the cache server may not be the same as the .net client. I had this happen to me on a Windows PC where for some reason any WebCam installed on this computer has also installed its own network drivers and messed up mapped as localhost IP addresses. According to your newspaper, listen to the Proxy are spread over 192.168.0.19 port 9099 so you can check that the .net client attempts to use the same address. Or you could remove the localhost issue by changing your configuration files to use the actual host name of your machine instead of "localhost".

    I just read your original post once again and I'm curious to know why you do that

    (ICacheService)CacheFactory.GetService("ExtendTcpProxyService");
    

    What do you want an instance of the Proxy Service on the client, because there's not much you can do with it?

    JK

    Published by: Jonathan.Knight on March 16, 2010 08:41

    Published by: Jonathan.Knight on March 16, 2010 08:42

  • VISA IC returns the 0xBFFF003A error code when reading the USBTMC device

    Hello

    I'm creating a USBTMC device and have some difficulty to determine why a viRead returns the 0xBFFF003A error code. Strangely enough, it reports also to read the correct byte number and the buffer contains the correct data. I use VISA IC 5.1.2 but I had the same problem with version 5.0.3. I have no problem with the device recognized by VISA IC, MAX, LabVIEW SignalExpress or LabVIEW. Using the previous version of VISA IC performing an async read would return a code completion, 0x3FFF009B (VI_SUCCESS_SYNC).

    The attachment of the utility Trace all communications from e/s or watch for when the USB cable is plugged into the computer.

    Lines 1-18 LabVIEW SignalExpress 2011 has begun

    Lines 19-35 VISA IC: open the selection

    Line 36 VISA IC: claire

    Line 37 VISA IC: Read - 10 characters

    Line 38 VISA IC: Read - 21 characters

    Lines 39-44 LabVIEW: open, read 21 characters

    Line 45 VISA IC: Read - 18 characters

    Line 46 VISA IC: claire

    Line 47 VISA IC: Read - 18 characters

    Line 48 VISA IC: closed

    Note: LabVIEW crashed on line 44.  At the moment I know not whether that is related to this problem or not.

    Full error description: failed to start the read operation because the installer is not valid (because of attributes defined in an inconsistent state).

    I'm confused by why it says it cannot start operation when in fact, it returns the requested data and attributes that it refers to? I reviewed the USB descriptor values that I use, and they look correct to me.

    Any ideas?

    Thank you

    Hi Perry,

    I found the problem.  The TransferSize didn't get converted from big-endian to little endian and 0x0A was considered 0xA000000.

    See you soon,.

    Airaki

  • OVD Custom Plugin - return invalid authentication to the Proxy Service

    Hi all

    I develop a plugin for OVD. My goal is to call a Service Proxy by using the credentials of a user in TPM. However, in this plugin, I'm calling a Web service and the authentication result depends on the result of this Webservice. For example, if the WS returns 'false', this means that I should not be allowed to authenticate.

    How can I find an invalid authentication at the request of Service of Proxy, using my plugin implementation?

    Thank you very much.

    You can use the bind method:

    BasePlugin (reference APIs Java Oracle Virtual Directory)

    and set it as the

    ' Public Sub bind (String, String, credentials creds, dn DirectoryString,

    BinarySyntax password, Boolean result) throws DirectoryException.

    {ChainException}

    try {}

    Boolean auth is xyz. Auth (uidValue, pwdValue);

    bool.setValue (auth);

    } catch (Exception e) {}

    Logger.info ("exception:" + e.getMessage (), e);

    bool.setValue (false);

    Customization of Oracle Virtual Directory - 11g Release 1 (11.1.1)

    ~ J

  • How to change the soap to the proxy service request?

    Here is an example SOAP:
    <soapenv:Header>
        <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <UsernameToken>
        <Username>kvd</Username>
        <Password>testpwd</Password>
        </UsernameToken>
       </Security>
      </soapenv:Header>
    
       <soapenv:Body>
          <per:getApplicationInfo>
             <userName>test</userName>
             <applCode>358</applCode>
          </per:getApplicationInfo>
       </soapenv:Body>
    I need to replace the value of the app with user name in the proxy service. Could someone help me what is the XPath expression for the username and app?

    The company should get the underside of SOAP.
     <soapenv:Header>
        <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <UsernameToken>
        <Username>kvd</Username>
        <Password>testpwd</Password>
        </UsernameToken>
       </Security>
      </soapenv:Header>
    
       <soapenv:Body>
          <per:getApplicationInfo>
             <userName>kvd</userName>
             <applCode>358</applCode>
          </per:getApplicationInfo>
       </soapenv:Body>
    This is the approach that I think: 1) alter the flow of messages Proxy Service-> add a pair of Pipeline-> replace app with username-> call Business Service.

    I use Oracle Service Bus 10 g.

    Published by: user12876168 on April 25, 2011 05:50

    You were missing the namespaces in xpath associated header.

    In your request, soap, security namespaces, UsernameToken, etc... are related to the target namespace. Below is the reason why:
    xmlns = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >

    So that means all the xml tags that don't have not one namespace linked to it belongs to the targetNamespace and where they must be accessible with it.

    So set a namespace as WSSE as http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd and then use the underside of xpath.

    * $header / wsse:Security/wsse:UsernameToken/wsse:Username/text() *.

    It should work.

    Thank you
    Patrick

  • No Service has been invoked, the request echoed (in OSB 11 g R1).

    -> created the project with the WSDL resources.

    -> created a Business Services, capable of performing successfully in commercial services

    -> created a proxyservice, when I send the request using proxy wondered even returned as a response, with the error below.

    No Service has been invoked, the application is resumed.

    I asked the BusinessService beside the proxyService solved my problem

  • Why the HTTP become function returns the error code 63?

    I tried to use the get HTTP function to get the XML file is returned by the api Google MAPS distance-matrix. I got the right answer if I insert the url directly in the browser, but using the get HTTP function, it returns the error 63, why?

    This is my code (the VI is developed on LV2011).

    I guess, the VI GET for use with LabVIEW Web Service, only not to get of the Internet pages.

    Using the simplest way:

    Andrey.

  • Install the driver error: "insufficient system resources exist to complete the requested service."

    When starting my computer (Dell laptop) Vista, it asks to install the Broadcom Ethernet driver.  I click "locate and install driver software" and it returns the error:
    Install the driver error: "insufficient system resources exist to complete the requested service."

    How can I fix?

    Hello

    ·         What antivirus software or security is installed on your computer?

    ·         Did you recently change on computers such as installing any application?

    Step 1:

    Temporarily try to disable the antivirus on the computer program and check if the problem persists.

    Note: Check that you activate your anti-virus protection on the computer back after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Step 2:

    I also suggest you to download the drivers from the Dell website and check if it helps.

Maybe you are looking for

  • Thunderbird (38.1.0?) stopped automatically download emails a day ago. Works in version 38.3.0

    I have not changed the settings and everything is set to recover every minute. How to fix? I'm on the latest version. I also have windows 10. He suddenly stopped downloading on its own. I literally manually download the e-mails. Why would he do that?

  • How can I send someone a 'list' into my address book?

    I see that you can not from the previous responses. Then I tried to 'export' of the 'list '. I don't see how you can do it. If I highlite the list, it exports the complete address book (1600 + 0 points and I cannot change that up to my list of 40 mem

  • Angola

    I could use a Skype To Go to Angola number. When is that going to happen?

  • Deleting files from the error log

    Periodically when a software malfunction is experienced, Windows application, an error message is sent to Microsoft.  I think remember me that these error msg files are stored on the sending computer, and they can be very important. I want to find th

  • Losing space on drive C

    I delete the files on the C drive, but I continue to waste space.  Where I should be gaining instead. I tried all sorts of things to my space comes back with no chance to win. Please can someone help me. Thank you