How to create multiple SOAP webservice clients in same netbeans 6.8 project
Posted
by James Black
on Stack Overflow
See other posts from Stack Overflow
or by James Black
Published on 2010-05-24T13:07:24Z
Indexed on
2010/05/24
13:11 UTC
Read the original article
Hit count: 512
netbeans6.8
|webservice-client
I have a project that is largely just to help one application make connections to an SAP server, for real-time updates.
So the first web service client works fine, but I try to create a second and it seems to hang and I expect part of the problem is that it is trying to create a new Service
class, but the namespace for all the webservices are identical, but the wsdl is obviously different, so it can't create the client.
I can do it manually, by just having Service1
, Service2
, etc, or making some other change, but the issue is that Netbeans should be able to do this easily.
I can't use Eclipse as the wsimport parameters that Netbeans uses works, in Eclipse I would need to do too much to make it work, so I will go with the easier tool.
I don't want to create a new project for each webservice, as that just seems to be perpetuating a design error.
So, how can I easily create multiple webservice clients that will all have the same target namespace
, using Netbeans 6.8+?
© Stack Overflow or respective owner