webService Connector issue

Hi,

I am trying to consume webService which is developed in .net using webService connector option in webMethods. The webServie connector is successfully created but while running it is throwing following error.

com.wm.app.b2b.server.ServiceException:[ISC.0042.9327] Expecting

got

Can any one experienced such problem? Please advice.

My guess is that the service you are consuming is returning HTML not XML. Check the endpoint address in your Web Service Connector against what is specified in the WSDL. Also, examine the soapResponseData to ensure that it contains XML and not HTML.

Mark

Hi Mark,
Thanks for your reply. Currently webService is returning XML string some thing like this.

The WSDL file looks as follows:

<?xml version="1.0" encoding="utf-8"?>

<definitions xmlns=“http://schemas.xmlsoap.org/wsdl/
xmlns:xs=“http://www.w3.org/2001/XMLSchema
name=“IOptivaservice”
targetNamespace=“http://tempuri.org/
xmlns:tns=“http://tempuri.org/
xmlns:soap=“http://schemas.xmlsoap.org/wsdl/soap/
xmlns:soapenc=“http://schemas.xmlsoap.org/soap/encoding/
xmlns:mime=“http://schemas.xmlsoap.org/wsdl/mime/”>













<soap:binding style=“rpc” transport="<A href=“http://schemas.xmlsoap.org/soap/http"/">http://schemas.xmlsoap.org/soap/http”/>

<soap:operation soapAction=“urn:OptivaIntf-IOptiva#saveData” style=“rpc”/>

<soap:body use=“encoded” encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/” namespace=“urn:OptivaIntf-IOptiva”/>


<soap:body use=“encoded” encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/” namespace=“urn:OptivaIntf-IOptiva”/>





<soap:address location="<A href=“http://ncsusracpcchm1/Optiva/OptivaImportSOAPServer.exe/soap/IOptiva"/">http://ncsusracpcchm1/Optiva/OptivaImportSOAPServer.exe/soap/IOptiva”/>


Can you shed some light on this?