I have two websites installed two WS by using nusoap. The scripts are completely same except for site domain of course.
I used php for WS server and I used 'http://www.domain.com'
as the namespace when register server method and left actionascript blank. One of my website cut www off the actionscript it defaultly generated, something like this:http://domain.com/modules/Web_Services/genwsdl.php
also service part of the wsdl file is also same problem:
The location part on the other site has no 'www'. only "http://domain.com/...
I don't know why nusoap gives out this format when I connect and this caused the problem that WS is missing and error gives 301 permanently moved...:http://www.domain.com/modules/Web_Services/genwsdl.php?wsdl
I am new with NuSOAP and WS. Anyone can help?
0 · ·