• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DTWS: strange goings on in the WSDL file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DTWS: strange goings on in the WSDL file


  • Subject: Re: DTWS: strange goings on in the WSDL file
  • From: Gordon Maynard <email@hidden>
  • Date: Wed, 29 Jun 2005 21:20:37 +0100

Thanks for your help, Sacha. It appears it came back following editing out a few references to 'gordon' in those files, restarting Webobjects didn't implement the changes, they took effect after a server restart.
On to the next step, I've tried calling the service using the PHP SOAP client and get the error:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected in complexType in /Library/WebServer/Documents/soapMonitor/soapMethods.php:28 Stack trace: #0 {main} thrown in /Library/WebServer/Documents/soapMonitor/soapMethods.php on line 28

One for another day!
Thanks again,
Gordon.
 
On 28 Jun 2005, at 20:50, Sacha Mallais wrote:


On Jun 28, 2005, at 12:27 PM, Gordon Maynard wrote:


Gents,
I've been having a go at setting up a Web Service using DTWS and I've come up with a strange problem. The WSDL document can be seen at:

http://www.gordonmaynard.co.uk:55555/cgi-bin/WebObjects/homeAddressWebService.woa/ws/contacts?wsdl#

and at first sight it looks OK. However, there are several references to:

http://gordon/cgi-bin/WebObjects/homeAddressWebService.woa/ws/contacts/wsdl

and this is where the problem starts as I can't work out where the server name 'gordon' is coming from. Several years (and upgrades) ago that was the name of the Web site as defined in Server Settings but it hasn't been like that for a long time (it is now www.gordonmaynard.co.uk). I did fine a reference to 'gordon' in the http.conf file and I've changed it and restarted everything.
This is driving me crazy, anyone got any ideas about where that label might be coming from? I've checked /etc/sites and all the config files I can think of, the site is called '192.168.107.197' in Monitor.


If you ever generate URLs from your app, first check the app's config file(s). Then look in
/etc/hostconfig
/var/named (if you're running a DNS)
/Library/WebObjects/Configuration/SiteConfig.xml
/etc/resolv.conf
/etc/httpd/httpd.conf (check again :-)

If that still doesn't do it, maybe try a Spotlight search (or Apple content indexing if you're pre-Tiger -- or even a "find / -exec grep gordon \{\} \;" from the c/l) on "gordon".


sacha




 _______________________________________________
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

References: 
 >DTWS: strange goings on in the WSDL file (From: Gordon Maynard <email@hidden>)
 >Re: DTWS: strange goings on in the WSDL file (From: Sacha Mallais <email@hidden>)

  • Prev by Date: Re: Building WO under xcode 2.1?
  • Next by Date: From niutil, doesn't this indicate the group is present and properly owned
  • Previous by thread: Re: DTWS: strange goings on in the WSDL file
  • Next by thread: pods
  • Index(es):
    • Date
    • Thread