Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Can't use custom types in wsdl schema

Hi,


I created a new service and was trying to define the response schema.
0683p000009MFd4.png
From that starting point I wanted to change the "string" to a complexType to be created.
So I doubled-clicked "string" and selected "New..."

0683p000009MFd9.png
For this explanation I'll just use the default values...
0683p000009MFbd.png
But when I pressed OK, nothing happened, the type of the "out" element was still "string".
I then went to the schema index view, and verified that no new type was created.

0683p000009MFV7.png
So I created it manually.

0683p000009MFdE.png
After it was created I tried went to assign it to the element.

0683p000009MFdJ.png

0683p000009MFdO.png
But after I select it and press OK, nothing happens, the "out" element continues to be a "string".
I then tried testing the other types(shown in the previous screenshot) and nothing happens.

The only way I'm able to change the type of the element is if I change it to the types that appear on the drop down list when I double-click "string", only in that case does it work.

0683p000009MFdT.png

Is this a bug I'm experiencing or am I doing someting incorrectly?

Best Regards,
Tiago Vieira
Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hi Vieira,

looks like a sync issue in the graphical editor/view. Maybe try to close the Tab (editor) after you created the new type and open it again and continue, this might help. If not, you might need to fall back to the WSDL Source Tab and put your custom type directly in to the WSDl Schema using the WSDL Source (XMl Text view) of the WSDL. (or any other (WSDL-) Editor you might have) 
Dietmar
Anonymous
Not applicable
Author

Hi Dietmar,

I have altered it manually, have not tested yet, but it doesn't seem that the designer can reflect the change.

"<xsd:element name="out" type="ProductType"></xsd:element>" gives me this:
0683p000009MFdY.png
I've tried creating other services to see if there was a problem in the one I was using, but the same thing happened.
Maybe it's a problem with my installation?

EDIT: changing the wsdl directly seemed to have done nothing, I tried importing the schema from the repository to a tXMLMap and got the following:
0683p000009MFdd.png
The complex type's elements do not appear.

Best Regards,
Tiago Vieira