When using tooling to test a service, the Create Web Service Client Wizard generated code does not include the username and password that are required to test a password-protected service. You can edit the service-test-client-generated Java source to provide the required information.
To add user id and password to a Java source file:
Edit the .java source file for the class that ends with BindingStub, for example, SimpleJavaServiceImplHTTP_BindingStub.java.
Locate the source for the createCall() method.
Add the following lines, substituting appropriate values for the user name and password:
_call.setUsername("user"); _call.setPassword("password");
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com