No Result Obtained When WebServices Is Called From A Cocoa Client [uses WSMakeStubs]
No Result Obtained When WebServices Is Called From A Cocoa Client [uses WSMakeStubs]
- Subject: No Result Obtained When WebServices Is Called From A Cocoa Client [uses WSMakeStubs]
- From: Sindhu Gururaj <email@hidden>
- Date: Thu, 16 Oct 2003 14:37:54 +0100 (BST)
Hi,
I have a WebService running on a .NET PC. A wsdl file
was generated on the .NET PC which was provided as an
input to WSMakeStubs on Mac.
It generated the required files.
I have a simple Cocoa application that has one
button.I have included the files generrated by the
WSMakeStubs. On Click of the button,
i call the Service Method as
-(IBAction)getCount:(id)sender
{
int nCount = 0;
nCount = (int)[JobCount get_filesCount];
//nCount should be 12,but it is always zero - (0)
}
though there are 12 files,nCount is ALWAYS 0.
on Use of "isFault" , i get a errorString as below.
in _parseFault
#39
OR [When i use ' errorString=[[_invocation
getResultDictionary] objectForKey:(NSString
*)kWSFaultString]; ' ]
in _parseFault
#39
2003-10-16 18:04:50.861 JobCount[9549] ****
System.Runtime.Remoting.RemotingException - Server
encountered an internal error. For more information,
turn on customErrors in the server<<Unknown Escape>>s
.config file.
What could be the reason? can anyone help me out with
this?
any pointer will be greatly appreciated.
NOTE: The Web Service on the .NET PC is always
running.
Is there anything wrong in the way that i am calling
the 'filesCount' method.
Thanks a lot in Advance.
Rgds,
Sindhu
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online.
Go to
http://yahoo.shaadi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.