Netbeans JAX-WS Client [ERROR] A class/interface with the same name
up vote
0
down vote
favorite
My WSDL URL is URLhttp://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl. I want to generate java client in netbeans from the mentioned wsdl.
But it gives a class/interface with the same name is already in use,
use a class customization to resolve this conflict. I cant resolve this problem.
But I could do it in cmd with the following comand:
wsimport http://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl -s
D:PROJECTSWSmy_path -B-XautoNameResolution
After that I got all generated java code in netbeans, and trade code and got a Soap fault exception.
Just i want resolve this problem in netbeans and use customization xml file or other files to generate it ,because netbeans was unable to genare it.
How can I generate this WDSL as java client without any issue?
java netbeans jax-ws ws-client
add a comment |
up vote
0
down vote
favorite
My WSDL URL is URLhttp://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl. I want to generate java client in netbeans from the mentioned wsdl.
But it gives a class/interface with the same name is already in use,
use a class customization to resolve this conflict. I cant resolve this problem.
But I could do it in cmd with the following comand:
wsimport http://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl -s
D:PROJECTSWSmy_path -B-XautoNameResolution
After that I got all generated java code in netbeans, and trade code and got a Soap fault exception.
Just i want resolve this problem in netbeans and use customization xml file or other files to generate it ,because netbeans was unable to genare it.
How can I generate this WDSL as java client without any issue?
java netbeans jax-ws ws-client
I can't stand those errors and .Net Web Services are problematic about them O_o you might be able to edit the wsiimport script itself and try adding the line ` -B-XautoNameResolution` and then netbeans would hopefully use it.
– JGlass
Nov 8 at 21:04
Yes i edited it, key=-B-XautoNameResolution and value=true but error not sloved netbeans. In itellij idea same problem. "use a class customization to resolve this conflict".
– gulten elimemmedova
Nov 10 at 16:51
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My WSDL URL is URLhttp://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl. I want to generate java client in netbeans from the mentioned wsdl.
But it gives a class/interface with the same name is already in use,
use a class customization to resolve this conflict. I cant resolve this problem.
But I could do it in cmd with the following comand:
wsimport http://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl -s
D:PROJECTSWSmy_path -B-XautoNameResolution
After that I got all generated java code in netbeans, and trade code and got a Soap fault exception.
Just i want resolve this problem in netbeans and use customization xml file or other files to generate it ,because netbeans was unable to genare it.
How can I generate this WDSL as java client without any issue?
java netbeans jax-ws ws-client
My WSDL URL is URLhttp://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl. I want to generate java client in netbeans from the mentioned wsdl.
But it gives a class/interface with the same name is already in use,
use a class customization to resolve this conflict. I cant resolve this problem.
But I could do it in cmd with the following comand:
wsimport http://192.168.100.197:4443/PaymentServiceServerWS.asmx?wsdl -s
D:PROJECTSWSmy_path -B-XautoNameResolution
After that I got all generated java code in netbeans, and trade code and got a Soap fault exception.
Just i want resolve this problem in netbeans and use customization xml file or other files to generate it ,because netbeans was unable to genare it.
How can I generate this WDSL as java client without any issue?
java netbeans jax-ws ws-client
java netbeans jax-ws ws-client
edited Nov 8 at 11:40
asked Nov 8 at 6:40
gulten elimemmedova
13
13
I can't stand those errors and .Net Web Services are problematic about them O_o you might be able to edit the wsiimport script itself and try adding the line ` -B-XautoNameResolution` and then netbeans would hopefully use it.
– JGlass
Nov 8 at 21:04
Yes i edited it, key=-B-XautoNameResolution and value=true but error not sloved netbeans. In itellij idea same problem. "use a class customization to resolve this conflict".
– gulten elimemmedova
Nov 10 at 16:51
add a comment |
I can't stand those errors and .Net Web Services are problematic about them O_o you might be able to edit the wsiimport script itself and try adding the line ` -B-XautoNameResolution` and then netbeans would hopefully use it.
– JGlass
Nov 8 at 21:04
Yes i edited it, key=-B-XautoNameResolution and value=true but error not sloved netbeans. In itellij idea same problem. "use a class customization to resolve this conflict".
– gulten elimemmedova
Nov 10 at 16:51
I can't stand those errors and .Net Web Services are problematic about them O_o you might be able to edit the wsiimport script itself and try adding the line ` -B-XautoNameResolution` and then netbeans would hopefully use it.
– JGlass
Nov 8 at 21:04
I can't stand those errors and .Net Web Services are problematic about them O_o you might be able to edit the wsiimport script itself and try adding the line ` -B-XautoNameResolution` and then netbeans would hopefully use it.
– JGlass
Nov 8 at 21:04
Yes i edited it, key=-B-XautoNameResolution and value=true but error not sloved netbeans. In itellij idea same problem. "use a class customization to resolve this conflict".
– gulten elimemmedova
Nov 10 at 16:51
Yes i edited it, key=-B-XautoNameResolution and value=true but error not sloved netbeans. In itellij idea same problem. "use a class customization to resolve this conflict".
– gulten elimemmedova
Nov 10 at 16:51
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53202623%2fnetbeans-jax-ws-client-error-a-class-interface-with-the-same-name%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I can't stand those errors and .Net Web Services are problematic about them O_o you might be able to edit the wsiimport script itself and try adding the line ` -B-XautoNameResolution` and then netbeans would hopefully use it.
– JGlass
Nov 8 at 21:04
Yes i edited it, key=-B-XautoNameResolution and value=true but error not sloved netbeans. In itellij idea same problem. "use a class customization to resolve this conflict".
– gulten elimemmedova
Nov 10 at 16:51