I created a new service and was trying to define the response schema.
From that starting point I wanted to change the "string" to a complexType to be created.
So I doubled-clicked "string" and selected "New..."
For this explanation I'll just use the default values...
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.
So I created it manually.
After it was created I tried went to assign it to the element.
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.
Is this a bug I'm experiencing or am I doing someting incorrectly?
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
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:
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:
The complex type's elements do not appear.