Do not use on any
shared computer
July 24, 2008 02:19pm pdt
 
[x]
Attachment Details

ColdFusion SOAP Call

Tags: Coldfusion, Firefox 2
Using the following code:

<cfsavecontent variable="localscope.soapRequest">
      <cfoutput>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
          <soap:Body xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/getProjectByNumber">
              <ns1:getProjectByNumberSelect_TMANUMBERInputParameters>
                  <ns1:TMANUMBER>#form.tmanumber#</ns1:TMANUMBER>
              </ns1:getProjectByNumberSelect_TMANUMBERInputParameters>
          </soap:Body>
      </soap:Envelope>
      </cfoutput>
</cfsavecontent>

<cfhttp url="ENDPoint URI" method="POST">
      <cfhttpparam type="HEADER" name="Content-Type" value="text/xml; charset=utf-8">
      <cfhttpparam type="HEADER" name="User-Agent" value="Axis/1.1">
      <cfhttpparam type="HEADER" name="SOAPAction" value="operation name">
      <cfhttpparam type="BODY" value="#trim(localscope.soapRequest)#">
</cfhttp>

I am trying to initiate a SOAP call to a service on Oracle's ESB. I keep getting back "java.lang.NullPointerException." Any ideas as to why that is?
Start your free trial to view this solution
Question Stats
Zone: Web Development
Question Asked By: Wolvie
Question Asked On: 05.07.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by shivaspk

Rank: Master

Expert Comment by shivaspk:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by Wolvie
Author Comment by Wolvie:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by Wolvie
Author Comment by Wolvie:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628