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?










share|improve this question
























  • 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















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?










share|improve this question
























  • 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













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?










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini