Hi support,
The problem still occurs. I have tested with a simple dotNet web application (see errors above) and now with a dotNet web service. It produces the following error in the event viewer:
Error : Error in line 1 position 7. Expecting element 'string' from namespace 'http://schemas.microsoft.com/2003/10/Serialization/'.. Encountered 'Element' with name 'html', namespace ''.
My web service declaration signature is:
_
Public Function SmithCartService(ByVal args As String) As String
And at the method end: Return "4,SerialNumber0,5,SerialNumber1,6,SerialNumber2" (the orderDetailIds 4 5 6 are replaced by the values passed in the request)
EDIT for web service application call: In fact, my web service is not called. The Web Service URL (in the Store settings) is "http://myWebSite/Service1.asmx?op=SmithCartService?oid=[ORDERID],odids=[ORDERDETAILIDS]". When I enter this URL in a browser, it returns 'Method not found' and the page source code starts with a "
" element (as it is not the correct way to invoke a web service). That explains the error message above.
I have modified the web application to return (throught Response.write) the string "4,SerialNumber0,5,SerialNumber1,6,SerialNumber2" and now the error meesage in the event viewer is:
Error : Error in line 1 position 9. Expecting element 'string' from namespace 'http://schemas.microsoft.com/2003/10/Serialization/'.. Encountered 'Element' with name 'string', namespace ''.
Note that it would be usefull to write the web service response in the event viewer.
I have seen many post regarding web service use problem in the Smith Shopping Cart forum. It would be nice if your development team could write & post a very simple web service sample written in dotNet. It would save time for your customers, and for you as it will avoid you to respond to user posts in this forum.
Please give an answer (even a simple yes - no will be appreciated).
Thanks.