Split/Join, Invoke Service and SOAP Header in osb10.3 wls10.3

Hi gurus,
Are Split/Join able to invoke external services with a custom SOAP header?
I have a split join to call 2 external business services in parallel. Those 2 external services requires a custom SOAP Header
<soapenv:Header>
<v1:ConsumerRequestHeader>
<v1:requestSessionID>TEST_1</v1:requestSessionID>
<v1:requestTimestamp>2011-06-16T16:57:54.943+02:00</v1:requestTimestamp>
</v1:ConsumerRequestHeader>
</soapenv:Header>
All WSDLs were configured by the instructions of this link : http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/eclipsehelp/tasks.html#wp1150628, but in my debuging, the SOAP header is disappeared when calling those external services from the splitjoin. (No problem if designing and testing with the ProxyService. but Proxyservice is useless here because of parallel processing)
When designing with OSB Workshop IDE, there is no way to pass the custom SOAP header to the "Invoke Service", only the body request/response message.
My question is, Split/Join automatically uses its header to pass it into the invoke call ?
Please advise...
Thanks,

see this :https://forums.oracle.com/thread/951618
not the most fancy way, but you can create some sort of  wrapper proxyservice in front of your business service to make it work

Similar Messages

  • Split-Join, unable to set SOAP:HEADER in OSB at Invoke Service Component.

    Hi Experts,
        i created a Split-join for parallel processing and invoke third party services, but this service requires some mandatory elements in soap:header like WS-Addressing and, WSA-TO and some security infomation, but i don't know  how to pass header in invoke service step. Please help me to setup Header for Invoke services in split join.
    Please help me to resolve this issue.
    Thanks
    Ankit

    see this :https://forums.oracle.com/thread/951618
    not the most fancy way, but you can create some sort of  wrapper proxyservice in front of your business service to make it work

  • Jdev web service and SOAP header

    Hello,
    How can I implement a web service in jdev that extracts some elements from the SOAP header ?
    How can I implement a web service proxy in jdev so that it inserts elements in SOAP header?
    Thank you.
    The operation WSDL looks approx like this:
              <operation name="SoapDDXML">
                   <soap:operation soapAction="someaction"/>
                   <input>
                        <soap:body
                             use="encoded"
                             namespace="ns"
                             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                             parts="psXML"/>
                   </input>
                   <output>
    <soap:Header>
    <OurCredentials xmlns="ns">
    <UserName>string</UserName>
    <Password>string</Password>
    </OurCredentials>
    </soap:Header>
                        <soap:body
                             use="encoded"
                             namespace="ns"
                             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                             parts="Result"/>
                   </output>
              </operation>

    Hello,
    When using OracleAS/JDeveloper 10.1.3.x you are creating Web Service using the standard JAX-RPC API. This API uses the SOAP with Attachments API for Java (SAAJ) to manipulate SOAP messages.
    When dealing with SOAP Header, it is common usage to use the notion of "handler" to set/read header from the messages.
    The chapter "Using JAX-RPC Handler" is a good point to start to see how do deal with this requirement,
    When manipulating the header in the handler, the code will look like:
    SOAPHeader header = message.getSOAPHeader();
    Name headerName = soapFactory.createName("OurCredentials", "ns", "http://schemas.xmlsoap.org/soap/encoding/");
    .. // add sub element
    SOAPHeaderElement headerElement = header.addHeaderElement(headerName);also..
    Could you specify the version of JDeveloper and the type of Web Service that you are using when ascking a question on the forum it help community member to provide a better answer.
    Regards
    Tugdual Grall

  • SSL web service task SOAP header Action was not understood..

    Hi all,
    While I create  web service task to consum a wcf service using SSL and execute the task it give the following error: But the same WCF service is deployed in nonSSL (basicHTTPBinding) , it works well and the results are received. Could any one suggest
    what is missing?
    Error: 0xC002F304 at Web Service Task, Web Service Task: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: SOAP
    header Action was not understood..
     at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    Task failed: Web Service Task
    SSIS package "Package.dtsx" finished: Success.
    Regards
    Venkatesh G

    Can you provide more information? Are you using BasicHttpBinding with transport security? If you access the service from a console client instead of SQL Server Web Service Task, does it work?
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    If you have feedback about forum business, please contact
    [email protected] But please do not ask technical questions in the email.

  • Eclipse, Wsdl2Java and Soap Header

    Hi all.
    I'm developing the server side of a web service, whose wsdl was given to me by a third party.
    The wsdl defines several operations, and in each of them the input consists of a soap:header + a soap:body.
    Thus, in my implementation I have to deal with the soap:header, retrevieng the information carried inside.
    it's the first time I have to do that since I use Eclipse and its Wsdl2Java utility for skeleton code generation, and I can' t understand if this can be accomplished in this way.
    Infact, it seems to me that what eclipse generates is a skeleton by which it's not possible to "inspect-back" the soap:header, as it' already been parsed before (don't know where).
    So... the question is: can I develop my Web Service using eclipse (and probably changing something in the way I'm doing) or do I have to do it in another way?
    Any help will be very appreciated... thanks in advance!

    When invoking the wscompile tool use the option features:
    -features:wsi,explicitcontext
    for handling the soap:header.
    If you type: wscompile.sh -help you can get a listing of the options for the tool

  • Calling Web Service with SOAP header from BPEL

    Hi,
    I am calling a web service (with header information) from BPEL. In the Invoke activity, i created a header variable to pass the header information.
    But, when i test the BPEL service, invoke activity fails because the header information is not being passed.
    Below is the error message (copied from clipboard).
    +<messages><input><Invoke_1_getsubinfo_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><getsubinfoElement xmlns="http://ws/its/tabs/webservices/SingleRowWS/SingleRowWS.wsdl">+
    +<pSubnoin>+
    +<insubno>12345678</insubno>+
    +</pSubnoin>+
    +</getsubinfoElement>+
    +</part></Invoke_1_getsubinfo_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke:+
    start fault message:+
    Internal Server Error (Caught exception while handling request: javax.xml.rpc.JAXRPCException: Not authenticated user)+
    *:end fault message*</summary>
    +</part></bindingFault></fault></messages>+
    As said, no header information is visible in the Invoke activity.
    Please provide help for the above issue.
    -MJ

    Hello Patrick,
    Thanks for the response. I am using normal assign activity to assign values to the header variable as shown below. HeadMT is the header variable which is passed in the invoke activity.
    +<assign name="Assign_Header">+
    +<copy>+
    +<from expression="'tkl12'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:USER_NAME" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'tkl123'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:PASSWORD" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'TKL'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:CHANNEL_ID" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +</assign>+
    The expected input by the web service is as below with the header information highlighted.
    +<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ws/webservices/RowWS/RowWS.wsdl">+
    +*<soap:Header>*+
    +*<ns1:LOGIN_INFO>*+
    +*<ns1:USERNAME>tkl12</ns1:USERNAME>*+
    +*<ns1:PASSWORD>tkl123</ns1:PASSWORD>*+
    +*<ns1:CHANNEL_ID>TKL</ns1:CHANNEL_ID>*+
    +*</ns1:LOGIN_INFO>*+
    +*</soap:Header>*+
    +<soap:Body>+
    +<ns1:substatusElement>+
    +<ns1:pInparam>+
    +<ns1:insubno>7674988</ns1:insubno>+
    +</ns1:pInparam>+
    +</ns1:substatusElement>+
    +</soap:Body>+
    +</soap:Envelope>+

  • Generating Web Service with SOAP Header

    Hello,
    I have a WSDL for a web Service using document encoding and with a soap header.
    I generate a jws file using WL Workshop 81.SP4 but I always have this error message :
    ERROR: AjoutContactService.jws:13: The binding for AjoutContact does not declare one part.
    ERROR:      SUGGESTION: A document literal binding must have at most one part. Make sure you have a WSDL that declares just one part for each message with a document literal binding.
    The header is a recent adding on an existing Web Service, and I can't change the wsdl definition. I also need to use data contained by the header in conjunction with data in the body.
    Is it a limitation with workshop or a problem with with my binding file ?
    I give sample of my two wsdl files.
    Given wsdl file
         <wsdl:message name="inputAjoutContact">
              <wsdl:part name="body" element="xsdin:NouveauContact"/>
    <wsdl:part name="header" element="xsdinhead:EnTeteRequete"/>          
         </wsdl:message>
         <wsdl:message name="outputAjoutContact">
              <wsdl:part name="body" element="xsdout:StatutAjoutContact"/>
         </wsdl:message>
         <wsdl:message name="faultAjoutContact">
              <wsdl:part name="body" element="xsdfault:Exception"/>
         </wsdl:message>
         <wsdl:portType name="AjoutContactPortType">
              <wsdl:operation name="AjoutContact">
                   <wsdl:input name="ParametresEntree" message="tns:inputAjoutContact"/>
                   <wsdl:output name="ParametresSortie" message="tns:outputAjoutContact"/>
                   <wsdl:fault name="ParametresException" message="tns:faultAjoutContact"/>
              </wsdl:operation>
         </wsdl:portType>
    binding file
              <wsdl:operation name="AjoutContact">
                   <soap:operation soapAction="urn:#AjoutContact"/>
                   <input>
    <soap:header part="header" use="literal"/>
    <soap:body parts="body" use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
    <fault name="ParametresException">
    <soap:fault use="literal" name="ParametresException" />
    </fault>
         </wsdl:operation>

    Hi,
    This appears to be a known limitation and is addressed by CR227689
    which has a workaround that needs the wsdl to be modified.
    I am not sure if this is possible given that we don't control the wsdl most times.
    Could you please open a BEA support case and refer to CR227689?
    Vimala-
    p.s:
    I found some info on the issue which could help:
    1) Refer to <http://lists.oasis-open.org/archives/regrep/200306/msg00071.html>
    you will see that only one part is allowed in the message part for doc/literal webservices Snippet from the above link
    "Also, keep in mind that WS-I BP permits only one <part> on document/literal messages, so to be WS-I compliant, you would have to include it in the message structure. "
    2) Refer to http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html#refinement35722968 <http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html>
    below R2208)
    "For document-literal bindings, the Profile requires that at most one part, abstractly defined with the element attribute, be serialized into the soap:Body element."
    This implies Soap body contains message which contains a at most one part.

  • Create XML with digital sign and SOAP header...

    Hi.
    With ABAP, I need create an XML file iwith SOAP envelope. The message has to be signed and the sign data saved in the ws-security part in the SOAP header. I have to sign the file with a X509v3 certificate in base64.
    Somebody can tell me how can create the SOAP header and sign it with ABAP for the XML.
    Thanks.

    Please refrain from implementing WS-Security yourself.
    NWAS ABAP 7.x provides support for WS-Security - in both roles, as Consumer and Provider.
    The right approach is to generate a proxy based on a given WSDL.
    What kind of (message-based) authentication is demanded by the WS Provider?
    Other info source: see https://wiki.sdn.sap.com/wiki/display/Security/SingleSignonforWeb+Services
    Edited by: Wolfgang Janzen on Jul 8, 2009 12:11 AM

  • OWSM: How to encrypt payload and SOAP header?

    Hi,
    Anybody know how I can encrypt the payload and the SOAP header via OWSM? I can only find references on how to do it using SSL. The reason for using OWSM/WS-Security was to move away from using transport based encryption (SSL).
    Regards Pete

    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10299/policy_steps.htm#sthref612
    if you look at the topic :XML Encrypt
    you will see you can encrypt every part of the xml
    Encrypted Content
    Part of the SOAP envelope to be encrypted. Valid values are: BODY, HEADERS, ENVELOPE, and XPATH. The default is BODY.

  • Error to invoke service by soap  : Cannot find dispatch method

    i m using jdevelopper 11g and oracle 10g , i write a fonction soap like that:
    -- create or replace function get_naissance(id in varchar2, url in varchar2) return varchar2 as soap_request varchar2(30000);
    declare
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    resp XMLType;
    begin
    soap_request:= '<?xml version = "1.0" encoding = "UTF-8"?>
    *<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://communes/"> <env:Header/>*
    *<env:Body> <ns1:getNaissanceFindById> <arg0>272001</arg0> </ns1:getNaissanceFindById> </env:Body> </env:Envelope> ';*
    http_req:= utl_http.begin_request ( 'http://localhost:7101/naissances-Naissances-webapp/naissanceWS' , 'POST' , 'HTTP/1.1' );
    utl_http.set_header(http_req, 'Content-Type', 'application/soap+xml');
    utl_http.set_header(http_req, 'Content-Length', length(soap_request));
    utl_http.set_header(http_req, 'SOAPAction', '');
    utl_http.write_text(http_req, soap_request);
    http_resp:= utl_http.get_response(http_req);
    utl_http.read_text(http_resp, soap_respond);
    utl_http.end_response(http_resp);
    resp:= XMLType.createXML(soap_respond);
    DBMS_OUTPUT.PUT_LINE ('naissance is : '||soap_respond);
    resp:= resp.extract('//ns2:getNaissanceFindByIdResponse/return' , 'xmlns:ns2="http://communes/"' );
    -- dbms_output.put_line('naissance: '||resp.getStringVal());
    -- return resp.getStringVal();
    end;
    there generate an error
    *naissance is : <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope"><S:Body><S:Fault xmlns:ns4="http://schemas.xmlsoap.org/soap/envelope/"><S:Code><S:Value>S:Sender</S:Value></S:Code><S:Reason><S:Text xml:lang="fr">Cannot find dispatch method for {http://communes/}getNaissanceFindById</S:Text></S:Reason></S:Fault></S:Body></S:Envelope>*
    the method getNaissanceFindById is correctly implement , the web service run correctly :
    */** <code>select o from Naissance o where o.naissanceid like :id</code> */*
    *@RequestWrapper(className = "jaxws.overloaded.GetNaissanceFindById2")*
    *@ResponseWrapper(className = "jaxws.overloaded.GetNaissanceFindById2_Response")*
    *@WebMethod(operationName = "getNaissanceFindById_2")*
    *public Naissance getNaissanceFindById(String id) {*
    RETURN (Naissance)em.createNamedQuery("Naissance.findById").setParameter("id", id).getSingleResult();
    the result when i put id= 272001 when the service is running :
    *<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://communes/">*
    *<env:Header/>*
    *<env:Body>*
    *<ns1:getNaissanceFindById_2>*
    *<arg0>271002</arg0>*
    *</ns1:getNaissanceFindById_2>*
    *</env:Body>*
    *</env:Envelope>*
    *<?xml version = '1.0' encoding = 'UTF-8'?>*
    *<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">*
    *<S:Body>*
    *<ns2:getNaissanceFindById_2Response xmlns:ns2="http://communes/">*
    *<return>*
    *<addrid>1</addrid>*
    *<communeid>27100</communeid>*
    *<datnais>1962-11-09 00:00:00.0</datnais>*
    *<gender>f</gender>*
    *<idMere>270000</idMere>*
    *<idPere>270000</idPere>*
    *<naissanceid>271002</naissanceid>*
    *<nom>amamra</nom>*
    *<objectVersionId>0</objectVersionId>*
    *<prenom>zahia</prenom>*
    *</return>*
    *</ns2:getNaissanceFindById_2Response>*
    *</S:Body>*
    *</S:Envelope>*
    so i need your help to resolve this error it's amazing , if you want athers details i 'll give u
    thank you

    Please note you're on the SQL Developer forum, so I doubt you'll get answers here...
    Have fun,
    K.

  • Propagating Error from Split join to Calling Proxy Service

    Hi All,
    In our project we are calling a split join service, from a Proxy Service, which in turn calls another Proxy Service.
    i.e:
    Proxy Service1 (PS1) <-> SplitJoin Service (SjS) <-> Proxy Service2 (PS2)
    Requirement:
    All the service calls are two way service calls and local protocol is being used. When an error occurs in PS2 we need to propagate the error with detailed error details to the PS1 via the SjS in order to achieve the following
    1. Achieving rollback of the Transaction
    2. Logging the detailed error report of PS2 in PS1
    Issue:
    But we are not getting the detailed error in the PS1. On further analysis we found dat the fault variable in the split join is empty in its error handling flow.
    We have used reply with error activity in PS2 to propagate the fault to the split join and reply with soap fault option in split join to propagate the fault to the PS1.
    We need to propagate the detailed report as error only, in order to achieve the rollback. So kindly suggest me the ways to get the detailed error report in PS1? i.e: getting the detailed error report of PS2 in split join fault variable and propagating the same to PS1.
    Regards,
    Balaji R

    Balaji,
    Try to enable Execution and Message(Terse Level) Tracing for the OSB services to see where fault message is going
    and
    In PS2 try with Reply with Success.
    as Reply with failure returns the fault variable back and Reply with success will send the content of (PS2)$body back as a response and then u can capture the fault from faulted body and send it to PS1.
    Regards,
    Abhinav Gupta
    Edited by: Abhinav on Aug 28, 2012 3:06 PM

  • Error Propogation from Split Join back  to Caling Proxy Service

    I am having this problem here where I am not able to access the fault occurred in SJ , in the proxy service from where SJ is invoked . Here is a brief description :
    PS route action calls a SJ . SJ invokes a service and the invoked service throws exception back . I put a scope error handler in "SJ Invoke action" and able to catch the Fault thrown ,by invoked service , and store in a fault variable : say soapFaultVar .I am not doing anything else in SJ exception handler . Infact I don't know what to do .
    soapFaultVar looks something like :
    <ext:soapFault xmlns:ext="http://www.bea.com/bpel/extensions">
    <soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>soapenv:Server</faultcode>
    <faultstring>111</faultstring>
    <detail>
    <ns2:claimSOAPFault xmlns:ns2="http://ws.claim.zurich.com">
    <message>This functionality is currently not available for this order</message>
    </ns2:claimSOAPFault>
    </detail>
    </soapenv:Fault>
    </ext:soapFault>>
    but when check the $fault in the Proxy service it looks like :
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380001</con:errorCode>
    <con:reason>
    [{http://schemas.xmlsoap.org/soap/envelope/}Server] 111 &lt;ns2:claimSOAPFault xmlns:ns2="http://ws.claim.zurich.com" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    &lt;message>This functionality is currently not available for this order&lt;/message>
    &lt;/ns2:claimSOAPFault>
    </con:reason>
    <con:location>
    <con:node>CallScoringEngine</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    Seems although reason in second fault is the string concat of complete first Fault i.e Faultcode , Faultstring and detail . I need the original fault here not the modified one . What can I do here . Anything I could do in SJ Catch block ?? I want soapFaultVar to be in PS , but how to propagate it back to proxy Service ?? Do we have have any predefined variable in SJ (like fault in proxy service) which is returned to PS from SJ in case of error .
    Reply action doesn't seem to work in SJ catch action . Any help greatly appreciated .
    Edited by: 915114 on May 5, 2013 6:53 AM

    HI,
    Can you please explaining how to do it?

  • Extract SOAP Header from JMS Adapter PartnerLink

    Hi Chintan,
    I have next problem:
    I have a JMS queue. The message in this queue are "SOAP Message" with Body and SOAP Header.
    I have developed a "BPEL JMS service" with a JMS Adapter PartnerLink.I need extract SOAP Header from PartnetLink JMS Adapter, but with headerVariable into "Receive activity" it´s not work OK.
    Could anybody help me with this problems?
    Thanks a lot.
    Regards.

    HI,
    Try your luck at this link
    http://orasoa.blogspot.com/2007/09/using-custom-headers-in-bpel.html

  • SOAP header in my WSDL ignored by Creator

    The soap:header element from the bind section of my WSDL file is being ignored by Creator.
    Creator is picking up the soap:operation element soapAction=..
    and
    My <input> element for a operation has both soap:body and soap:header elements. The soap:body works.
    Any suggestions?

      Here is a valid Soap Request from XMLSPY and
    a Request from a JSC app and the WSDL used to create the both.
    Sample of Reqest generated by XMLSPY
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Header>
              <m:Security_Request xmlns:m="http://psfttemp.org">
                   <m:Username>String</m:Username>
                   <m:Password>String</m:Password>
              </m:Security_Request>
         </SOAP-ENV:Header>
         <SOAP-ENV:Body>
              <m:Get__CompIntfc__USER_PROFILE xmlns:m="http://psfttemp.org">
                   <m:UserID>String</m:UserID>
              </m:Get__CompIntfc__USER_PROFILE>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Sample of a Request from  the JSC generated application
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://psfttemp.org">
         <env:Body>
              <ns0:Get__CompIntfc__USER_PROFILE>
                   <ns0:UserID>DPAT</ns0:UserID>
              </ns0:Get__CompIntfc__USER_PROFILE>
         </env:Body>
    </env:Envelope>
    Original WSDL file
    <?xml version="1.0"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:psftci="http://psfttemp.org" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://psfttemp.org">
         <types>
              <s:schema targetNamespace="http://psfttemp.org" elementFormDefault="qualified">
                   <s:element name="Get__CompIntfc__USER_PROFILE">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="UserID" type="s:string" maxOccurs="1" minOccurs="1"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="Get__CompIntfc__USER_PROFILEResponse">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="UserID" type="s:string" maxOccurs="1" minOccurs="1"/>
                                  <s:element name="UserDescription" type="s:string" maxOccurs="1" minOccurs="0"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="Security_Request">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="Username" type="s:string" maxOccurs="1" minOccurs="1"/>
                                  <s:element name="Password" type="s:string" maxOccurs="1" minOccurs="1"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="detail">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="keyinformation" maxOccurs="1" minOccurs="0"/>
                                  <s:element name="messages" maxOccurs="unbounded" minOccurs="1">
                                       <s:complexType>
                                            <s:sequence>
                                                 <s:element name="type" type="s:string" maxOccurs="1" minOccurs="1"/>
                                                 <s:element name="messagesetnumber" type="s:decimal" maxOccurs="1" minOccurs="0"/>
                                            </s:sequence>
                                       </s:complexType>
                                  </s:element>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
              </s:schema>
         </types>
         <message name="Get__CompIntfc__USER_PROFILESoapIn">
              <part name="parameters" element="psftci:Get__CompIntfc__USER_PROFILE"/>
         </message>
         <message name="Get__CompIntfc__USER_PROFILESoapOut">
              <part name="parameters" element="psftci:Get__CompIntfc__USER_PROFILEResponse"/>
         </message>
         <message name="Security_Request">
              <part name="parameters" element="psftci:Security_Request"/>
         </message>
         <message name="Fault">
              <part name="fault" element="psftci:detail"/>
         </message>
         <portType name="USER_PROFILESoap">
              <operation name="Get__CompIntfc__USER_PROFILE">
                   <input message="psftci:Get__CompIntfc__USER_PROFILESoapIn"/>
                   <output message="psftci:Get__CompIntfc__USER_PROFILESoapOut"/>
                   <fault name="Fault" message="psftci:Fault"/>
              </operation>
         </portType>
         <binding name="USER_PROFILESoap" type="psftci:USER_PROFILESoap">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="Get__CompIntfc__USER_PROFILE">
                   <soap:operation soapAction="#SOAPTOCI#UU_WS" style="document"/>
                   <input>
                        <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                        <soap:header xmlns:n1="http://schemas.xmlsoap.org/wsdl/" message="psftci:Security_Request" part="parameters" use="literal" namespace="http://psfttemp.org"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
                   <fault name="Fault">
                        <soap:fault name="fault" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://psfttemp.org"/>
                   </fault>
              </operation>
         </binding>
         <service name="USER_PROFILECIService">
              <documentation>This is the service for accessing the USER_PROFILE Component Interface using SOAP requests through PeopleSoft's Integration Broker</documentation>
              <port name="USER_PROFILESoap" binding="psftci:USER_PROFILESoap">
                   <soap:address location="http://localhost:14000/PSIGW/HttpListeningConnector"/>
              </port>
         </service>
         <documentation>This component interface is based off of the USERMAINT component.  It is used for User Profile maintenance.</documentation>
    </definitions>

  • Oracle Service Bus 10.3 - split join how to set header for invoked service

    In Oracle Service Bus 10.3 how can I set the header for the service being invoked. We make parallel calls to 2 different business services. One of the invoked service requires header to be set and I am unable to figure out how it can be done. Below are snippet of the code and WSDL.
    --- Login Operation start ---
    <operation name="login">
    <wsdlsoap:operation soapAction="blah"/>
    <input name="loginRequest">
    <wsdlsoap:body use="literal"/>
    <wsdlsoap:header message="passport:loginHeader" part="hppwsHeaderElement" use="literal"/>
    </input>
    <output name="loginResponse">
    <wsdlsoap:body use="literal"/>
    </output>
    <fault name="genericFaultException">
    <wsdlsoap:fault name="genericFaultException" use="literal"/>
    </fault>
    </operation>
    --- Login Operation end ---
    --- hppwsHeader Element --
    <complexType name="hppwsHeaderElement">
    <sequence>
    <element maxOccurs="1" minOccurs="0" name="version" type="tns1:version"/>
    <element maxOccurs="1" minOccurs="0" name="tx-id" type="tns1:tx-id"/>
    <element maxOccurs="1" minOccurs="1" name="systemLangCode" type="xsd:string"/>
    </sequence>
    </complexType>
    --- LoginRequest Element ---
    <xs:element name="loginRequestElement" type="s0:loginRequestType"/>
    <xs:complexType name="loginRequestType">
    <xs:sequence>
    <xs:element name="userId" minOccurs="1" maxOccurs="1" type="xs:string"/>
    <xs:element name="password" minOccurs="1" maxOccurs="1" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    --- LoginResponse Element ---
    <xs:element name="loginResponseElement" type="s0:loginResultType"/>
    <xs:complexType name="loginResultType">
    <xs:sequence>
    <xs:element name="sessionToken" minOccurs="1" maxOccurs="1" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    In Oracle Workshop for WebLogic when I create a split-join .flow file while adding the invoke service call to login operation I am prompted to create the loginRequest and loginResponse variables. I can assign the appropriate expression to loginRequest.loginRequestElement prior to making the invoke call but then the backend business call fails because "systemLangCode" is not defined and set. Actual fault is
    <ns1:genericFault xmlns:ns1="http://hppcbl.globalops.company.com/webservice">
    <systemLangCode>en</systemLangCode>
    <fault>
    <ruleNumber>589</ruleNumber>
    <fieldName>systemLangCode</fieldName>
    <code>field.empty</code>
    <desc>System language code is required.</desc>
    <ftype>2</ftype>
    </fault>
    </ns1:genericFault>
    I would really appreciate if someone could guide me on how to resolve this
    Regards,
    -Nilay

    There is this $header variable which you should populate before calling the BS. What is the type of BS? If it is WSDL BS , Any Soap BS then above solution will work. I assume that yours is WSDL based BS and setting $header should resolve this issue.
    AnyXML and Messaging type BS services requires that you create proper pay load (setting $header will not work).
    There is also other actions Set Transport Headers {outbound request/inbound response} which can be used to set transport related headers but not soap headers.
    Manoj

Maybe you are looking for

  • Blu-ray ROM

    I have an HP pavilion dv2000 and I need to replace my rom drive.  I tried searching online but can only find a compatible blu-ray drive on a shady website.  Can anyone help?

  • Using redirection operator ( ) in Runtime.exec()

    I am trying to execute a command "cat abc.txt > 123.log" from my Java program using Runtime.exec(). However, the exec() command isnt able to interpret ">" as an operator, instead it uses this as a string. Any suggestions on how I can run the above co

  • Using backreferences in String.replaceAll()

    hi, i have a string (retrieved from a JTextField), that i'd like to run through a regex Pattern, but first I'd need to escape ANY non-alphanumeric characters. i thought i could use the String class' replaceAll method, to replace each matching charact

  • Macbook pro 2010 very often rebooting

    Hello! I had readed some similar posts but didn't find any totaly worked suggestions including bring machine to genius guys. I have macbook pro 15-inch, Mid 2010, OS X 10.8.2 (12C60), I have one terreble issue, my mac rebooting very often it self dur

  • X240 with windows 8.1 has ".exe bad image virus"

    Hi, All,   my X240 with windows 8.1 had this ".exe bad image" error messages for couple weeks. it keeps showing up when I want to open program or start up the machine.  I googled online, it is said this is a malware or virus. but I have not found an