BizTalk Server Orchestration - Problems consuming simple web service

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2004 > Problems consuming simple web service





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problems consuming simple web service
Henning Wilbert

2004-08-03, 5:50 pm

Hi everyone,
i built a very simple orchestration and published it as a web service.
i built another orchestration to consume this web service. but i
doesn't work, i always get errors.
the webservice should get a request containing two operators, and
return a response containing the result (op1 + op2). the orchestration
worked fine, but the web service doesn't.
here's the error messages from the SOAP trace:

===== Output SOAP Response at 03.08.2004 19:01:09 =====
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>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 Calc2Orchestrations. Calc2Orchestrations_BizTalk_Orchestratio
n1_ReceiveCalc2Request.Operation_1(Calc2Request
part) in C:\Inetpub\wwwroot\Calc2Orchestrations\C
alc2Orchestrations_BizTalk_Orchestration
1_ReceiveCalc2Request.asmx.cs:line
48</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

so i guess the web service was called, right?
furthermore, these errors appear in the application event viewer:

1:
The "SOAP" adapter is suspending a message coming from Source
URL:"/Calc2Orchestrations/ Calc2Orchestrations_BizTalk_Orchestratio
n1_ReceiveCalc2Request.asmx".
Details:"Exception of type System.Runtime.InteropServices.COMException
was thrown.".

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.



2:
The Messaging Engine has suspended "1" message(s) from adapter "SOAP"
due to failures in message processing. Please refer to Health and
Activity Tracking tool for more detailed information on this failure.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.



and some warnings:
1:
The adapter "SOAP" raised an error message. Details "Exception has
been thrown by the target of an invocation.".

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

2:
The adapter "SOAP" raised an error message. Details
"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 Calc2Orchestrations. Calc2Orchestrations_BizTalk_Orchestratio
n1_ReceiveCalc2Request.Operation_1(Calc2Request
part)".

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

3:
The adapter failed to transmit message going to send port
"http://localhost/Calc2Orchestrations/ Calc2Orchestrations_BizTalk_Orchestratio
n1_ReceiveCalc2Request.asmx".
It will be retransmitted after the retry interval specified for this
Send Port. Details:"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 Calc2Orchestrations. Calc2Orchestrations_BizTalk_Orchestratio
n1_ReceiveCalc2Request.Operation_1(Calc2Request
part)".

For more information, see Help and Support Center at


i tried using HAT, changing security settings and everything (except
the right thing), so right now i'm pretty clueless. so ANY input
appreciated

thanks in advance

Henning Wilbert
Henning Wilbert

2004-08-05, 8:08 am

Okay, i built an web service even more simple and published it. i try
to test it using WebServiceStudio. But i always get an "Internal SOAP
Processing Failure" or the "Could not find a matching subscription for
the message" exception.
I tried setting up the "Expose Web Service"-Sample, that worked just
fine.
I then tried to built the "Expose Web Service"-Solution myself and
published it with the Wizard. I get the same errors as with my simple
web service.
again, any feedback appreciated

greetings
Henning Wilbert
Henning Wilbert

2004-08-05, 8:08 am

Okay, problem solved.
You should deploy your web service orchestration...
i'll bang my head against a wall for the next 30 minutes, have a nice day

greetings
Henning Wilbert
Mick

2004-08-23, 5:50 pm

Did banging your head work?

I'm having the same problem, I think its to do with the number of
processor threads the orchestration creates. Would love a work around.
Henning Wilbert

2004-09-03, 7:47 am

Well, my problem was that i didn't deploy the orchestration that had
been published as web service. the web service passes the message to
the orchestration, and if there is no orchestration -> failure.
hope this helps

mick_d@optusnet.com.au (Mick) wrote in message news:<cf19bc2c.0408231540.37bcde74@posting.google.com>...
> Did banging your head work?
>
> I'm having the same problem, I think its to do with the number of
> processor threads the orchestration creates. Would love a work around.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com