Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 960563

Pages: 1
Mike_Miller
stranger


Reged: 07/23/07
Posts: 1
Where's the WSDL?
      #50909 - 07/23/07 10:04 AM

Just getting started with Web Services and XFire and saw this article listed in the XFire doc. The war file works for me but wondering where the WSDL file came from since it isn't in the war.

Did XFire generate the WSDL automatically/dynamically?


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ruben_Cuba
stranger


Reged: 09/17/07
Posts: 1
Re: Where's the WSDL? [Re: Mike_Miller]
      #53810 - 09/17/07 08:38 AM

You can generate automatically de wsdl file with some like this:

Service serviceModel = new ObjectServiceFactory().create(FirmanteRemoteApi.class);

try {
serviceModel.setWSDLWriter(new ResourceWSDL("myservice.wsdl"));
} catch (IOException e) {
e.printStackTrace();
}


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5292

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5