This discussion is archived
1 2 3 Previous Next 43 Replies Latest reply: Oct 27, 2012 9:56 AM by Nicolas.Gasparotto RSS

Generate SOAP Template

857877 Newbie
Currently Being Moderated
The SOAP Message functionality show in error at the time of SOAP Response Message.

can u plz guide me ...



SOAP Response Message
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Component Interface API.</faultstring>
<detail>
<CIFault xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/M116479.V1">
<IBResponse type="Error">
<DefaultTitle>Integration Broker Response</DefaultTitle>
<StatusCode>20</StatusCode>
<MessageSetID>91</MessageSetID>
<MessageID>2</MessageID>
<DefaultMessage>Cannot find Component Interface {CI_FPMSALSTEP_PNLResponse} (91,2)</DefaultMessage>
<MessageParameters/>
</IBResponse>
<IBResponse type="Error">
<DefaultTitle>Integration Broker Response</DefaultTitle>
<StatusCode>20</StatusCode>
<MessageSetID>90</MessageSetID>
<MessageID>7</MessageID>
<DefaultMessage>Initialization Failed (90,7)</DefaultMessage>
<MessageParameters/>
</IBResponse>
<IBResponse type="Error">
<DefaultTitle>Integration Broker Response</DefaultTitle>
<StatusCode>20</StatusCode>
<MessageSetID>90</MessageSetID>
<MessageID>6</MessageID>
<DefaultMessage>Not Authorized (90,6)</DefaultMessage>
<MessageParameters/>
</IBResponse>
<IBResponse type="Error">
<DefaultTitle>Integration Broker Response</DefaultTitle>
<StatusCode>20</StatusCode>
<MessageSetID>91</MessageSetID>
<MessageID>20</MessageID>
<DefaultMessage>Error initializing Component Interface {CI_FPMSALSTEP_PNLResponse}</DefaultMessage>
<MessageParameters/>
</IBResponse>
</CIFault>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • 1. Re: Generate SOAP Template
    HakanBiroglu Oracle ACE
    Currently Being Moderated
    Hi

    Assign permission to the component interface methods (Find, Get , Create, Update) to the user that is calling the service or the user definded on your default local node.
    Go to a permissionlists component to tab Component Interface and add your component interface and click on edit to give full access to the methods.
    Assign permission lists to a role and assign role to user.

    Also make user the user has access to the service operations (Find, Get , Create, Update) if this is a CI based webservice.
    That should work.

    Regards,

    Hakan
  • 2. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    Hakan,

    I chosen Permission List: PTPT1000 and in comp interface tab, I have assign the full access to my components.....

    But, still i am getting error
  • 3. Re: Generate SOAP Template
    HakanBiroglu Oracle ACE
    Currently Being Moderated
    Also on the permissions component, did you add the service operations for this CI based webservice?

    Did you provide the CI based service, btw is your service a CI based service?

    Please state the steps you have taken to provide this service and ivoke this service.
  • 4. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    i followed below steps

    http://peoplesoft.wikidot.com/component-interface-based-web-services

    and followed your advice...... can u also share any of the DOC, which will help me to go through the task
  • 5. Re: Generate SOAP Template
    HakanBiroglu Oracle ACE
    Currently Being Moderated
    <DefaultMessage>Cannot find Component Interface {CI_FPMSALSTEP_PNLResponse}
    It looks like your call to invoke the service is wrong, how to you call the service? I do not think your ci ia called CI_FPMSALSTEP_PNLResponse, propably it is called CI_FPMSALSTEP_PNL.

    Try installing soapui ( freeware), import the wsdl and invoke the service operation. If this works your call to service is incorrect and the ci is correcty deployed as a webservice.
  • 6. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    Hakan,

    I am sure, you might be having the DOC which will guied be step-by-step to complete the task successfully....

    i downloaded the free SOAP from NET and followed your advice. But, that is also not giving correct result...... I don;t knwo where i went wrong
  • 7. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    Hakan,

    Another addition to my problem,

    my comp Interface name is CI_MI_PERSONAL_CI......

    But in error log i can see the error with comp Interface name CI_FPMSALSTEP_PNLResponse.

    (((((( Error :::::::: --- <DefaultMessage>Error initializing Component Interface {CI_FPMSALSTEP_PNLResponse}</DefaultMessage> ))))))))


    Also, i see tne message of Initialization Failed (90,7) and also Not Authorized (90,6)....


    kindly help ....


    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>7</MessageID>
    <DefaultMessage>Initialization Failed (90,7)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>6</MessageID>
    <DefaultMessage>Not Authorized (90,6)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
  • 8. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    Hello Hakan,

    I am waiting for your reply.
  • 9. Re: Generate SOAP Template
    HakanBiroglu Oracle ACE
    Currently Being Moderated
    Please provide how you call the webservice?
    What tools/applciation do you use to call the webservice.
    How does your wsdl look like?
  • 10. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    Please provide how you call the webservice?

    Answer :- I am calling webservices through SOAP UI or Generate SOAP Templates.

    What tools/applciation do you use to call the webservice.

    PT 8.52/ HRMS 9.1

    How does your wsdl look like?
    http://184.73.174.36:9080/PSIGW/PeopleSoftServiceListeningConnector/CI_MI_PERSONAL_CI.1.wsdl

    =================================================================================================================

    SOAP Response message for CI_MI_PERSONAL_CI through Generate SOAP Templates for find operation.


    SOAP Response Message
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>null</faultstring>
    <detail>
    <IBResponse type="error" xmlns="">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageID>45</MessageID>
    <DefaultMessage>
    <![CDATA*User password failed. (158,45)*]>
    </DefaultMessage>
    <MessageParameters>
    <Parameter>
    <![CDATA*ANONYMOUS*]>
    </Parameter>
    </MessageParameters>
    </IBResponse>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    =================================================================================================================

    SOPA UI


    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m29="http://xmlns.oracle.com/Enterprise/Tools/schemas/M292846.V1">
    <soapenv:Header/>
    <soapenv:Body>
    <m29:Update__CompIntfc__CI_FPMSALSTEP_PNLResponse>
    <m29:notification>?</m29:notification>
    <m29:detail>?</m29:detail>
    </m29:Update__CompIntfc__CI_FPMSALSTEP_PNLResponse>
    </soapenv:Body>
    </soapenv:Envelope>

    ================================================================================================================



    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Component Interface API.</faultstring>
    <detail>
    <CIFault xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/M116479.V1">
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>2</MessageID>
    <DefaultMessage>Cannot find Component Interface {CI_FPMSALSTEP_PNLResponse} (91,2)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>7</MessageID>
    <DefaultMessage>Initialization Failed (90,7)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>6</MessageID>
    <DefaultMessage>Not Authorized (90,6)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>20</MessageID>
    <DefaultMessage>Error initializing Component Interface {CI_FPMSALSTEP_PNLResponse}</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    </CIFault>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
  • 11. Re: Generate SOAP Template
    HakanBiroglu Oracle ACE
    Currently Being Moderated
    >
    <![CDATA*User password failed. (158,45)*]>
    </DefaultMessage>
    <MessageParameters>
    <Parameter>
    <![CDATA*ANONYMOUS*]>
    >

    To fix this you need to open node ANONYMOUS and assign a valid PeopleSoft user (eg PS) to the node. By default this is set to non-existing user PSADMIN.
    Set the Authentication Option of the ANONYMOUS node to None.

    See the first part of this blog I wrote to setup Integration Broker properly.
    http://bloggingaboutoracleapplications.org/peoplesoft-91-mobile-inventory-setup-peoplesoft-integration-broker-activating-inventory-services/
  • 12. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    In Generate SOAP Template -- > SOAP Tester --> SOAP REQUEST Message SECTION -------

    I changed PTDMO user-id and password to YRK user-id and password. Check below . After that i clicked on " Send message "....



    Even i followed your link. But I am getting error.


    <?xml version="1.0"?>
    <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing/" xmlns:xsd="http://www.w3.org/2001/XMLSchema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/">
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:Security soap:mustUnderstand="1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>PTDMO</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PTDMO</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <Update__CompIntfc__CI_FPMSALSTEP_PNLResponse xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/M292846.V1">
    <notification>0</notification>
    <detail>0</detail>
    </Update__CompIntfc__CI_FPMSALSTEP_PNLResponse>
    </soapenv:Body>
    </soapenv:Envelope>



    ==============================================================================================================

    I got belllow o/p






         
    SOAP Response Message
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Component Interface API.</faultstring>
    <detail>
    <CIFault xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/M116479.V1">
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>2</MessageID>
    <DefaultMessage>Cannot find Component Interface {CI_FPMSALSTEP_PNLResponse} (91,2)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>7</MessageID>
    <DefaultMessage>Initialization Failed (90,7)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>6</MessageID>
    <DefaultMessage>Not Authorized (90,6)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>20</MessageID>
    <DefaultMessage>Error initializing Component Interface {CI_FPMSALSTEP_PNLResponse}</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    </CIFault>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
  • 13. Re: Generate SOAP Template
    HakanBiroglu Oracle ACE
    Currently Being Moderated
    >
    <?xml version="1.0"?>
    <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing/" xmlns:xsd="http://www.w3.org/2001/XMLSchema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/">
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:Security soap:mustUnderstand="1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>PTDMO</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PTDMO</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <Update__CompIntfc__CI_FPMSALSTEP_PNLResponse xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/M292846.V1">
    <notification>0</notification>
    <detail>0</detail>
    </Update__CompIntfc__CI_FPMSALSTEP_PNLResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    >

    This is not an error, this is the actual correct response for the Update operation.
    Try calling the Get or Find service operation and your response will contain data.

    Hakan
  • 14. Re: Generate SOAP Template
    857877 Newbie
    Currently Being Moderated
    below are the response of GET service from SOAP UI ......But i could not find the data


    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Component Interface API.</faultstring>
    <detail>
    <CIFault xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/M332001.V1">
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>50</MessageID>
    <DefaultMessage>No rows exist for the specified keys. {MI_PERSONAL_CI} (91,50)</DefaultMessage>
    <MessageParameters>
    <keyinformation>
    <EMPLID>?</EMPLID>
    </keyinformation>
    </MessageParameters>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>59</MessageID>
    <DefaultMessage>Failed to get the Component Interface.</DefaultMessage>
    <MessageParameters>
    <keyinformation>
    <EMPLID>?</EMPLID>
    </keyinformation>
    </MessageParameters>
    </IBResponse>
    </CIFault>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    ===============================================================================================================

    below are the response of find service from SOAP UI ......But i could not find the data

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Component Interface API.</faultstring>
    <detail>
    <CIFault xmlns="http://xmlns.oracle.com/Enterprise/Tools/schemas/M116479.V1">
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>2</MessageID>
    <DefaultMessage>Cannot find Component Interface {CI_FPMSALSTEP_PNLResponse} (91,2)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>7</MessageID>
    <DefaultMessage>Initialization Failed (90,7)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>90</MessageSetID>
    <MessageID>6</MessageID>
    <DefaultMessage>Not Authorized (90,6)</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    <IBResponse type="Error">
    <DefaultTitle>Integration Broker Response</DefaultTitle>
    <StatusCode>20</StatusCode>
    <MessageSetID>91</MessageSetID>
    <MessageID>20</MessageID>
    <DefaultMessage>Error initializing Component Interface {CI_FPMSALSTEP_PNLResponse}</DefaultMessage>
    <MessageParameters/>
    </IBResponse>
    </CIFault>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
1 2 3 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points