Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic Exception while closing Resource Port  RSS feed

Marcelo Tataje
Ranch Hand
Posts: 64
Java Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody, I've been racking my brain working with a WebService and a client I implemented, the application runs and accomplish the flow successfully. But when every 2 webservice call, it shows an Exception, I think it's because the PORT (It's a Resource type generated from WSDL and XML), I forgot to close it. Nevertheless, the application was originally with METRO, now I'm using AXIS 2 and JAXWS and in my libraries I can't find the following library which is an interface that let me close the port:


I tried to cast using the general, but I couldn't get it to work, I'm trying to implement a method to close the port, but I don't know how to start. If somebody could help me with a link or some information I will be very grateful since I'm about to get mad

Thanks in advance.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!