Discussion:
WebServices error in Biztalk
(too old to reply)
Francesco
2005-12-15 09:44:02 UTC
Permalink
Hello,
I have a problem when Biztalk calls a WebServices asmx.
Sometimes Biztalk return me, in Windows event viewer, these messages:


The adapter "SOAP" raised an error message. Details "Exception has been
thrown by the target of an invocation.".

The adapter "SOAP" raised an error message. Details "The operation has
timed-out.".

The adapter failed to transmit message going to send port

"http://127.0.0.1/wssabre/wsSabre.asmx". It will be retransmitted after the
retry interval

specified for this Send Port. Details:"The operation has timed-out.".



Looking my Logs in the WebServices, I see that the response returns in few
seconds, instead

Biztalk can’t return the xml response to my web application (in ASP.NET).

If I look the Windows event viewer I found these 3 messages.
The same search, instead, after 10 minutes works fine!

What is the problem? I think it’s a problem of Biztalk.
Can anyone help me??

Thanks a lot,
Francesco
Vamsi
2005-12-29 15:44:23 UTC
Permalink
Francesco,

1. In the IIS manager, check if you have the virtual directory's enable
Anonymous access checked under directory security tab,

2. See first of all you were able to hit the target webservice, you can
also keep some logging information in your webservice,

3. if the first two statements are true, then you would have to check if
your response from the webservice is hitting the BizTalk, if not check for
the target namespace and check if you have updated the webservice references,

regards
Vamsi
Post by Francesco
Hello,
I have a problem when Biztalk calls a WebServices asmx.

The adapter "SOAP" raised an error message. Details "Exception has been
thrown by the target of an invocation.".
The adapter "SOAP" raised an error message. Details "The operation has
timed-out.".
The adapter failed to transmit message going to send port
"http://127.0.0.1/wssabre/wsSabre.asmx". It will be retransmitted after the
retry interval
specified for this Send Port. Details:"The operation has timed-out.".

Looking my Logs in the WebServices, I see that the response returns in few
seconds, instead
Biztalk can’t return the xml response to my web application (in ASP.NET).
If I look the Windows event viewer I found these 3 messages.
The same search, instead, after 10 minutes works fine!
What is the problem? I think it’s a problem of Biztalk.
Can anyone help me??
Thanks a lot,
Francesco
Francesco
2006-01-02 09:28:02 UTC
Permalink
1) is ok.
3) I have this error some times, not always! So I dion't think it's a
problem of Namespace, because sometimes it works fine!
Post by Vamsi
Francesco,
1. In the IIS manager, check if you have the virtual directory's enable
Anonymous access checked under directory security tab,
2. See first of all you were able to hit the target webservice, you can
also keep some logging information in your webservice,
3. if the first two statements are true, then you would have to check if
your response from the webservice is hitting the BizTalk, if not check for
the target namespace and check if you have updated the webservice references,
regards
Vamsi
Post by Francesco
Hello,
I have a problem when Biztalk calls a WebServices asmx.

The adapter "SOAP" raised an error message. Details "Exception has been
thrown by the target of an invocation.".
The adapter "SOAP" raised an error message. Details "The operation has
timed-out.".
The adapter failed to transmit message going to send port
"http://127.0.0.1/wssabre/wsSabre.asmx". It will be retransmitted after the
retry interval
specified for this Send Port. Details:"The operation has timed-out.".

Looking my Logs in the WebServices, I see that the response returns in few
seconds, instead
Biztalk can’t return the xml response to my web application (in ASP.NET).
If I look the Windows event viewer I found these 3 messages.
The same search, instead, after 10 minutes works fine!
What is the problem? I think it’s a problem of Biztalk.
Can anyone help me??
Thanks a lot,
Francesco
Yossi Dahan
2006-01-06 13:24:12 UTC
Permalink
Post by Francesco
1) is ok.
3) I have this error some times, not always! So I dion't think it's a
problem of Namespace, because sometimes it works fine!
Post by Vamsi
Francesco,
1. In the IIS manager, check if you have the virtual directory's enable
Anonymous access checked under directory security tab,
2. See first of all you were able to hit the target webservice, you can
also keep some logging information in your webservice,
3. if the first two statements are true, then you would have to check if
your response from the webservice is hitting the BizTalk, if not check for
the target namespace and check if you have updated the webservice references,
regards
Vamsi
Post by Francesco
Hello,
I have a problem when Biztalk calls a WebServices asmx.

The adapter "SOAP" raised an error message. Details "Exception has been
thrown by the target of an invocation.".
The adapter "SOAP" raised an error message. Details "The operation has
timed-out.".
The adapter failed to transmit message going to send port
"http://127.0.0.1/wssabre/wsSabre.asmx". It will be retransmitted after the
retry interval
specified for this Send Port. Details:"The operation has timed-out.".

Looking my Logs in the WebServices, I see that the response returns in few
seconds, instead
Biztalk can’t return the xml response to my web application (in ASP.NET).
If I look the Windows event viewer I found these 3 messages.
The same search, instead, after 10 minutes works fine!
What is the problem? I think it’s a problem of Biztalk.
Can anyone help me??
Thanks a lot,
Francesco
From the error it seems the web service request timed out, if this is
correct it means the web service method called did not return a response
quickly enough. this explains why it only happens sometimes as it
depends on how busy the servers involved are and can also depend on
application logic (for instance locks on database, amount of processing
required for various requests, etc.)

You should first check the web service and see if there is any way to
improve it's performance. you can also configure biztalk and/or the
specific port to increase the timeout setting. I believe this is even
possible on a message basis through its context if you wish.

hope this helps

Yossi Dahan

Loading...