This discussion is archived
0 Replies Latest reply: Oct 31, 2012 8:46 AM by NavaneethaKrishnanNataraj RSS

CRM On demand Web Service Integration in JDeveloper 11g

NavaneethaKrishnanNataraj Guru
Currently Being Moderated
I am trying to integrate 'CRM On demand Web Service Integration' in JDeveloper 11g.
We are able to invoke the web service in soap UI by setting the security headers in soap header as below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:acc="urn:crmondemand/ws/ecbs/account/" xmlns:quer="urn:/crmondemand/xml/Account/Query" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
   <soapenv:Header>
      <wsse:Security>
         <wsse:UsernameToken>
            <wsse:Username></wsse:Username>
            <wsse:Password Type="wsse:PasswordText"></wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <acc:AccountQueryPage_Input>
      <quer:ListOfAccount pagesize="50">
      <quer:Account searchspec="[AccountName] LIKE 'L*'">
      <quer:AccountName/>
      <quer:ModifiedDate/>
      </quer:Account> 
      </quer:ListOfAccount>
      </acc:AccountQueryPage_Input>
   </soapenv:Body>
</soapenv:Envelope>
How can we do the same in JDeveloper while creating the proxy and set the security headers?

Thanks in advance,
Navaneeth

Legend

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