method not defined in service

From: Date: Fri, 18 Jul 2003 12:50:53 +0000
Subject: method not defined in service
Groups: php.soap 
Request: Send a blank email to php-soap+get-856@lists.php.net to get a copy of this message
Ok, my understanding of PEAR::SOAP is coming along now. However, I am stuck at a point and can't seem to find the error. I keep getting a soap_fault (using PEAR::SOAP 0.7.4 for both server and client) that says: method '{http://www.customizeonline.com/webservices/FedRoutingDirectoryService}LookupFedACHParticipant' not defined in service I'm pretty sure it is a namespace issue, but I'm new to XML and web services, so I can't find the problem in my WSDL. XMLSpy validates it just fine. If someone could PLEASE look at my WSDL file and tell me if there is anything I have missed that would cause this problem, I'd *REALLY* appreciate it! WSDL: http://www.customizeonline.com/webservices/FedRoutingDirectoryService/FedRoutingDirectoryService.wsdl The wire looks like this: OUTGOING: POST /webservices/FedRoutingDirectoryService/service.php HTTP/1.0 User-Agent: PEAR-SOAP 0.7.3-devel Host: www.customizeonline.com Content-Type: text/xml; charset=UTF-8 Content-Length: 639 SOAPAction: "urn:#LookupFedACHParticipant" <?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" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="http://www.customizeonline.com/webservices/FedRoutingDirectoryService"
<SOAP-ENV:Body>
<ns4:LookupFedACHParticipant> <ns4:name></ns4:name> <ns4:city></ns4:city> <ns4:state></ns4:state> <ns4:routingNumber>067009646</ns4:routingNumber> <ns4:count></ns4:count></ns4:LookupFedACHParticipant> </SOAP-ENV:Body> </SOAP-ENV:Envelope> INCOMING HTTP/1.1 200 OK Date: Fri, 18 Jul 2003 12:32:42 GMT Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_gzip/1.3.19.1a mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.3.2 mod_perl/1.26 X-Powered-By: PHP/4.3.2 X-Accelerated-By: PHPA/1.3.3r2 Status: 500 Soap Fault Content-Length: 5276 Connection: close Content-Type: text/xml; charset=UTF-8 <?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" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode xsi:type="xsd:QName">SOAP-ENV:Server</faultcode> <faultstring xsi:type="xsd:string">method '{http://www.customizeonline.com/webservices/FedRoutingDirectoryService}LookupFedACHParticipant' not defined in service</faultstring> <faultactor xsi:type="xsd:anyURI"> </faultactor> <detail xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[5]" SOAP-ENC:offset="[0]"> <item> <file xsi:type="xsd:string">/usr/share/php/SOAP/Fault.php</file> <line xsi:type="xsd:int">49</line> <function xsi:type="xsd:string">pear_error</function> <class xsi:type="xsd:string">pear_error</class> <type xsi:type="xsd:string">::</type> <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[5]" SOAP-ENC:offset="[0]"> <item xsi:type="xsd:string">method '{http://www.customizeonline.com/webservices/FedRoutingDirectoryService}LookupFedACHParticipant' not defined in service</item> <item xsi:type="xsd:string">Server</item> <item/> <item/> <item xsi:type="xsd:string"> </item> </args> </item> <item> <file xsi:type="xsd:string">/usr/share/php/SOAP/Base.php</file> <line xsi:type="xsd:int">198</line> <function xsi:type="xsd:string">soap_fault</function> <class xsi:type="xsd:string">soap_fault</class> <type xsi:type="xsd:string">-&gt;</type> <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[6]" SOAP-ENC:offset="[0]"> <item xsi:type="xsd:string">method '{http://www.customizeonline.com/webservices/FedRoutingDirectoryService}LookupFedACHParticipant' not defined in service</item> <item xsi:type="xsd:string">Server</item> <item xsi:type="xsd:string"> </item> <item xsi:type="xsd:string"> </item> <item/> <item/> </args> </item> <item> <file xsi:type="xsd:string">/usr/share/php/SOAP/Server.php</file> <line xsi:type="xsd:int">373</line> <function xsi:type="xsd:string">_raisesoapfault</function> <class xsi:type="xsd:string">soap_server</class> <type xsi:type="xsd:string">-&gt;</type> <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[4]" SOAP-ENC:offset="[0]"> <item xsi:type="xsd:string">method '{http://www.customizeonline.com/webservices/FedRoutingDirectoryService}LookupFedACHParticipant' not defined in service</item> <item xsi:type="xsd:string"> </item> <item xsi:type="xsd:string"> </item> <item xsi:type="xsd:string">Server</item> </args> </item> <item> <file xsi:type="xsd:string">/usr/share/php/SOAP/Server.php</file> <line xsi:type="xsd:int">170</line> <function xsi:type="xsd:string">parserequest</function> <class xsi:type="xsd:string">soap_server</class> <type xsi:type="xsd:string">-&gt;</type> <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[2]" SOAP-ENC:offset="[0]"> <item xsi:type="xsd:string">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:SOAP-ENC=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot; xmlns:ns4=&quot;http://www.customizeonline.com/webservices/FedRoutingDirectoryService&quot; &gt; &lt;SOAP-ENV:Body&gt; &lt;ns4:LookupFedACHParticipant&gt; &lt;ns4:name&gt;&lt;/ns4:name&gt; &lt;ns4:city&gt;&lt;/ns4:city&gt; &lt;ns4:state&gt;&lt;/ns4:state&gt; &lt;ns4:routingNumber&gt;067009646&lt;/ns4:routingNumber&gt; &lt;ns4:count&gt;&lt;/ns4:count&gt;&lt;/ns4:LookupFedACHParticipant&gt; &lt;/SOAP-ENV:Body&gt; &lt;/SOAP-ENV:Envelope&gt; </item> <item xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="[0]"/> </args> </item> <item> <file xsi:type="xsd:string">/var/www/webservices/FedRoutingDirectoryService/service.php</file> <line xsi:type="xsd:int">13</line> <function xsi:type="xsd:string">service</function> <class xsi:type="xsd:string">soap_server</class> <type xsi:type="xsd:string">-&gt;</type> <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]" SOAP-ENC:offset="[0]"> <item xsi:type="xsd:string">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:SOAP-ENC=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot; xmlns:ns4=&quot;http://www.customizeonline.com/webservices/FedRoutingDirectoryService&quot; &gt; &lt;SOAP-ENV:Body&gt; &lt;ns4:LookupFedACHParticipant&gt; &lt;ns4:name&gt;&lt;/ns4:name&gt; &lt;ns4:city&gt;&lt;/ns4:city&gt; &lt;ns4:state&gt;&lt;/ns4:state&gt; &lt;ns4:routingNumber&gt;067009646&lt;/ns4:routingNumber&gt; &lt;ns4:count&gt;&lt;/ns4:count&gt;&lt;/ns4:LookupFedACHParticipant&gt; &lt;/SOAP-ENV:Body&gt; &lt;/SOAP-ENV:Envelope&gt; </item> </args> </item> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Thanks in Advance!

« previous php.soap (#856) next »