Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Error in creating WebServices client

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>