<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: web service connectivity problem.</title><link>https://www.infopathdev.com:443/forums/thread/8357.aspx</link><pubDate>Sun, 27 Nov 2005 21:22:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8357</guid><dc:creator>AndersR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8357</wfw:commentRss><description>When using managed code your form needs to be set to Full trust, and then you need either a code signing certificate or use regform.exe (sdk tools) to create an installation package to install it on each client.&lt;br /&gt;&lt;br /&gt;hth&lt;br /&gt;AndersR&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>web service connectivity problem.</title><link>https://www.infopathdev.com:443/forums/thread/5135.aspx</link><pubDate>Sun, 27 Nov 2005 15:45:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5135</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5135.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5135</wfw:commentRss><description>Hi,&lt;br /&gt;On the click of a button,I need to enter data to SAP and get a response from it.I used a web service and it works fine.&lt;br /&gt;If I access this web service as in a .net web application&lt;br /&gt;like...&lt;br /&gt;&lt;font color="red"&gt;Service1 obj1= new Service1();&lt;br /&gt;obj1.Credentials=System.Net.CredentialCache.DefaultCredentials;&lt;br /&gt;DataSet dsADSUsers=new DataSet();&lt;/font id="red"&gt;&lt;br /&gt;Note--This is just an example...&lt;br /&gt;I get a security exception like..&lt;br /&gt;&lt;font color="red"&gt;Request for the permission of type System.Net.WebPermission, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.&lt;br /&gt;   at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken)&lt;br /&gt;   at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark&amp; stackMark, Int32 checkFrames, Int32 unrestrictedOverride)&lt;br /&gt;   at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark&amp; stackMark)&lt;br /&gt;   at System.Security.CodeAccessPermission.Demand()&lt;br /&gt;   at System.Net.HttpRequestCreator.Create(Uri Uri)&lt;br /&gt;   at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)&lt;br /&gt;   at System.Net.WebRequest.Create(Uri requestUri)&lt;br /&gt;   at System.Web.Services.Protocols.WebClientProtocol.GetWebRequest(Uri uri)&lt;br /&gt;   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebRequest(Uri uri)&lt;br /&gt;   at System.Web.Services.Protocols.SoapHttpClientProtocol.GetWebRequest(Uri uri)&lt;br /&gt;   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&lt;br /&gt;   at PR_Automation.WebReference_PR.Service1.NextPRSerialNumber() in E:\1PR_Automation\PR_Automation\Web References\WebReference_PR\Reference.cs:line 37&lt;br /&gt;   at PR_Automation.PR_Automation.CTRL3_59_OnClick(DocActionEvent e) in e:\1pr_automation\pr_automation\formcode.cs:line 879&lt;br /&gt;   at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;/font id="red"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now how do I access this webservice in Infopath.&lt;br /&gt;I need to send the entire XML document and get a respnse from SAP.I will be displaying this response in Infopath.&lt;br /&gt;I know how to use the built in Submit to webservice option.But if I use that,I will be able to submit.But I wont get the response.&lt;br /&gt;</description></item></channel></rss>