473,473 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Web Service Software Factory Problem

Hi,
I am using Web Service Software Factiry July 2006 edition. I have
succflly created one small project with Client side imlementation. But While
Calling a service methid on pressing Save button on Client Form I am
receiving exceotuin as below.

System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---Shiva.DataAccess.RepositoryFailureException: Unexpected error
occurred in the database server ---System.Data.SqlClient.SqlException:
Procedure or function 'InsertShapeMst' expects parameter '@iD', which was not
supplied.
at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception,
Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject
stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds,
RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method,
DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult
result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at
Microsoft.Practices.EnterpriseLibrary.Data.Databas e.DoExecuteNonQuery(DbCommand command)
at
Microsoft.Practices.EnterpriseLibrary.Data.Databas e.ExecuteNonQuery(DbCommand
command)
at Shiva.DataAccess.Repository`1.Add(IInsertFactory`1 insertFactory,
TDomainObject domainObj) in C:\Shiva\Source\Data Access
Layer\Shiva.DataAccess\Generic\Repository.cs:line 96
at Shiva.DataAccess.ShapeRepository.Add(Shape shape) in
C:\Shiva\Source\Data Access Layer\Shiva.DataAccess\ShapeRepository.cs:line 34
--- End of inner exception stack trace ---
at Shiva.DataAccess.ShapeRepository.HandleSqlExceptio n(SqlException ex,
IDbToBusinessEntityNameMapper mapper) in C:\Shiva\Source\Data Access
Layer\Shiva.DataAccess\ShapeRepository.cs:line 60
at Shiva.DataAccess.ShapeRepository.Add(Shape shape) in
C:\Shiva\Source\Data Access Layer\Shiva.DataAccess\ShapeRepository.cs:line 38
at Shiva.BusinessLogic.AddShape.RegisterShape(Shape shape) in
C:\Shiva\Source\Business Component\Shiva.BusinessLogic\AddShape.cs:line 14
at Shiva.ServiceImplementation.ShapeService.AddNewSha pe(ShapeInfoRequest
AddNewShapeRequest) in
C:\Shiva\Source\Service\Shiva.ServiceImplementatio n\ShapeService.cs:line 33
--- End of inner exception stack trace ---

I am facing this trouble since long time Please anyone Who can
help me to solve this issue.

Nilkanth Desai

Dec 8 '06 #1
1 1994
Hi,

There is an error in your data layer. You are trying to execute a store
procedure "InsertShapeMst" in SQL Server, but you are not proving the right
parameters to execute it (You need to provide a value for the parameter @iD.
in the store procedure)

Regards,
Pablo Cibraro.
"Nilkanth Desai" <Ni***********@discussions.microsoft.comwrote in message
news:3C**********************************@microsof t.com...
Hi,
I am using Web Service Software Factiry July 2006 edition. I have
succflly created one small project with Client side imlementation. But
While
Calling a service methid on pressing Save button on Client Form I am
receiving exceotuin as below.

System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---Shiva.DataAccess.RepositoryFailureException: Unexpected
error
occurred in the database server ---System.Data.SqlClient.SqlException:
Procedure or function 'InsertShapeMst' expects parameter '@iD', which was
not
supplied.
at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception,
Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject
stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader
ds,
RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method,
DbAsyncResult result)
at
System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult
result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at
Microsoft.Practices.EnterpriseLibrary.Data.Databas e.DoExecuteNonQuery(DbCommand
command)
at
Microsoft.Practices.EnterpriseLibrary.Data.Databas e.ExecuteNonQuery(DbCommand
command)
at Shiva.DataAccess.Repository`1.Add(IInsertFactory`1 insertFactory,
TDomainObject domainObj) in C:\Shiva\Source\Data Access
Layer\Shiva.DataAccess\Generic\Repository.cs:line 96
at Shiva.DataAccess.ShapeRepository.Add(Shape shape) in
C:\Shiva\Source\Data Access Layer\Shiva.DataAccess\ShapeRepository.cs:line
34
--- End of inner exception stack trace ---
at Shiva.DataAccess.ShapeRepository.HandleSqlExceptio n(SqlException ex,
IDbToBusinessEntityNameMapper mapper) in C:\Shiva\Source\Data Access
Layer\Shiva.DataAccess\ShapeRepository.cs:line 60
at Shiva.DataAccess.ShapeRepository.Add(Shape shape) in
C:\Shiva\Source\Data Access Layer\Shiva.DataAccess\ShapeRepository.cs:line
38
at Shiva.BusinessLogic.AddShape.RegisterShape(Shape shape) in
C:\Shiva\Source\Business Component\Shiva.BusinessLogic\AddShape.cs:line 14
at Shiva.ServiceImplementation.ShapeService.AddNewSha pe(ShapeInfoRequest
AddNewShapeRequest) in
C:\Shiva\Source\Service\Shiva.ServiceImplementatio n\ShapeService.cs:line
33
--- End of inner exception stack trace ---

I am facing this trouble since long time Please anyone Who can
help me to solve this issue.

Nilkanth Desai

Dec 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Gary James | last post by:
This may not be a direct C# question, but since I'll be using using C# for development, I thought I'd pose the question here. I'll soon be involved in the design of a new software product that...
10
by: Clint | last post by:
Hey all - I'm having a really confusing problem concerning a web service. Right now, I have an application that needs to call a web service that does nothing but return "true" (this will...
1
by: Nestor | last post by:
Hello all, I'm begining in the web services world and I've reading about how to invoke them using javascript from Mozilla browser (version 2.0 in my case). I found a very interesting example...
2
by: Good | last post by:
Hi All How could I merge these two factories together for development? It seems if I choose one factory under the GAT, the other couldn't be choosen? How could I do it. Thanks. regards...
0
by: leon | last post by:
Hello group, somebody has a good example about web service software factory? I´m begining in this topic. Thanks a lot goup. Leon
5
by: ludwig_stuyck | last post by:
I'm in the process of designing a Service Oriented Architecture. At the moment I based the design on the Web Service Software factory guidelines - so a services layer, business layer and resource...
1
by: Puja Patel | last post by:
hi all, am not sure if this is the right place for this post. I created a website on .net framework 2.0 using visual studio 2005 and web service software factory. I created all my business...
0
by: Puja Patel | last post by:
Hi all, Am sorry if this is not the right place for this post. I create a web application initially using vs2005 on .net 2.0 and used following products to create crud stored procedures,...
0
balabaster
by: balabaster | last post by:
Hi all, I'm creating a class factory and a bunch of adapters to allow in house applications to communicate with mobile applications over different cellular networks. I've got my class...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.