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

Missing parameters in SOAP to REST conversion #1857

Closed
PasinduGunarathne opened this issue May 22, 2023 · 1 comment · Fixed by wso2/soap-to-rest#6
Closed

Missing parameters in SOAP to REST conversion #1857

PasinduGunarathne opened this issue May 22, 2023 · 1 comment · Fixed by wso2/soap-to-rest#6

Comments

@PasinduGunarathne
Copy link

Description

HI Team,

There is an issue regarding SOAP to REST conversion[1] and you can follow the below steps to reproduce the issue.

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

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:

  • The SOAP service under PayloadFactory mediator should include all the configured parameters in the schema.

Current behaviour:

  • Some of the paramters are missing in the SOAP service in generated API

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
Development

Successfully merging a pull request may close this issue.

2 participants