This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with endpoint url

 
vasu chowdary
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear ranch supporters,

I Have a small doubt about end point url in web wervices.Actually in my development i have 3 environments test1,test2 and test3.we have a web services application which has to test in all the 3 environments.We will deploy the same application in 3 environments.In test1 we deployed the application and in wsdl file we observed that <soap:address location="http://test1.xyz.com/wcf/HCPCSService.svc" />,location pointed to current environment.After that we developed a client application(web application) and generated the stubs using the wsdl(we copied the wsdl to client application ), in test1 and it working perfectly.In the generated stubs there is URL in proxy class which points to the wsdl in client application.

now my doubt is if we deploy the application in test2 the soap:address location will point to test2,then the am i need to generate the stubs again for the client application?

environment:rad8,websphere7,jax-ws,jdk6
 
shai ban
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vasu chowdary wrote:Dear ranch supporters,

I Have a small doubt about end point url in web wervices.Actually in my development i have 3 environments test1,test2 and test3.we have a web services application which has to test in all the 3 environments.We will deploy the same application in 3 environments.In test1 we deployed the application and in wsdl file we observed that <soap:address location="http://test1.xyz.com/wcf/HCPCSService.svc" />,location pointed to current environment.After that we developed a client application(web application) and generated the stubs using the wsdl(we copied the wsdl to client application ), in test1 and it working perfectly.In the generated stubs there is URL in proxy class which points to the wsdl in client application.

now my doubt is if we deploy the application in test2 the soap:address location will point to test2,then the am i need to generate the stubs again for the client application?

environment:rad8,websphere7,jax-ws,jdk6


According to the environment, the endpoint will vary so the client stub. Because stub keeps the wsdl url that will differ according to the endpoints. If in all environment, the endpoint url is same then no need to generate stub again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic