I'm working with the Jitterbit application to try and consume the salesforce SOAP outbound message to send case data over to bugzilla.

I don't know much about SOAP but been reading http://www.w3schools.com/soap/soap_summary.asp to try and create a proper SOAP message for the Jitterbit service. I've created my a sample file of the outbound message, and uploaded the wsdl to Jitterbit. I've been working a bit with Jitterbit support already and waiting to hear back on this new issue I've run into. (The reason why i've created this file is I'm waiting for my machine to be in the DMZ so Salesforce can send it the message)

Issue: In Jitterbit when I try and load my sample file I receive this error -

at line 2, column 2 The node "/root" has undefined value or subelement(s): Body at line 2, column 2 null

I'm sure I'm missing some syntax in the file which defines one of the sub-elements but I've been staring at this for some time.

SOAP Sample file I created to simulate the SFDC outbound message:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <notifications xmlns="http://soap.sforce.com/2005/09/outbound">
      <SessionId xsi:nil="true"/>
       <sObject xsi:type="sf:Case" xmlns:sf="urn:sobject.enterprise.soap.sforce.com">
        <sf:Description>New York</sf:Description>

I wouldnt recommend trying to handcraft a message.

You can use soapUI to construct mock soap messages to test your Jitterbit service while you're waiting for your machine to be setup. You can import the wsdl into a soapUI project and it can generate mock messages and even make a call out to the Jitterbit service.

  • OK I'll admit I didn't create this from scratch, I used this example, post from another user – Fifedog Nov 16 '12 at 21:47
  • 1
    Try soapUI, just import the wsdl and you will have a sample soap request message in no time. – techtrekker Nov 16 '12 at 21:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.