Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Integration Studio v8.2.0] Issues in SOAP to REST conversion #1880

Closed
PasinduGunarathne opened this issue May 30, 2023 · 0 comments · Fixed by wso2/soap-to-rest#8
Closed

Comments

@PasinduGunarathne
Copy link

PasinduGunarathne commented May 30, 2023

Description

HI Team,

There is an issue regarding SOAP to REST conversion[1] and you can follow the below steps to reproduce the issue. Please refer to this ticket[2] as well.

[1] https://apim.docs.wso2.com/en/latest/integrate/develop/creating-artifacts/creating-an-api/#creating-the-api-artifact

[2] #1857

Steps to Reproduce

  1. Crete a Hello world project
  2. Create a schema file(.xsd) with a complex type element
          <xsd:element name="SAMPLE" minOccurs="0">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="PARAM" minOccurs="0" maxOccurs="unbounded">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element name="NAME" type="xsd:string" />
                                    <xsd:element name="VALUE" type="xsd:string" />
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
  1. Set the correct location of the schema file in the wsdl file which needs to be converted.
  2. Generate an API with this wsdl file(browse the wsdl file and import it to the ESB project).
  3. Go to the generated API and search for the relevant resource.

Expected behaviour:

  • After the conversion the generated xml file should contain the proper SOAP headers and the variables should be set properly as arguments as well.

Current behaviour:

  • However we can see that the SOAP headers are missing in the generated payload under PF and the arguments are not setting properly as expected.

Seems like there are some issues in SOAP to REST conversion in Integration Studio such as the SOAP headers are missing, arguments are not setting properly, etc. Please check and fix the issues in SOAP to REST conversion in Integration Studio v8.2.0

Affected Component

IntegrationStudio

Version

8.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant