Re: Cannot find service Error
Re: Cannot find service Error
- Subject: Re: Cannot find service Error
- From: Pierre Frisch <email@hidden>
- Date: Thu, 22 Dec 2005 03:38:30 -0800
Hi Corin,
Which version of WO are you using? Did you upgrade Axis?
Pierre
On 21-Dec-05, at 6:43 PM, Corin Lawson wrote:
Hi,
I am having trouble calling a web service that has multiple
instances. I have written a quick and dirty client invoke it using
WOWebServiceClient. This is the error that I get...
com.webobjects.foundation.NSForwardException
[javax.xml.rpc.ServiceException] Error processing WSDL document:
javax.xml.rpc.ServiceException: Cannot find service:  {http://
bders.bottledomains.net.au/cgi-bin/WebObjects/AuClub.woa/1/ws/BDERS}
BDERS: Unable to create axis service with url http://
bders.bottledomains.net.au/cgi-bin/WebObjects/AuClub.woa/ws/BDERS?
wsdl and QName {http://bders.bottledomains.net.au/cgi-bin/
WebObjects/AuClub.woa/1/ws/BDERS}BDERS: Exception trying to invoke
operation: checkDomain
But when I use this url: http://bders.bottledomains.net.au/cgi-bin/
WebObjects/AuClub.woa/1/ws/BDERS?wsdl. It works.
Please Explain.
I thought that it may be related to the fact that there's multiple
instances. However, the same problem occurs with on instance running.
Here are some snippits of the wsdl doc:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
    targetNamespace="http://bders.bottledomains.net.au/cgi-bin/
WebObjects/AuClub.woa/1/ws/BDERS"
    xmlns:impl="http://bders.bottledomains.net.au/cgi-bin/
WebObjects/AuClub.woa/1/ws/BDERS"
    xmlns:intf="http://bders.bottledomains.net.au/cgi-bin/
WebObjects/AuClub.woa/1/ws/BDERS"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns2="http://bders.auststyle.com" xmlns:tns1="http://
bders.bottledomains.net.au/cgi-bin/WebObjects/AuClub.woa/ws/BDERS"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://
schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <schema
        xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://bders.bottledomains.net.au/cgi-bin/
WebObjects/AuClub.woa/ws/BDERS">
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
...
    </schema>
  </wsdl:types>
...
  <wsdl:service name="BDERS">
    <wsdl:port name="BDERS" binding="impl:BDERSSoapBinding">
      <wsdlsoap:address location="http://bders.bottledomains.net.au/
cgi-bin/WebObjects/AuClub.woa/1/ws/BDERS"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
Cheers,
Corin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
40spearway.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden