Error Consuming Web Service in Visual Studio 2008

I am attempting to consume the content web service (http://mydomain.com:9992/Rhythmyx/webservices/contentSOAP?wsdl) in Visual Studio 2008 so that I can programmatically create content items. When I add the web reference, however, Visual Studio alerts me with the following message:

The document was understood, but it could not be processed.

  • The WSDL document contains links that could not be resolved.
  • DTD is prohibited in this XML document.

Any thoughts on what we might be doing wrong?

Thank you in advance…

The exact error is:

The document was understood, but it could not be processed.

  • The WSDL document contains links that could not be resolved.

  • DTD is prohibited in this XML document.

Metadata contains a reference that cannot be resolved: ‘http://[percussionserver]:9992/Rhythmyx/webservices/contentSOAP?wsdl’.

The content type text/xml;charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 553 bytes of the response were: ’

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

 <soapenv:Body>

  <soapenv:Fault>

   <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>

   <faultstring>no SOAPAction header!</faultstring>

   <detail>

    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">servername</ns2:hostname>

   </detail>

  </soapenv:Fault>

 </soapenv:Body>

</soapenv:Envelope>'.

The remote server returned an error: (500) Internal Server Error.

If the service is defined in the current solution, try building the solution and adding the service reference again.

Percssion Tech Support has told us to modify the content type in the application that we’re referencing to text/xml. We’ve tried changing the “sys_psxWebServices” default and transitionList content types but end up with the same error.

Any one have any idea how we can narrow down exactly which application we’re supposedly accessing?

Thanks.

Have you resolved the errors in xsd documents. I took a while for me to resolve those xsd documents and everything worked fine after that.

I apologize for the delay, but I have not resolved this issue.

I attempted to validate the WSDL with XML Spy. It too fails to load because it is unable to locate the content.xsd schema definition, referenced in the WSDL. There are no errors reported in the Rhythmyx server. Without the schema definition for our content type, there isn’t a thing we can do.

Have you looked in your [Rhythmyx Root]\WebServices\6.0.0\sample\loader\csharp\Web References\RxWebServices folder? That’s where all the XSDs are located in my install.