How to authenticate wsdl using Intellij's "Generate Java Code from WSDL" window?

Hi,

I am trying to generate some java classes from a wsdl url but it requires authentication. I have tried everything in the said "Generate Java Code from WSDL" window but the only option where I can actually click OK is using Apache Axis (because it is the only option where there is a user/pass to be filled), but then I receive "Server returned HTTP response code: 401 for URL: https://xxx.com/basic?wsdl" even though I am passing a valid user/password (tried it on the browser and it works).

Everything else than Apache Axis, a red message saying "WSDL url is not valid" is showed and the OK button keeps disabled.

What else can I try to generate the classes I need?

Please check attached images for a visual explanation of the problem.

Thanks.



Attachment(s):
wsdl2.jpg
wsdl1.jpg
3 comments
Comment actions Permalink

Mario,

Could you provide wsdl url? Have you tried it with WebLogic platform?

0
Comment actions Permalink

Yaroslav, Im sorry for not replying to you earlier.

The url is the following:
https://homologa.sil.sp.gov.br/Webservice/Extracao.svc/basic?wsdl

I ended up having to use Netbeans to import the classes and then returning to Intellij, which is by far not ideal. If you happen to make it work in Intellij, please let me know.

Thanks.

0
Comment actions Permalink

Mario,

Could you check it once again with IDEA 13.1 EAP: http://confluence.jetbrains.com/display/IDEADEV/IDEA+13.1+EAP.
If the issue still occurs please attach idea.log (Help-Show Log in...) after reproducing.

0

Please sign in to leave a comment.