• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how do I change the default port 7001 when using WEBLOGIC servicegen to create a wsdl

 
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how do I change the default port from 7001 when using the WEBLOGIC ant task servicegen to create a wsdl.

For some reason it seems that upgrading from 6.1 to 8.1 they have removed port which was part of wsgen.

Thanks for any help

Tony
 
Tony Evans
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The awnser is you cant, it has to be set at run time through the calling program.

final String wsdl = "http://localhost:9001/anti_virus/AntiVirusProcess?WSDL";

and then call your stub with the argument parameter

AntiVirusProcess_Impl ws = new AntiVirusProcess_Impl(wsdl);
And it works.

Tony
 
reply
    Bookmark Topic Watch Topic
  • New Topic