Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.4.6
-
None
-
ALL
-
Unknown
Description
I am not able to generate stub using wsconsume, even the same script is working fine with JBOSS4.2.3GA env, the CXF version is 2.4.6.
The Web Sevice is hosted in internet and we are calling the web service
using proxy, the client is generated successfully in AXIS and Jboss4.2.3GA
but in JBOSS711 we are having issues, might be a issue of JAR conflict etc.
Please suggest.
export JAVA_HOME=/software/jdk/java1.6
export JAVA_OPTS="-Dhttp.proxyHost=lpsX.rouus.st.com -Dhttp.proxyPort=8080 -Dhttp.proxyUser=amit -Dhttp.proxyPassword=myPassword"
echo "Generating IP Extranet Client....."
rm -rf EXTRANETWS_CLIENT
mkdir EXTRANETWS_CLIENT
cd EXTRANETWS_CLIENT
mkdir op
/usrdata/amit/jboss711/bin/wsconsume.sh -k -s /home/amit/EXTRANETWS_CLIENT -p rou.ss.bs.ps.client -o /home/amit/EXTRANETWS_CLIENT/op 'http://www.abfxxx.com/samplex509/service.asmx?wsdl'
echo "PS client genetared successfully!"
Error:-
-------
Caused by : WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://www.abfxxx.com/samplex509/service.asmx?wsdl'.: java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.abfxxx.com/samplex509/service.asmx?wsdl
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:294)
at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:250)
at org.jboss.ws.tools.cmd.WSConsume.importServices(WSConsume.java:279)
at org.jboss.ws.tools.cmd.WSConsume.mainInternal(WSConsume.java:104)
at org.jboss.ws.tools.cmd.WSConsume.main(WSConsume.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)