MartinEgan
27-04-07, 11:31
Hi,
Can anyone shed any light on some problems I'm having with implementing the web service with Coldfusion.
I am new to web services and just thought I'd try to implement it so that I could build it into my new website, but I'm having problems getting it to work.
The error I keep on getting is as follows:
Could not generate stub objects for web service invocation.
Name: http://api.productserve.com/v1/ProductServeService?wsdl. WSDL: http://api.productserve.com/v1/ProductServeService?wsdl. java.io.IOException: Type {http://api.productserve.com/}int is referenced but not defined. It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness. If the requested WSDL document can't be retrieved or it is dynamically generated, it is likely that the target web service has programming errors.
The error occurred in /vservers/makeabiz/htdocs/webservice.cfm: line 5
3 : <cfset userPass = "2b5674de9fe88c3b507e98e361a56eb9" />
4 : <cfscript>
5 : shopWindowAPI = CreateObject("webservice", "http://api.productserve.com/v1/ProductServeService?wsdl");
6 : addSOAPRequestHeader(shopWindowAPI, "UserAuthentication", "#userID#", "#userPass#");
7 : categoryTree = shopWindowAPI.getCategoryTree();
Can anyone help me to implement the webservice using coldfusion? Is there any support for implementation do you know? Just I don't know php which is what the ShopWindow stuff is done in.
Thanks again.
Martin
Can anyone shed any light on some problems I'm having with implementing the web service with Coldfusion.
I am new to web services and just thought I'd try to implement it so that I could build it into my new website, but I'm having problems getting it to work.
The error I keep on getting is as follows:
Could not generate stub objects for web service invocation.
Name: http://api.productserve.com/v1/ProductServeService?wsdl. WSDL: http://api.productserve.com/v1/ProductServeService?wsdl. java.io.IOException: Type {http://api.productserve.com/}int is referenced but not defined. It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness. If the requested WSDL document can't be retrieved or it is dynamically generated, it is likely that the target web service has programming errors.
The error occurred in /vservers/makeabiz/htdocs/webservice.cfm: line 5
3 : <cfset userPass = "2b5674de9fe88c3b507e98e361a56eb9" />
4 : <cfscript>
5 : shopWindowAPI = CreateObject("webservice", "http://api.productserve.com/v1/ProductServeService?wsdl");
6 : addSOAPRequestHeader(shopWindowAPI, "UserAuthentication", "#userID#", "#userPass#");
7 : categoryTree = shopWindowAPI.getCategoryTree();
Can anyone help me to implement the webservice using coldfusion? Is there any support for implementation do you know? Just I don't know php which is what the ShopWindow stuff is done in.
Thanks again.
Martin