axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William D. Strathearn" <william.strathe...@ask.com>
Subject Soap method is not allowed to invoke.
Date Sat, 16 Sep 2006 02:07:49 GMT
I have a small service built with the server and client stubs generated
by wsdl2ws.jar.  I am able to send SOAP requests to the service that is
running on an axis_simple_server, v1.6b.  I get a SOAP fault as a reply,
but the request, including SOAPAction looks just fine to me.  

server.wsdd

william@william-desktop$ cat etc/server.wsdd
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:C="http://xml.apache.org/axis/wsdd/providers/C"
xmlns:CPP="http://xml.apache.org/axis/wsdd/providers/CPP">
        <globalConfiguration>
        </globalConfiguration>
        <service name="usps_ws" provider="CPP:RPC" description="Some
Service">
        <parameter name="allowedMethods" value="lookup"/>
                <parameter name="className"
value="/the/path/to/wsplugin/libuspsaxisplugin.so" />
    </service>
</deployment>


packets captured by tcpdump

18:53:25.277614 IP localhost.48764 > localhost.webcache: P
3332012271:3332012414(143) ack 3338902632 win 8192 <nop,nop,timestamp
928633403 928633403>
E.....@.@..[.........|....x....h.. ........
7Y.;7Y.;POST /axis/usps_ws HTTP/1.1
Host: localhost:8080
Content-Type: text/xml; charset=UTF-8
SOAPAction: "usps_ws#lookup"
Content-Length: 442


18:53:25.277632 IP localhost.48764 > localhost.webcache: P 143:585(442)
ack 1 win 8192 <nop,nop,timestamp 928633403 928633403>
E.....@.@../.........|....y~...h.. ........
7Y.;7Y.;<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:lookup-req xmlns:ns1="http://localhost/axis/usps_ws">
<ns1:client-params jid_prefix="USPS"></ns1:client-params>
<ns1:url>http://foo.com</ns1:url>
</ns1:lookup-req>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


18:53:25.360492 IP localhost.webcache > localhost.48764: P 1:115(114)
ack 585 win 8192 <nop,nop,timestamp 928633424 928633403>
E...NU@.@..............|...h..{8.. ........
7Y.P7Y.;HTTP/1.1 200 OK
Server: Apache Axis C++/1.6.a
Connection: close
Content-Length: 552
Content-Type: text/xml


18:53:25.360687 IP localhost.webcache > localhost.48764: P 115:667(552)
ack 585 win 8192 <nop,nop,timestamp 928633424 928633424>
E..\NV@.@..C...........|......{8.. ..Q.....
7Y.P7Y.P<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Soap method is not allowed to invoke</faultstring>
<faultactor>william-desktop:8080</faultactor>
<detail><appSpecific>AxisWsddException:Requested method is not
allowed</appSpecific>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


--
Bill

Mime
View raw message