网络服务到哪里...... [英] Web Service To No Where...

查看:57
本文介绍了网络服务到哪里......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我编写了一个循环记录文件的程序。


它解析文件中的每一行并将它们发送给一个使用Asynch调用将它们插入AS400DB2数据库的Web服务。


这是一个奇怪的部分。说他们在文件中有500条记录。


如果我运行一次,可能会出现250条。


如果我运行它第二次,可能是400或者所有记录都会出现。


通常我第三次运行它,所有500个出现。


来自消耗程序,读取记录,从来没有任何

错误消息抛出。总是有500个网络服务电话。


我可以从我的网络服务器日志中看到该服务没有被调用

当记录不是写的,所以我不认为它在数据库方面。


所以我的问题是:如果他们没有错误,那么所有这些网页

服务电话去?我的ASP.NET webservices只是有缺陷和

不一致,它不能依赖于这种类型的操作吗?


一个更强大的Web服务器,如Apache 2.0帮助?



I wrote a program that loops through a file of records.

It parses each line in the file and sends them to a web service that
inserts them into an AS400DB2 database using Asynch calls.

This is the wierd part. Say their are 500 records in the file.

If I run the process once, maybe 250 will appear.

If I run it a second time, maybe 400 or all the records will appear.

Usually the third time I run it, all 500 appear.

From the consuming program, that reads the records, there is never any
error message thrown. There are always 500 calls to the web service.

I can see from my web server logs that the service is just not called
when the records are not written, so I don''t think its on the database side.

So my question is: If they don''t error out, where do all these web
services calls go?? I ASP.NET webservices just that flawed and
inconsistent that it cannot be depended on for this type of operation?

Would a more robust web server such as Apache 2.0 help?

推荐答案

可能是生成错误消息但未收到错误消息。这是单向Web服务的

情况,其中Web服务定义为不返回任何值的
。在这种情况下,代理发送SOAP消息并立即关闭

连接,而无需等待返回SOAP Faults。尝试

强制您的Web服务返回一些值(或更改代理生成的

文件),然后重试。你可能会收到很多错误。


Waleed

" ja ***** @ texeme.com"写道:
It could be that error messages are generated, but not received. This is the
case with one-way Web services where the Web service is defined to NOT return
any value. In that case, the proxy sends the SOAP message and closes the
connection right away without waiting to see if SOAP Faults are returned. Try
to force your Web service to return some value (or change the proxy generated
file) and try again. You might start receiving a lot of errors.

Waleed
"ja*****@texeme.com" wrote:


我写了一个循环记录文件的程序。

它解析文件中的每一行,将它们发送到一个Web服务,使用Asynch调用将它们插入到AS400DB2数据库中。

这是一个奇怪的部分。说他们在文件中有500条记录。

如果我运行一次,可能会出现250条。

如果我再次运行它,可能是400或者全部记录会出现。

通常我第三次运行它,全部500个出现。

从消耗程序中读取记录,从来没有任何
抛出错误消息。总是有500个Web服务调用。

我可以从我的Web服务器日志中看到,当没有写入记录时,该服务就没有被调用
所以我不会想想它在数据库方面。

所以我的问题是:如果他们没有错,那么所有这些网络服务电话会去哪里?我的ASP.NET webservices只是有缺陷而且不一致,它不能依赖于这种类型的操作吗?

一个更强大的Web服务器如Apache 2.0会有帮助吗?



I wrote a program that loops through a file of records.

It parses each line in the file and sends them to a web service that
inserts them into an AS400DB2 database using Asynch calls.

This is the wierd part. Say their are 500 records in the file.

If I run the process once, maybe 250 will appear.

If I run it a second time, maybe 400 or all the records will appear.

Usually the third time I run it, all 500 appear.

From the consuming program, that reads the records, there is never any
error message thrown. There are always 500 calls to the web service.

I can see from my web server logs that the service is just not called
when the records are not written, so I don''t think its on the database side.

So my question is: If they don''t error out, where do all these web
services calls go?? I ASP.NET webservices just that flawed and
inconsistent that it cannot be depended on for this type of operation?

Would a more robust web server such as Apache 2.0 help?



可能是生成错误消息但未收到。这是单向Web服务的

情况,其中Web服务定义为不返回任何值的
。在这种情况下,代理发送SOAP消息并立即关闭

连接,而无需等待返回SOAP Faults。尝试

强制您的Web服务返回一些值(或更改代理生成的

文件),然后重试。你可能会收到很多错误。


Waleed

" ja ***** @ texeme.com"写道:
It could be that error messages are generated, but not received. This is the
case with one-way Web services where the Web service is defined to NOT return
any value. In that case, the proxy sends the SOAP message and closes the
connection right away without waiting to see if SOAP Faults are returned. Try
to force your Web service to return some value (or change the proxy generated
file) and try again. You might start receiving a lot of errors.

