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=“[URL=“http://schemas.xmlsoap.org/wsdl/”]http://schemas.xmlsoap.org/wsdl/[/URL]
xmlns:xs=“[URL=“XML Schema”]http://www.w3.org/2001/XMLSchema[/URL]
name=“IOptivaservice”
targetNamespace=“[URL=“http://tempuri.org/”]Bing
xmlns:tns=“[URL=“http://tempuri.org/”]Bing
xmlns:soap=“[URL=“http://schemas.xmlsoap.org/wsdl/soap/”]http://schemas.xmlsoap.org/wsdl/soap/[/URL]
xmlns:soapenc=“[URL=“http://schemas.xmlsoap.org/soap/encoding/”]http://schemas.xmlsoap.org/soap/encoding/[/URL]
xmlns:mime=“[URL=“http://schemas.xmlsoap.org/wsdl/mime/”]http://schemas.xmlsoap.org/wsdl/mime/[/URL]”>













<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=”[URL=“http://schemas.xmlsoap.org/soap/encoding/”]http://schemas.xmlsoap.org/soap/encoding/[/URL]" namespace=“urn:OptivaIntf-IOptiva”/>


<soap:body use=“encoded” encodingStyle=“[URL=“http://schemas.xmlsoap.org/soap/encoding/”]http://schemas.xmlsoap.org/soap/encoding/[/URL]” 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?