Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: To be reviewed To be reviewed
  • Resolution: Won't Fix or Usage Issue
  • Affects Version/s: 1.4.3
  • Fix Version/s: None
  • Component/s: Core: Transports
  • Labels:
    None
  • Environment:

    Windows

  • User impact:
    High
  • Configuration:
    Hide

    <mule-configuration id="Mule_Hello_Sample_over_Http" version="1.0">
    <mule-environment-properties serverUrl="http://localhost:60505"
    recoverableMode="true" />
    <connector name="XfireConnector"
    className="org.mule.providers.soap.xfire.wsdl.XFireWsdlConnector">
    <connection-strategy
    className="org.mule.providers.SimpleRetryConnectionStrategy">
    <properties>
    <property name="retryCount" value="-1" />
    <property name="frequency" value="5000" />
    </properties>
    </connection-strategy>
    </connector>
    <model name="test">
    <mule-descriptor name="TestUMO"
    implementation="org.mule.samples.hello.TestUMO">
    <inbound-router>
    <endpoint address="vm://test"></endpoint>
    </inbound-router>
    <outbound-router>
    <router
    className="org.mule.routing.outbound.OutboundPassThroughRouter">
    <endpoint
    address="wsdl-xfire:http://tomcat:tomcat@localhost:9595/service/services/TestService?wsdl"
    connector="XfireConnector">
    <properties>
    <property name="method" value="example" />
    </properties>
    </endpoint>
    </router>
    </outbound-router>
    </mule-descriptor>
    </model>
    </mule-configuration>

    Show
    <mule-configuration id="Mule_Hello_Sample_over_Http" version="1.0"> <mule-environment-properties serverUrl="http://localhost:60505" recoverableMode="true" /> <connector name="XfireConnector" className="org.mule.providers.soap.xfire.wsdl.XFireWsdlConnector"> <connection-strategy className="org.mule.providers.SimpleRetryConnectionStrategy"> <properties> <property name="retryCount" value="-1" /> <property name="frequency" value="5000" /> </properties> </connection-strategy> </connector> <model name="test"> <mule-descriptor name="TestUMO" implementation="org.mule.samples.hello.TestUMO"> <inbound-router> <endpoint address="vm://test"></endpoint> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="wsdl-xfire:http://tomcat:tomcat@localhost:9595/service/services/TestService?wsdl" connector="XfireConnector"> <properties> <property name="method" value="example" /> </properties> </endpoint> </router> </outbound-router> </mule-descriptor> </model> </mule-configuration>
  • Log Output:
    Hide
    RROR 2008-02-27 14:24:48,046 [XfireConnector.dispatcher.1] org.mule.providers.SimpleRetryConnectionStrategy: Failed to connect/reconnect: XFireWsdlMessageDispatcher{this=1d840cd, endpoint=http://tomcat:tomcat@localhost:9595/service/services/TestService?wsdl}. Root Exception was: Server returned HTTP response code: 401 for URL: http://localhost:9595/service/services/TestService?wsdl. Type: class java.io.IOException
    org.mule.providers.ConnectException: Initialisation Failure: Server returned HTTP response code: 401 for URL: http://localhost:9595/service/services/TestService?wsdl
    at org.mule.providers.AbstractMessageDispatcher.connect(AbstractMessageDispatcher.java:460)
    at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:76)
    at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:98)
    at org.mule.providers.AbstractMessageDispatcher.connect(AbstractMessageDispatcher.java:431)
    at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:76)
    at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:98)
    at org.mule.providers.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:560)
    at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:9595/service/services/TestService?wsdl
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.URL.openStream(Unknown Source)
    at org.codehaus.xfire.client.Client.<init>(Client.java:246)
    at org.mule.providers.soap.xfire.wsdl.XFireWsdlMessageDispatcher.doConnect(XFireWsdlMessageDispatcher.java:62)
    at org.mule.providers.AbstractMessageDispatcher.connect(AbstractMessageDispatcher.java:439)
    ... 10 more
    Show
    RROR 2008-02-27 14:24:48,046 [XfireConnector.dispatcher.1] org.mule.providers.SimpleRetryConnectionStrategy: Failed to connect/reconnect: XFireWsdlMessageDispatcher{this=1d840cd, endpoint=http://tomcat:tomcat@localhost:9595/service/services/TestService?wsdl}. Root Exception was: Server returned HTTP response code: 401 for URL: http://localhost:9595/service/services/TestService?wsdl. Type: class java.io.IOException org.mule.providers.ConnectException: Initialisation Failure: Server returned HTTP response code: 401 for URL: http://localhost:9595/service/services/TestService?wsdl at org.mule.providers.AbstractMessageDispatcher.connect(AbstractMessageDispatcher.java:460) at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:76) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:98) at org.mule.providers.AbstractMessageDispatcher.connect(AbstractMessageDispatcher.java:431) at org.mule.providers.SimpleRetryConnectionStrategy.doConnect(SimpleRetryConnectionStrategy.java:76) at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:98) at org.mule.providers.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:560) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:9595/service/services/TestService?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at org.codehaus.xfire.client.Client.<init>(Client.java:246) at org.mule.providers.soap.xfire.wsdl.XFireWsdlMessageDispatcher.doConnect(XFireWsdlMessageDispatcher.java:62) at org.mule.providers.AbstractMessageDispatcher.connect(AbstractMessageDispatcher.java:439) ... 10 more
  • Similar Issues:
    None

Description

wsdl-xfire connector (AxisWsdlConnector) failing to invoke secured webservices.

configuration:

<mule-configuration id="Mule_Hello_Sample_over_Http" version="1.0">
<mule-environment-properties serverUrl="http://localhost:60505"
recoverableMode="true" />
<connector name="XfireConnector"
className="org.mule.providers.soap.xfire.wsdl.XFireWsdlConnector">
<connection-strategy
className="org.mule.providers.SimpleRetryConnectionStrategy">
<properties>
<property name="retryCount" value="-1" />
<property name="frequency" value="5000" />
</properties>
</connection-strategy>
</connector>
<model name="test">
<mule-descriptor name="TestUMO"
implementation="org.mule.samples.hello.TestUMO">
<inbound-router>
<endpoint address="vm://test"></endpoint>
</inbound-router>
<outbound-router>
<router
className="org.mule.routing.outbound.OutboundPassThroughRouter">
<endpoint
address="wsdl-xfire:http://tomcat:tomcat@localhost:9595/service/services/TestService?wsdl"
connector="XfireConnector">
<properties>
<property name="method" value="example" />
</properties>
</endpoint>
</router>
</outbound-router>
</mule-descriptor>
</model>
</mule-configuration>

It seems to be not taking the credentials in the service url - http://tomcat:tomcat@localhost:9595/service/services/TestService?wsdl

Activity

Hide
Andrew Perepelytsya added a comment -

No more XFire

Show
Andrew Perepelytsya added a comment - No more XFire

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: