Rank: Member
Joined: 2/28/2008(UTC) Posts: 36
|
Hi everyone, We seem to be having some issues with slowness in calls to the webservice. To the point where it would be impossible to use in a production environment. I'm new to using the cart and I'm not sure if there's some configuration that I might have missed? Also, while looking at the wsdl file of the webservice, all of definitions point to www.bvsoftware.com (e.g. [color=#ff0000>-</FONT>]<[/color]<SPAN class=t>[color=#990000>wsdl:definitions<SPAN] xmlns:tns[/color]<SPAN class=m>[color=#0000ff>="<B]http://www.bvsoftware.com/Schemas/Bvc5/2006/01/WebServices3[/color]</B><SPAN class=m>[color=#0000ff>"<SPAN] xmlns:s36[/color]<SPAN class=m>[color=#0000ff>="<B]http://www.bvsoftware.com/bvc5/schemas/2005/09/01/Catalog/ProductFile[/color]</B><SPAN class=m>[color=#0000ff>")] <SPAN class=m><FONT color=#0000ff>[/color] <SPAN class=m>[color=#0000ff>Should] <SPAN class=m><FONT color=#0000ff>[/color] <SPAN class=m><FONT color=#0000ff>Thanks for any help in this matter!!
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
The initial load will be very slow. ASP.NET rebuilds the web service serializer the first time the web service is accessed after each restart. WebService3.asmx is very large and results in a 6MB DLL.
After the serializer is built and loaded into memory, it should be fairly fast. Of course, being a web service it still has to serialize an object into XML, send that XML to your client software, and visa versa. Some of the objects are quite large, so there can be a noticable pause. |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Yep, Andy's correct about the serializer building a giant DLL. It's really slow to startup but then runs quickly. However, web service calls by nature are going to be fairly slow because they are calls out over the network and involve serializing/deserializing on each end.
We're going to move to WCF for the next version of BV Commerce which should help. Also, you can look at the WebServices4 code that is much lighter weight and allows you to add your own modules easily. The tradeoff is that it requires more code on your part to format/serialize your data.
|
|
|
|
Rank: Member
Joined: 2/28/2008(UTC) Posts: 36
|
OK thanks guys. I appreciate the quick response.
I'll also look into how to use the webservice4. That's not a route we had considered and might pay off for us.
Thanks again!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.