Waleed
"ja*****@texeme.com" wrote:


我写了一个循环记录文件的程序。

它解析文件中的每一行,将它们发送到一个Web服务,使用Asynch调用将它们插入到AS400DB2数据库中。

这是一个奇怪的部分。说他们在文件中有500条记录。

如果我运行一次,可能会出现250条。

如果我再次运行它,可能是400或者全部记录会出现。

通常我第三次运行它,全部500个出现。

从消耗程序中读取记录,从来没有任何
抛出错误消息。总是有500个Web服务调用。

我可以从我的Web服务器日志中看到,当没有写入记录时,该服务就没有被调用
所以我不会想想它在数据库方面。

所以我的问题是:如果他们没有错,那么所有这些网络服务电话会去哪里?我的ASP.NET webservices只是有缺陷而且不一致,它不能依赖于这种类型的操作吗?

一个更强大的Web服务器如Apache 2.0会有帮助吗?



I wrote a program that loops through a file of records.

It parses each line in the file and sends them to a web service that
inserts them into an AS400DB2 database using Asynch calls.

This is the wierd part. Say their are 500 records in the file.

If I run the process once, maybe 250 will appear.

If I run it a second time, maybe 400 or all the records will appear.

Usually the third time I run it, all 500 appear.

From the consuming program, that reads the records, there is never any
error message thrown. There are always 500 calls to the web service.

I can see from my web server logs that the service is just not called
when the records are not written, so I don''t think its on the database side.

So my question is: If they don''t error out, where do all these web
services calls go?? I ASP.NET webservices just that flawed and
inconsistent that it cannot be depended on for this type of operation?

Would a more robust web server such as Apache 2.0 help?





除了网络服务服务器日志之外,我会购买解释(iis

)不要显示那些丢失的电话。


那么,这些电话在哪里?


Waleed Abdulla xrules org> < waleed_abdulla写道:

I would buy that explaination, except the web service server logs ( iis
) don''t show those missing calls.

So, where are those calls?

Waleed Abdulla xrules org> <waleed_abdulla wrote:
可能是生成了错误消息,但未收到。这是单向Web服务的情况,其中Web服务被定义为不返回任何值。在这种情况下,代理会立即发送SOAP消息并关闭
连接,而无需等待返回SOAP Faults。尝试
强制您的Web服务返回一些值(或更改代理生成的
文件),然后重试。您可能会收到很多错误。

Waleed

" ja ***** @ texeme.com"写道:

It could be that error messages are generated, but not received. This is the
case with one-way Web services where the Web service is defined to NOT return
any value. In that case, the proxy sends the SOAP message and closes the
connection right away without waiting to see if SOAP Faults are returned. Try
to force your Web service to return some value (or change the proxy generated
file) and try again. You might start receiving a lot of errors.

Waleed
"ja*****@texeme.com" wrote:


我写了一个循环记录文件的程序。

它解析文件中的每一行,将它们发送到一个Web服务,使用Asynch调用将它们插入到AS400DB2数据库中。

这是一个奇怪的部分。说他们在文件中有500条记录。

如果我运行一次,可能会出现250条。

如果我再次运行它,可能是400或者全部记录会出现。

通常我第三次运行它,全部500个出现。

从消耗程序中读取记录,从来没有任何
抛出错误消息。总是有500个Web服务调用。

我可以从我的Web服务器日志中看到,当没有写入记录时,该服务就没有被调用
所以我不会想想它在数据库方面。

所以我的问题是:如果他们没有错,那么所有这些网络服务电话会去哪里?我的ASP.NET webservices只是有缺陷而且不一致,它不能依赖于这种类型的操作吗?

一个更强大的Web服务器如Apache 2.0会有帮助吗?


I wrote a program that loops through a file of records.

It parses each line in the file and sends them to a web service that
inserts them into an AS400DB2 database using Asynch calls.

This is the wierd part. Say their are 500 records in the file.

If I run the process once, maybe 250 will appear.

If I run it a second time, maybe 400 or all the records will appear.

Usually the third time I run it, all 500 appear.

From the consuming program, that reads the records, there is never any
error message thrown. There are always 500 calls to the web service.

I can see from my web server logs that the service is just not called
when the records are not written, so I don''t think its on the database side.

So my question is: If they don''t error out, where do all these web
services calls go?? I ASP.NET webservices just that flawed and
inconsistent that it cannot be depended on for this type of operation?

Would a more robust web server such as Apache 2.0 help?



这篇关于网络服务到哪里......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