Location Appliance and SOAP

Unanswered Question

Hi,

I am using the Cisco Wireless Location Appliance and have tried to connect to it using SOAP, specifically using the WSDL. When I try and connect I get the following error.

Any ideas?

Cheers

Tom

AxisFault

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

faultSubcode:

faultString: java.net.ConnectException: Connection refused: connect

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.ddtek.xquery.axis.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)

at com.ddtek.xquery.axis.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)

at com.ddtek.xquery.axis.commons.httpclient.HttpConnection.open(HttpConnection.java:707)

at com.ddtek.xquery.axis.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)

at com.ddtek.xquery.axis.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)

at com.ddtek.xquery.axis.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

at com.ddtek.xquery.axis.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

at com.ddtek.xquery.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)

at com.ddtek.xquery.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

at com.ddtek.xquery.axis.SimpleChain.doVisiting(SimpleChain.java:118)

at com.ddtek.xquery.axis.SimpleChain.invoke(SimpleChain.java:83)

at com.ddtek.xquery.axis.client.AxisClient.invoke(AxisClient.java:165)

at com.ddtek.xquery.axis.client.Call.invokeEngine(Call.java:2784)

at com.ddtek.xquery.axis.client.Call.invoke(Call.java:2767)

at com.ddtek.xquery.axis.client.Call.invoke(Call.java:1910)

at com.exln.stylus.webservice.AxisStub.send(AxisStub.java:112)

{http://xml.apache.org/axis/}hostname:ANS000588

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ckatene Wed, 01/02/2008 - 14:51

your connection was refused. Implies that you either a) have specified the wrong address, b) have specified the wrong port, or c) the service is not currently active. your connect URL shouid be http://:8001 right? (unless you've changed the default port)

At the minute I am just using XMLSpy to prove connectivity.

I have a copy of the WSDL file on my "C" drive and have imported that into XMLSpy and have called the Login operation successfully now. In the WSDL file the port was 8008 and not 8001.

Is the WSDL actually deployed on the Location Appliance server? if so what is the URL? This will stop me from refering to it locally, e.g. as an example, http://www.webservicex.net/stockquote.asmx?WSDL

Hope this makes sense :)

Cheers

Tom

Actions

This Discussion