Comments

  • 1-15 of 15
  • Alvin John Margallo

    It works! Thank you Rohit! Although, I don't think its documented in Oracle documentation.  I really appreciate your help!

    I would assume that the payloadType is something like a global identifier which is enough to identify which skill to invoke.

     

  • Alvin John Margallo

    Thanks Hermanth! I assumed that you modified one of the files within the .iar file right?

    If yes, may I know which file is/are these?

    Again, I really appreciate your help on this!

  • Alvin John Margallo

    Hi Hemanth -

      Here's the updated iar file. As you can see in the custom soap header schema there is no "wsu:Created" field. Because if i put the "wsu:Created" field the Wizard will refuse the schema.

     

    Target XML below:

    <?xml version="1.0" encoding="UTF-8"?>
           <wsse:Security mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
              <wsse:UsernameToken Id="UsernameToken-3423l234jl23l4kj234h234">
                 <wsse:Username>WFSTEST</wsse:Username>
                 <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">adfad87fasdafl</wsse:Password>
                 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">D6gUIv3LEBZ604R8aFIIZg==</wsse:Nonce>
                 <wsu:Created>2019-02-12T13:10:47.029Z</wsu:Created>
              </wsse:UsernameToken>
           </wsse:Security>

  • Alvin John Margallo

    Hi Hemanth - 

      Update: I tried using the schema below to upload as Custom Soap Header schema.

    But the Wizard rejected the schema. Is it possible to just omit the namespaces for security header? 

     

    <?xml version="1.0" encoding="utf-8"?>
    <!-- Created with Liquid Technologies Online Tools 1.0 (https://www.liquid-technologies.com) -->
    <xs:schema xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import schemaLocation="schema1.xsd" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" />
      <xs:element name="Security">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="UsernameToken">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Username" type="xs:string" />
                  <xs:element name="Password">
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:string">
                          <xs:attribute name="Type" type="xs:string" use="required" />
                        </xs:extension>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="Nonce">
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:string">
                          <xs:attribute name="EncodingType" type="xs:string" use="required" />
                        </xs:extension>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                  <xs:element ref="wsu:Created" />
                </xs:sequence>
                <xs:attribute name="Id" type="xs:string" use="required" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="mustUnderstand" type="xs:boolean" use="required" />
        </xs:complexType>
      </xs:element>
    </xs:schema>
    

     

     

    Source XML

    <?xml version="1.0" encoding="UTF-8"?>
           <wsse:Security mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
              <wsse:UsernameToken Id="UsernameToken-3423l234jl23l4kj234h234">
                 <wsse:Username>WFSTEST</wsse:Username>
                 <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">adfad87fasdafl</wsse:Password>
                 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">D6gUIv3LEBZ604R8aFIIZg==</wsse:Nonce>
                 <wsu:Created>2019-02-12T13:10:47.029Z</wsu:Created>
              </wsse:UsernameToken>
           </wsse:Security>

  • Alvin John Margallo

    Hi Hemanth -

        We are using Version: 19.1.3.0.0. For the attached integration, please refer to the Switch path FLAG="WFS"

    There is where I particularly want to implement the custom soap header.

    Thank you!

     


     

  • Alvin John Margallo

    Thanks Hemanth!

    I also tried implementing the custom soap header. But got stuck on the correct schema (.xsd) to upload for custom soap header schema.

    Could you please give an example of the valid header with security element?

    Appreciate your help!

     

    <soap:Header>
          <wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
             <wsse:UsernameToken wsu:Id="UsernameToken-95D5436B55841E68BE154997704703028">
                <wsse:Username>XXXUSERNAME</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">asdfasdadf232323=</wsse:Password>
                <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">3esdasfadf==</wsse:Nonce>
                <wsu:Created>2019-02-12T13:10:47.029Z</wsu:Created>
             </wsse:UsernameToken>
          </wsse:Security>
       </soap:Header>

     

     

  • Alvin John Margallo

    Hello -

       You can use generic SOAP for UCM <Domain Name>/idcws/GenericSoapPort?wsdl.

    I have tried, uploading a file to UCM using this through OIC. Oracle has a documentation for Generic SOAP for UCM for more info

    Thanks,

  • Alvin John Margallo

    Hi Dejan -

      Works for me this way:

    Note: Sorry that I got lazy to create an Entity for the Option. But should behave the same way.

    ##################################################

     

     reset:
        component: "System.ResetVariables"
        properties:
          variableList: "Options"
        transitions: {}
       
      start:
        component: "System.List"
        properties:
          prompt: "Choose an option for setting the transition action"
          options:
          - label: "Action 1"
            value: "Option 1"
          - label: "Action 2"
            value: "Option 2"
          variable: "Options"
        transitions: {}

      conditionEquals:
        component: "System.ConditionEquals"
        properties:
          source: "${Options.value}"
          value: "Option 2"
        transitions:
          actions:
            equal: "done"
            notequal: "reset"       

      done:
        component: "System.Output"
        properties:
          text: "Done"
        transitions:
          return: "done"

           

  • Alvin John Margallo

    Hi -

     Have you set the notequal to "reset" as well?

    Thanks!

  • Alvin John Margallo

    Hi -

    I think the problem is that your variable "Option" has already a value when going back to the next iteration of the loop.

    How the System.List and System.Prompts behave is that it will be skipped when the variable property is already set.

    Try, resetting the variable Option at the beginning.

    ############################################################

      reset:
        component: "System.ResetVariables"
        properties:
          variableList: "Options"
        transitions: {}

    start:
        component: "System.List"
        properties:
          options: "${Options.type.enumValues}"
          prompt: "Please choose an option?"
          variable: "Options"
        transitions: {}
      conditionEquals:
        component: "System.ConditionEquals"
        properties:
          source: "${Options.value}"
          value: "Option 2"
        transitions:
          actions:
            equal: "done"
            notequal: "reset" 

    ###############################################

  • Alvin John Margallo

    Hi Bill -

      Thank you for your response! I am thinking of re-posting the same question on the right forum. I appreciate for pointing that out.

    Thanks and have a nice day!

  • Alvin John Margallo

    Hi Bill -

      Thank you for your response! I am thinking of re-posting the same question on the right forum. I appreciate for pointing that out.

    Thanks and have a nice day!

  • Alvin John Margallo

    Hi Milan -

     Thank you for the information. May I know what time would it be? so I can re-align with my team ? 

     

    Thank you very much

  • Alvin John Margallo

    Hi Milan -

      Here's our ERP evironment:

    https://efjk-test.fa.us6.oraclecloud.com/

     

    Thank you so much for your time.

     

  • Alvin John Margallo

    Hi Milan-

       I am not sure what you meant by POD, but the Oracle Fusion ERP version we are using is vesrion 13.18.02 where we encountered the issue when calling the  ItemServiceV2 for the operation findItem.

    I am using the SOAP UI to call this webservice but getting the error above.

     

    Thanks,