Test nil and attribute support for the WSDL page in WSE
Test nil
- Using the Java bean in the
addressbook.zip
- Creat bottom-up Web service and test with WSE. Specify Nil for some
of the fields.
Testing attribues
Here are the attribute test cases:
- Zip containing WSDL files for simple attribute test:
SimpleAttributeTests.zip
- TestAttr1.wsdl - simple attributes
- TestAttr2.wsdl - attribute group
- TestAttr3.wsdl - use attributeFormDefault
- TestAttr4.wsdl - complex type extensions from different namespace
- Zip containing WSDL files for complex attribute test:
ComplexAttributes.zip
- TestLocationService.wsdl
- TestProducerCodeValidationService.wsdl
- TestRatingInterface.wsdl
- TestUniqueNumberService.wsdl
Instruction:
- For simple attribute tests, it is OK to just select "test with Web
Service Explorer" without actually deploying the Web service.
- For complex attribute tests, create a top-down Web service with the
WSDL file specifying to "Test the Web Service" (using the Web Service
Explorer).
- Fill in the fields in Forms view.
- In the Action pane, switch from Forms to Source, then back to
Forms. Make sure that the fields are preserved.
- For complex attribute test cases, invoke all methods and ensure
that the Status pane shows the result correctly in the Forms and
Source view.