Forum Discussion

PeterKlim's avatar
PeterKlim
Contributor
12 years ago

EXTENSION X is not supported by Form Editor

Created a new project using a WSDL file to submit a Soap Request.

In the Form tab/view, I can add EXTENSIONS (if that is the correct term to use) but when I do for certain ones, such as for the User ID and the Password, I get this message in the form:

EXTENSION: EXTENSION: Type[{http:/<MyTestURL>}DOCUMENTS_EXTENSION] is not supported by Form Editor

I get this when I am modifying the form (I have not yet executed the test).

How do I correct this?

Thanks
Peter

7 Replies

  • Hi,

    From what I have understood, If you want to upload a .txt and .xml file you need to use attachments tab to upload the attachment if it is accepted by the service. The WSDL will validate the attachment. Can you provide us a more elaborate description of what you are trying to achieve? So we can investigate further.

    Thanks,
    Jeshtha
  • Hi Jeshtha,

    I am still fairly new to using SoapUI, so please keep that in mind and do not assume I have done all the correct steps

    This is how I created the SoapUI Pro project:

    Selected Menu "New soapUIProject"

    Typed into "Initial WSDL/WADL" the WSDL "<I_CANNOT_TELL_U_THE_EXACT_PATH>.svc?wsdl"

    Selected "Create Requests" checkbox.

    Clicked “OK” button.

    Now the form view in the attached screen shots is displayed. (I am having issues with attaching so I will do that in the next post). I want to make sure that I can execute 1 XML request before I set the Load Test up for multiple threads. So I updated the form with the missing fields and data.

    Screen 1 shows an example XML of 1 request the developers want me to test. The 2 arrows point to the FirstName and LastName fields to search for and the data to use.

    Screen 2 shows the form. From the dropdown I select PARTIES at the DEAL node. Even here, before any modifications are made, you can see there is text displaying “EXTENSION: ...is not supported by Form Editor”. Note where the arrow is.

    Screen 3 shows the same arrow at the same location as in Screen 2 but after the selections are made. I click on 2 “Add” buttons to allow me to make more selections. Note the “NAME” field in the green box.

    Screen 4 shows the same “NAME” field at the same location as in Screen but 3. Under it I was able to add the “FirstName” and “LastName” fields and edit it with data. Here to you can see text displaying “EXTENSION: ...is not supported by Form Editor”.

    Screen 5 shows the same XML as in Screen 1 still pointing to the same 2 fields (“FirstName” and “LastName”) but now it is expanded to also show the “ParcedIndentificationType” field.

    Screen 6 shows the form where I tried to modify it to use the “ParcedIndentificationType” field but it cannot be done.
    Please let me know what needs to be done next.

    Thanks again,
    Peter
  • File 1:


    File 2:


    File 3:


    File 4:


    File 5:


    File 6:
    The website doesn't allow me to create anymore...will try to find another way.. (and this is the last one left )
    -Went to another PC and it created it...
  • So how do you load attachments?

    I tried with small files (no more thant 643 KB) of different types (png, jpg, rar, zip, doc) but I get one of these 2 messages:

    The image file you tried to attach is invalid.

    The uploaded file is empty.

    I made sure to have "File comment" filled too. I searched for stickies, rules and settings as well as googling it but could not find a solution.
  • Hi,

    We would like to see the project XML to investigate the extension error, you can send us the project on support ticket. I can refer this to the developers so they can investigate further. To send the Project XML, Right click on the project > Export project.
    http://www.soapui.org/Support/support-overview.html

    For now I would suggest you to try XML request editor to populate your requests. Default your view to XML editor (Click on File > Preferences > SoapUI Pro tab > Set Default Request editor to Source). Do not switch between XML and Form view. I believe you should be able to setup your SoapUI Pro test cases from XML view. You can use property expansion in XML view.

    Since you are new to SoapUI Pro, you can refer this link for functional testing,
    http://www.soapui.org/Functional-Testing/functional-testing.html

    To attach attachments,
    http://www.soapui.org/SOAP-and-WSDL/adding-headers-and-attachments.html

    Thanks,
    Jeshtha
  • Thanks Jeshtha, I exported the project and created a support ticket.
    Peter
  • Hi,

    The Form Editor does not support xsd:any or xsd:anyType elements.
    Editing such elements must be done in the XML tab.

    Regards,

    Giscard