cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Error in creating WebServices client

akr
1-Newbie
1-Newbie

Error in creating WebServices client

Hi All,

Am creatig webservices follwing WebServicesFramework guide and done with below steps

Generated TrustStore ad key store and made property changes accordingly

ant -Dproject.dir=<Windchill>/prog_examples/jws/MyProject -Dservlet.name=MathService -Dsecurity.policy=userNameAuthSymmetricKeys -Dservice.type.id=org.myorg.MathService -Dmain.class=org.myorg.MathClient -f bin/adminTools/WebServices/new-project.xml create

This created following directory structure

src/ :

src/build.xml:

src/tasks/org/myorg/MathService:

src_client/:

src_client/build.xml:

src_client/org/myorg/MathClient.java

Modified empty client code by setting credentials and compiled

% cd <Windchill>/prog_examples/jws/MyProject/src_client

% ant

Ending up with the error code 401 and i assume this is related to authentcation. And the version ofwindchill is 10.2 M020

Please share your insights.

0 REPLIES 0
Top Tags