[ 
https://issues.apache.org/jira/browse/CXF-5203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh resolved CXF-5203.
--------------------------------------
    Resolution: Won't Fix

Looks like this is a JBoss issue.

> Unable to create client using CXF in JBOSS7 Enviornment
> -------------------------------------------------------
>
>                 Key: CXF-5203
>                 URL: https://issues.apache.org/jira/browse/CXF-5203
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.4.6
>         Environment: ALL
>            Reporter: Amit
>            Priority: Major
>             Fix For: NeedMoreInfo
>
>         Attachments: FinalTest.java
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to