java - IWAB0014E Unexpected exception occurred when traying create webservice for given WSDL:Proxy Authorization Required -
i created dynamic web project
imported wsdl file webcontent of project
i go file-> new-> webservice-> webservice
i adjusted settings accordingly, after finsihing throwing follwing error;
java.lang.illegalargumentexception: char '0x0' after 'return code: 407 <head><title>proxy authorization required</title></head> <body bgcolor="white" fgcolor="black"><h1>proxy authorization required</h1><hr> <font face="helvetica,arial"><b> description: authorization required access proxy</b></font> <hr> <!-- default "proxy authorization required" response (407) --> </body> ' not valid xml character. @ org.apache.axis.components.encoding.abstractxmlencode(abstractxmlencoder.java:110)
this happening because of improper setup of axis2.
steps:
- download axis2 : link--> http://ws.apache.org/axis2/download.cgi
- point axis2 runtime dir in eclipse : menu--> windows--> preference --> web services--> axis2 preferences
follow link more details: http://www.eclipse.org/webtools/community/tutorials/bottomupaxis2webservice/bu_tutorial.html
Comments
Post a Comment