![]() | ![]() |
|
08-31-2010 05:37 PM
Attached is some sample C# code that I've used in an ASP.NET page to call a web service that was activated using the Process Activator. This is for an initiation action (Blank Form - initiateLocation is the action name). You should be able to modify this code slightly to call your particular web service-enabled action. Keep in mind of course that you will need to add the Service Reference in Visual Studio for your service. I also added a using statement for the imported service reference.
Hopefully this helps-
09-13-2010 12:36 PM
Hello, you may find the following link useful, which avoids the need for the registry change.
Best Regards
Rich
10-22-2010 02:38 AM
Hi Ari Chopra,
Thank you for this sample of code. we are also have the similar requirement comsuming metastrom web service in .net application. but the wsdl exposed by metastorm is not having the correct web operation definition for every operation its showing literal as request parameter and response parameter so after adding the web reference of metastorm wsdl we not getting the correct proxy class with interface for invocking webservice.
If posible can you please provide the sample metastorm wsdl file which you have used.
sample of our wsdl for login operation we got in wsdl:
<wsdl
peration>
<soap
peration soapAction="http://metastorm.com/ECL_services/IAWSService/Logi
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl
utput>
<soap:body use="literal" />
</wsdl
utput>
10-10-2011 10:50 AM
I am having a bit of a problem myself. I used the process activator to publish the service. Everything showed up fine. I was moving along in my web app setting up the referenecs and when i got to the login it was asking for 5 parameters instead of the 4 I saw in the examples:
Login(string ClientType, int currentSAP,bool currentSAPSpecified,string authenticationProcess,LoginData)
I used the folliwing values:
eclServiceSession = objX.Login("WEB;", 0, false, "", loginData);
and received the following error
"Engine Exception occurred - look at the inner detail of this exception for more information."
The inner exception was NULL but had the following when i drilled down further.
_COMPlusExceptionCode -532462766
This is a new one for me. Has anyone seen this?
11-01-2011 11:24 AM
I believe the reason you are getting an extra parameter is because you have added a web reference rather than a service reference this will be dependant on what .net framework you are targeting in visual studio.
I have had problems getting this working I have been getting error
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.
I resolved this by changing the web.config for my process web service I changed the security mode to TransportCredentialOnly and the clientCredentialType to Windows case sensitive so be careful
<binding name="basicHttpBinding_Service" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false"
hostNameComparisonMode="StrongWildcard" maxBufferSize="41943040" maxBufferPoolSize="524288" maxReceivedMessageSize="41943040" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"> <readerQuotas maxDepth="32" maxStringContentLength="41943040" maxArrayLength="41943040" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding>
01-12-2012 02:00 PM
Yes, I was adding it as a web reference instead of service.
I made the changes you suggested to the config file of the service that was created and now i am getting the following message that you mentioned.
"The HTTP request is unauthorized with client authentication scheme 'Negotiate'."
Instead of the message to look at the inner exception. Could really use some guidance on how to get the service i created working.
01-16-2012 04:49 PM
Hi
I was trying to use some action published as webservice by processactivator in another process. But If I try to login i have error message like this:
"Engine Exception occurred - look at the inner detail of this exception for more information"
Any ideas?
04-17-2012 04:41 PM - last edited on 04-17-2012 04:41 PM
@Mike G: How did you get by this error?
"The HTTP request is unauthorized with client authentication scheme 'Negotiate'."
![]() |
![]() |
![]() |
|
|
![]() |
![]() |
![]() |
















