Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exposing Schema as a Web Service.

48 views
Skip to first unread message

sarvesh

unread,
Dec 7, 2007, 8:58:00 PM12/7/07
to
I am getting the following when I try to consume a web service that I created
by exposing a schemas using the web service publishing wizard. Any help is
appreciated. Also, I haven't found any documentation on how to extend the web
service that is generated, like where to add my logic. The asmx class seems
to derive from ServerProxy class there isn't whole lot of information on this
as well.

System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. --->
System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Internal SOAP Processing Failure
at Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled, Object cookie)
at Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke(String
functionName, Object[] parameters, ParamInfo[] inParamInfos, ParamInfo[]
outParamInfos, Int32 bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses, ArrayList&
outHeaderResponses, Type[] outHeaderTypes, String[] outHeaderNamespaces,
SoapUnknownHeader[] unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean spsSsoEnabled)
at ToolsIntegration.TestWebService.Submit(SubmitRequest part) in
c:\Inetpub\wwwroot\TestWebService\App_Code\TestWebService.asmx.cs:line 52
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at TeamTrackWebService.Submit(SubmitRequest SubmitRequest)

Jan Eliasen

unread,
Dec 8, 2007, 3:27:18 PM12/8/07
to
On Fri, 7 Dec 2007 17:58:00 -0800, sarvesh
<sar...@discussions.microsoft.com> wrote:

>I am getting the following when I try to consume a web service that I created
>by exposing a schemas using the web service publishing wizard. Any help is
>appreciated.

Are there any entries in the eventlog on your BizTalk server?

Check the IIS log - did it receive the call? What was the return code?

Can you open the asmx file in internet explorer? Or does that give an
error as well?

--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: j...@eliasen.dk

sarvesh

unread,
Dec 10, 2007, 1:24:00 AM12/10/07
to
I managed to rid of that error message. I did not have recieve and send ports
enabled. But now all my calls to the web service timeout. No matter how high
I set my script timeout. I added a file location for my send port and the
file was created. There are no errors in the biztalk console. IIS is
receiving the request, i could debug the web service.

Jan Eliasen

unread,
Dec 10, 2007, 5:11:25 PM12/10/07
to
On Sun, 9 Dec 2007 22:24:00 -0800, sarvesh
<sar...@discussions.microsoft.com> wrote:

>I managed to rid of that error message. I did not have recieve and send ports
>enabled. But now all my calls to the web service timeout. No matter how high
>I set my script timeout. I added a file location for my send port and the
>file was created. There are no errors in the biztalk console. IIS is
>receiving the request, i could debug the web service.

The WebMethod in the web service - does it have a return type or is it
void?

0 new messages