Skip to main content
Question

Using SOAP to run workbench


Forum|alt.badge.img

Has anyone had success with triggering a workbench on server using SOAP? We are replicating an Oracle database using Informatica Power Exchange. For any spatial table, Power Exchange is going to send parameters to FME server to do the replication. I know you can do this with REST, but from the Informatica side it seems easier to do with SOAP, so I was curious if anyone had any luck.

8 replies

Forum|alt.badge.img+2

Hi @colleenk_1

 

We don't have a SOAP API, so you would have to use REST or if you're just triggering a workspace to run, you could use the direct url.

 

You can find examples of how to do this via REST here.

david_r
Evangelist
  • April 3, 2018

I'll just add that SOAP is an old protocol that's fairly rapidly being replaced by simpler and more efficient protocols such as REST. I think it's safe to say that very few, if any, new services are developed using SOAP today.

For any new projects I'd try hard to avoid using SOAP, whenever possible.


Forum|alt.badge.img
  • April 3, 2018

Forum|alt.badge.img
  • Author
  • April 3, 2018

Thank you all! We ended up successfully doing it with the direct link.


david_r
Evangelist
  • April 4, 2018
larry wrote:
Interesting, never seen that before. The documentation says "this is not a user-oriented service that delivers translation results." -- can you still use it to run workspaces though?

Forum|alt.badge.img
  • April 4, 2018
david_r wrote:
Interesting, never seen that before. The documentation says "this is not a user-oriented service that delivers translation results." -- can you still use it to run workspaces though?
Yes, there is the submitJob request for that:

 

<xsd:element name="submitJob">
	<xsd:complexType>
		<xsd:sequence>
			<xsd:element maxOccurs="1" minOccurs="1" name="subsection" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="workspacePath" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="publishedParameters" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="fmeEngineDirectives" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="transformationManagerDirectives" type="xsd:string"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:element>

david_r
Evangelist
  • April 4, 2018
larry wrote:
Yes, there is the submitJob request for that:

 

<xsd:element name="submitJob">
	<xsd:complexType>
		<xsd:sequence>
			<xsd:element maxOccurs="1" minOccurs="1" name="subsection" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="workspacePath" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="publishedParameters" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="fmeEngineDirectives" type="xsd:string"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="transformationManagerDirectives" type="xsd:string"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:element>
Cool, thanks for sharing!

Forum|alt.badge.img+2
david_r wrote:
Cool, thanks for sharing!
Hi both @larry and @david_r

 

Just to let you know, this is no longer available in 2018+. We've put in a request to remove it from the docs to avoid confusion.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings