Exposing a BizTalk 2004 Orchestration as a Web Service on Windows
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Exposing a BizTalk 2004 Orchestration as a Web Service on Windows




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Exposing a BizTalk 2004 Orchestration as a Web Service on Windows  
Bradley J. Gibby


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 02:09 AM

Hi there,

My issue is that I'm running a BizTalk 2004 server on a Windows 2000 machine
(not server, workstation) for dev purposes. I've just created an
orchestration that I need to expose as a web service for a Client app.

After deploying the orchestration, I ran the Web Services Publishing wizard.
Set up everything including "Create Receive Locations" and "Allow Anonymous
Access" and all was well.

Opened the Web Service in IE6 and received the WSDL and all was well.

Created a stub app with a Web Reference to the WS and created my C# code to
create an object for the message and an object to instantiate the WS method
call. Ran the App and hit my dummy button and all was well.

Went to check the output in HAT, nothing. Went to the Event Log and found
the following error message:

[ Start ]
The Messaging Engine failed to register the adapter for "SOAP" for the
receive location "/Scenario1_Proxy/WDO_Receive_Incoming_OTA_IncOta.asmx".
Please verify that the receive location is valid, and that the isolated
adapter runs under an account that has access to the BizTalk databases.
[ End ]

I therefore verified the location of the ASMX file, no probs. I looked to
see if the databases had the BizTalk_User account that I created for BizTalk
and yep, it's there.

From here, I've no idea what to do.

Any help would be most appreciated!

Thanks
Bradley q





[ Post a follow-up to this message ]



    Re: Exposing a BizTalk 2004 Orchestration as a Web Service on Windows  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 02:09 AM

Bradley,
> Hi there,
>
> My issue is that I'm running a BizTalk 2004 server on a Windows 2000
machine
> (not server, workstation) for dev purposes. I've just created an
> orchestration that I need to expose as a web service for a Client app.
>
> After deploying the orchestration, I ran the Web Services Publishing
wizard.
> Set up everything including "Create Receive Locations" and "Allow
Anonymous
> Access" and all was well.
>
> Opened the Web Service in IE6 and received the WSDL and all was well.
>
> Created a stub app with a Web Reference to the WS and created my C# code
to
> create an object for the message and an object to instantiate the WS
method
> call. Ran the App and hit my dummy button and all was well.
>
> Went to check the output in HAT, nothing. Went to the Event Log and found
> the following error message:
>
> [ Start ]
> The Messaging Engine failed to register the adapter for "SOAP" for the
> receive location "/Scenario1_Proxy/WDO_Receive_Incoming_OTA_IncOta.asmx".
> Please verify that the receive location is valid, and that the isolated
> adapter runs under an account that has access to the BizTalk databases.
> [ End ]
>
> I therefore verified the location of the ASMX file, no probs. I looked to
> see if the databases had the BizTalk_User account that I created for
BizTalk
> and yep, it's there.

While that user is valid, it's likely the WebService here is running under
the context of the ASP.NET user. Either give that user access, or get your
app to run under BizTalk_User (by using <identity impersonate/> in web
config or by changing the process model in machine.config)

--
Tomas Restrepo
tomasr@mvps.org







[ Post a follow-up to this message ]



    RE: Exposing a BizTalk 2004 Orchestration as a Web Service on Windows  
J. Dudgeon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-17-04 07:48 AM

I recently ran into this error myself.  Go into IIS and find the virtual
directory that you published the BT proxy Web service to.  Right-click the
virtual directory, select "Properties", and then make sure that the
"Application name" property has a value.  If it doesn't, click "Remove" and
then "Create".  This should fix the problem.  How this relates to the error
you are seeing in the Event Log, I'm not sure, but this solution worked for
me.

After I had published my service using the publishing wizard, I found that
my virtual directory did not have an application name.  As soon as I removed
and create the application, the adapter started recognizing that location.

Good luck.

P.S.  The ASP.NET account also needs to be added to the database you are
attempting to access, at least under Win2k/XP.

"Bradley J. Gibby" wrote:

> Hi there,
>
> My issue is that I'm running a BizTalk 2004 server on a Windows 2000 machi
ne
> (not server, workstation) for dev purposes. I've just created an
> orchestration that I need to expose as a web service for a Client app.
>
> After deploying the orchestration, I ran the Web Services Publishing wizar
d.
> Set up everything including "Create Receive Locations" and "Allow Anonymou
s
> Access" and all was well.
>
> Opened the Web Service in IE6 and received the WSDL and all was well.
>
> Created a stub app with a Web Reference to the WS and created my C# code t
o
> create an object for the message and an object to instantiate the WS metho
d
> call. Ran the App and hit my dummy button and all was well.
>
> Went to check the output in HAT, nothing. Went to the Event Log and found
> the following error message:
>
> [ Start ]
> The Messaging Engine failed to register the adapter for "SOAP" for the
> receive location "/Scenario1_Proxy/WDO_Receive_Incoming_OTA_IncOta.asmx".
> Please verify that the receive location is valid, and that the isolated
> adapter runs under an account that has access to the BizTalk databases.
> [ End ]
>
> I therefore verified the location of the ASMX file, no probs. I looked to
> see if the databases had the BizTalk_User account that I created for BizTa
lk
> and yep, it's there.
>
> From here, I've no idea what to do.
>
> Any help would be most appreciated!
>
> Thanks
> Bradley q





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register