In soap envelope, expected tag is InputVariable but the actual output is InputVariableCollection.

Solution Verified - Updated -

Issue

  • I am having an issue with custom connector class that I created.
  • It creating the below Soap envelop. It got InputVariableCollection under jobInitialization but according to the wsdl and generated java clases it should be InputVariables.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<JobInitialization xmlns="http://www.sampleservice.com/services/sdk">
    <InputVariableCollection>
        <InputVariable>
            <Id>0</Id>
            <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">test</Value>
        </InputVariable>
    </InputVariableCollection>
</JobInitialization>
  • But I am expecting
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<JobInitialization xmlns="http://www.sampleservice.com/services/sdk">
    <InputVariables>
        <InputVariable>
            <Id>0</Id>
            <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">test</Value>
        </InputVariable>
    </InputVariables>
</JobInitialization>

Environment

  • Red Hat Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content