java - IWAB0014E Unexpected exception occurred when traying create webservice for given WSDL:Proxy Authorization Required -


  1. i created dynamic web project

  2. imported wsdl file webcontent of project

  3. i go file-> new-> webservice-> webservice

  4. 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:

  1. download axis2 : link--> http://ws.apache.org/axis2/download.cgi
  2. 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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -