Web service Method not supported
Hy, i have this serious problem.
I have any web service method that in , Visual Composer 7.1, have the suffix "Not supported".
I don't understand this situation because i can test it on web service navigator with success.
This is the SOAP request/response from Web service navigator test:
SOAP request:
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<pns:getMaterialDetail xmlns:pns="urn:WsMaterialGetDetailVi">
<pns:matnr/>
<pns:werks/>
</pns:getMaterialDetail>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
SOAP response:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<rpl:getMaterialDetailResponse xmlns:rpl="urn:WsMaterialGetDetailVi">
<rpl:Response xmlns:pns="urn:it.futura.lib.ws">
<pns:returnCode>3</pns:returnCode>
<pns:returnCodeDescription>Codice Materiale non fornito</pns:returnCodeDescription>
<pns:returnCodes xmlns:tns="java:sap/standard" xsi:type="tns:Vector">
<tns:Vector xsi:type="xs:string">0</tns:Vector>
<tns:Vector xsi:type="xs:string">0</tns:Vector>
<tns:Vector xsi:type="xs:string">3</tns:Vector>
</pns:returnCodes>
<pns:returnCodesDescription xmlns:tns="java:sap/standard" xsi:type="tns:Vector">
<tns:Vector xsi:type="xs:string">Environment name found: NVP</tns:Vector>
<tns:Vector xsi:type="xs:string">Dettagli ambiente trovato: NVP</tns:Vector>
<tns:Vector xsi:type="xs:string">Codice Materiale non fornito</tns:Vector>
</pns:returnCodesDescription>
</rpl:Response>
</rpl:getMaterialDetailResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sincerely yours
Thank's
Andrea Maraviglia
Thank's Shay. I'm thinking that the problem is about NWDS for this reason: at the moment i am testing a standard web service present on WAS( http://serverWAS:53000/IciUserService/IciUserConf?wsdl)that with a method ( getAttributes) that return an array of classes on VC and this test is ok.
So i'm creating an similar web service that return array of classes with my NWDS (vers. 7.0.7..) and wizard but on VC it's don't supported.
The SOAP Response of standard web service and my web service, have different structure. I'm thinking that the problem is NWDS because the SOAP response is function of the WSDL generated by Wizard on NWDS.
Thank's in advance.
Andrea Maraviglia
Edited by: Andrea Maraviglia on Nov 28, 2008 5:46 PM
Similar Messages
-
How to test swaref web service method
My simple web service method:
@WebMethod
@XmlAttachmentRef
public DataHandler getFile() {
FileDataSource file = new FileDataSource("c:\\1.gif");
DataHandler handler = new DataHandler(file);
return handler;
the generated wsdl codes:
*<xs:complexType name="getFileResponse">*
*<xs:sequence>*
*<xs:element minOccurs="0" name="file" type="swaRef:swaRef" />*
*</xs:sequence>*
*</xs:complexType>*
I always use Eclipse web service explorer to test web service, but it doesn't support swaref web service method.
Then I use axis WSDL2JAVA to generate web service client, but the generated "getFile" return type is not "DataHandler", but "org.apache.axis.types.URI".
How to test swaref web service method?
Thanks
Edited by: tomsonxu on Jan 8, 2008 7:40 AM
Edited by: tomsonxu on Jan 8, 2008 7:41 AMHello..
How did u develop the webservice?
I mean did u develop the Webservice using Enter prise Java Bean....
Wrap EJB in ear and deploy to the Server and now u can test the EJB method
whether it is working fine or not
Try these -
http://help.sap.com/saphelp_nw04s/helpdata/de/f7/af60f2e04d0848888675a800623a81/frameset.htm
Inorder to use the webservice in the Webdynpro, normally we will use the WSDL of webservice
and Import the model using any one of them
After importing as model we can use the EJB methods!
Try it !!
Thanks
Shravan -
Overloading Web Service Methods?
I am using WebLogic Workshop on the BEA WebLogic 8.1 platform. I would like to know if it is possible to overload web service methods from .jws files or any other means of implementing a web service. I tried a test file and it gave me specific errors related to overloading, but I have been unable to find any good documentation on the subject to be sure. Any information on the subject of overloading web service methods would be appreciated. Thanks.
Hello ,
It is very clear from following solution published by BEA that funtionality you are looking for is not supported. Do check this link to make sure if it refers to the same your scenario ...
http://iaskbea-2.bea.com/askbea/wls/S-24193.html
Regards,
Kuldeep Singh. -
POST method not supported by this URL
Hello gentlemen,
We are trying to migrate our servlets from another Web Application
Server (IBM WebSphere 2.02) to Weblogic 4.5.1.
A servlet that did work fine with WebSphere, now produces the "POST
method not supported by this URL" error under Weblogic.
Of course, we implement doPost method in our servlet.
Any idea to fix this problem? thank you.
emanuele
Emanuele--
In the ICSessionServlet file you are posting the data to ICIdentification servlet which is
again a servlet
So you need to register this servlet in weblogic.properties file before you post something to
this servlet.
Also the way you are calling the servlet is totally wrong from weblogic standpoint
You don't need to specify the package name in weblogic(this is OK in java web server) for e.g.
icdoor.myservlet.session.ICIdentificationServlet.
Because we are registering the servlet with full package name in properties file so we don't
need to mention the package
name here..
Call the servlet in the following way or whichever way is suitable for you.
Here is how i'm calling ICIdentificationServlet
http://localhost:7001/ICIdentificationServlet
Here is the output i'm getting after entering user name/password
"Welcome Startfighter"
Requested URL
http://localhost:7001/Stupida
Hope this helps
Kumar
emanuele wrote:
> Here's the source code for a servlet producing "HTTP method POST is not
> supported by this URL".
>
> I have registered servlet Stupida in the file weblogic.properties. This
> servlet subclass the ICSessionServlet.
> The service() method of ICSessionServlet ask for a userid and a password
> (user and password are not verified, anyway) and then calls the doPost()
> method of ICIdentification servlet. This one displays a sort of "Welcome
> page" and then the calling URL. (if it works fine...).
>
> On WebSphere, it works. On Weblogic, it doesn't.
>
> Any idea?
>
> emanuele
>
> "Kumaraswamy A." wrote:
>
> > can you post the stacktrace , also if possible send your java file
> > too!..
>
>
-
After sucessfulling installing the SharePoint Foundation 2013, when i try to access the Secure Stored Service Application i get the below error
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 Secure Store Service
Secure Store g0n6 High The trial period for this product has expired or this feature is not supported in this SKU. b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General 8nca Medium Application error when access /_admin/sssvc/ManageSSSvcApplication.aspx, Error=The
trial period for this product has expired or Secure Store Shared Service is not supported for this SKU. at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1
operation) at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated() at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
proxy, String& errorMessage) at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView() at Microsoft.Office.SharePoi... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General 8nca Medium ...nt.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs
e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
Runtime tkau Unexpected Microsoft.Office.Server.ProductExpiredException: The trial period for this product
has expired or Secure Store Shared Service is not supported for this SKU. at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)
at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated() at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
proxy, String& errorMessage) at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView() at Microsoft.Office.SharePoint.ClientExtensions.SecureSto... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
Runtime tkau Unexpected ...reAdministration.ManageSSSvcApplication.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException
(0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.ProductExpiredException: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation) at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()
at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy proxy, String& errorMessage) at Microsoft.Office.Sha... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General ajlz0 High ...rePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()
at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.Htt... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General ajlz0 High ...pApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.86 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General aat87 Monitorable b3b6e19b-7de2-e016-ad32-0fc975829ef0
Is it a bug or any issue in configuration?
Raghavendra Shanbhag | Blog: http://moss-solutions.blogspot.com
Please click "Propose As Answer " if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
Disclaimer: This posting is provided "AS IS" with no warranties.Hello
something should be related wuith this service, take a llok at my visual studio output whne I try to deplay and autohosted sharepoint app: (anyone can help)
1>------ Build started: Project: MySharePointAppWeb, Configuration: Debug Any CPU ------
1> MySharePointAppWeb -> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\bin\MySharePointAppWeb.dll
2>------ Build started: Project: MySharePointApp, Configuration: Debug Any CPU ------
2>C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config(34,4): warning : No element in the source document matches '/configuration/connectionStrings'
2> Transformed Web.config using C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
2> Auto ConnectionString Transformed obj\Debug\TransformWebConfig\transformed\Web.config into obj\Debug\CSAutoParameterize\transformed\Web.config.
2> Copying all files to temporary location below for package/publish:
2> obj\Debug\Package\PackageTmp.
2> Packaging into C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.zip.
2> Adding sitemanifest (sitemanifest).
2> Adding IIS Application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Creating application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding virtual path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en\Microsoft.IdentityModel.resources.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.Extensions.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.Runtime.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.pdb).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\packages.config).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages\Default.aspx).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.js).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.min.js).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\_references.js).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Web.config).
2> Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding declared parameter 'IIS Web Application Name'.
2> Package "MySharePointApp.Web.zip" is successfully created as single file at the following location:
2> file:///C:/_works/visual%20studio%202012/Projects/MySharePointApp/MySharePointApp/obj/WebDeploy
2> To get the instructions on how to deploy the web package please visit the following link:
2> http://go.microsoft.com/fwlink/?LinkId=124618
2> Sample script for deploying this package is generated at the following location:
2> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.deploy.cmd
2> For this sample script, you can change the deploy parameters by changing the following file:
2> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.SetParameters.xml
2> Successfully created package at: C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\bin\Debug\app.publish\1.0.0.0\MySharePointApp.app
3>------ Deploy started: Project: MySharePointApp, Configuration: Debug Any CPU ------
3>Active Deployment Configuration: Deploy App for SharePoint
3>Uninstall app for SharePoint:
3> Skipping the uninstall step because the app for SharePoint is not installed on the server.
3>Install app for SharePoint:
3> Uploading the app for SharePoint...
3> Creating a trusted root authority in SharePoint for IIS Express.
3> Installation is in progress (00:00:00)
3> Installation is in progress (00:00:01)
3> Installation is in progress (00:00:02)
3> Installation is in progress (00:00:03)
3> Installation is in progress (00:00:05)
3> Installation is in progress (00:00:06)
3> App failed to install, cleaning up...
3> App installation cleanup failed due to errors. Please see the app on the SharePoint site’s “Site Contents” page for details.
3> App installation encountered the following errors:
3>
3> @"Error 1
3> CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
3> ErrorDetail: The remote hosting service is not configured.
3> ErrorType: Configuration
3> ErrorTypeName: Configuration
3> ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
3> Source: RemoteWebSite
3> SourceName: Remote Web Site Deployment
3>
3> @"Error 2
3> CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
3> ErrorDetail: The remote hosting service is not configured.
3> ErrorType: Configuration
3> ErrorTypeName: Configuration
3> ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
3> Source: RemoteWebSite
3> SourceName: Remote Web Site Deployment
3>Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ========== -
WSUS not working completely, no MMC connect, all web services are not working
Hello all,
I have a problem not sure what causing it or what is the source of it as I am not into WSUS that much...
THe status is as follows:
I have 1 server 2008 sp2 RTM x64, I had WSUS 3.0 SP2 on it since a while, it was working fine until a week ago, when I started receiving the below messages in the event viewer
I have spent too much time trying to trace or troubleshoot this issue, but all I got was to check the registry and check permissions on the temp folder and other folders, I have done complete removal with the database for the old WSUS and reinstalled it
again but I got the same problem
Nothing strange and no problems happened on the server perior to this issue, it just happened...
Any help will be appreciated
Regards
============== MSG 1 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:52:54 PM
Event ID: 7053
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
System.InvalidOperationException -- Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
<html>
<head>
<title>Security Exception</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Security Exception</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact
your system administrator or change the application's trust level in the configuration file.
<br><br>
<b> Exception Details: </b>System.Security.SecurityException: That assembly does not allow partially trusted callers.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[SecurityException: That assembly does not allow partially trusted callers.]
ASP.global_asax..ctor() +0
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
</font>
</body>
</html>
<!--
[SecurityException]: That assembly does not allow partially trusted callers.
at ASP.global_asax..ctor()
[TargetInvocationException]: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
[HttpException]: Exception has been thrown by the target of an invocation.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
Source
Microsoft.UpdateServices.Administration
Stack Trace:
at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">7053</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:52:54.000Z" />
<EventRecordID>884368</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
System.InvalidOperationException -- Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
<html>
<head>
<title>Security Exception</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Security Exception</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust level in the configuration file.
<br><br>
<b> Exception Details: </b>System.Security.SecurityException: That assembly does not allow partially trusted callers.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[SecurityException: That assembly does not allow partially trusted callers.]
ASP.global_asax..ctor() +0
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
</font>
</body>
</html>
<!--
[SecurityException]: That assembly does not allow partially trusted callers.
at ASP.global_asax..ctor()
[TargetInvocationException]: Exception has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
[HttpException]: Exception has been thrown by the target of an invocation.
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
-->
Source
Microsoft.UpdateServices.Administration
Stack Trace:
at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
at Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()</Data>
</EventData>
</Event>
============== MSG 2 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 13051
Task Category: 6
Level: Warning
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
No client computers have ever contacted the server.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">13051</EventID>
<Level>3</Level>
<Task>6</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884373</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>No client computers have ever contacted the server.</Data>
</EventData>
</Event>
============== MSG 3 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12002
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Reporting Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12002</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884374</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Reporting Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 4 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12012
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The API Remoting Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12012</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884375</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The API Remoting Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 5 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12032
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Server Synchronization Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12032</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884376</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Server Synchronization Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 6 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12022
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The Client Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12022</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884377</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The Client Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 7 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12042
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The SimpleAuth Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12042</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884378</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The SimpleAuth Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 8 ==============
Log Name: Application
Source: Windows Server Update Services
Date: 9/21/2011 1:53:01 PM
Event ID: 12052
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
The DSS Authentication Web Service is not working.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">12052</EventID>
<Level>2</Level>
<Task>9</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:01.000Z" />
<EventRecordID>884379</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOAMIN.local</Computer>
<Security />
</System>
<EventData>
<Data>The DSS Authentication Web Service is not working.</Data>
</EventData>
</Event>
============== MSG 9 ==============
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 9/21/2011 1:53:09 PM
Event ID: 1314
Task Category: Web Event
Level: Information
Keywords: Classic
User: N/A
Computer: APP-SVR.DOMAIN.local
Description:
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 9/21/2011 1:53:09 PM
Event time (UTC): 9/21/2011 10:53:09 AM
Event ID: 11b96ca285fa46d2a05d38e2e9b168af
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/715372307/ROOT/ApiRemoting30-7-129610759889193820
Trust level: High
Application Virtual Path: /ApiRemoting30
Application Path: C:\Program Files\Update Services\WebServices\ApiRemoting30\
Machine name: APP-SVR
Process information:
Process ID: 8332
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Request information:
Request URL:
http://app-svr:8530/ApiRemoting30/WebService.asmx
Request path: /ApiRemoting30/WebService.asmx
User host address: 192.168.5.22
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="16384">1314</EventID>
<Level>4</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-21T10:53:09.000Z" />
<EventRecordID>884380</EventRecordID>
<Channel>Application</Channel>
<Computer>APP-SVR.DOMAIN.local</Computer>
<Security />
</System>
<EventData>
<Data>4010</Data>
<Data>An unhandled security exception has occurred.</Data>
<Data>9/21/2011 1:53:09 PM</Data>
<Data>9/21/2011 10:53:09 AM</Data>
<Data>11b96ca285fa46d2a05d38e2e9b168af</Data>
<Data>1</Data>
<Data>1</Data>
<Data>0</Data>
<Data>/LM/W3SVC/715372307/ROOT/ApiRemoting30-7-129610759889193820</Data>
<Data>High</Data>
<Data>/ApiRemoting30</Data>
<Data>C:\Program Files\Update Services\WebServices\ApiRemoting30\</Data>
<Data>APP-SVR</Data>
<Data>
</Data>
<Data>8332</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>http://app-svr:8530/ApiRemoting30/WebService.asmx</Data>
<Data>/ApiRemoting30/WebService.asmx</Data>
<Data>192.168.5.22</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
</EventData>
</Event>
Saleh RamadanSo, in reality, this issue has nothing at all to do with "it was working; now it is not", because you've destroyed all of the evidence that would exist in a "was working; now is not" scenario. What we really have here is a NEW installation that has failed.
So, from the perspective of a NEW installation that is not working...
Are there any other roles, features, services, or applications installed on this server?
Did you install the Web Server Role exactly as described in the documentation?
Did you install the WSUS Role exactly as described in the documentation?
Were there any other roles, features, services, or applications installed onto this server
after your original (working) installation of WSUS?
Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
Principal/CTO, Onsite Technology Solutions, Houston, Texas
Microsoft MVP - Software Distribution (2005-2011)
My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
My Blog: http://onsitechsolutions.spaces.live.com
Oh, well, I have red and followed the documentation exactly step-by-step on the technet library, and I can guarantee you nothing went wrong because this is not my first installation for it
When I told you about the old damaged installation and the new installation which is also failed and showed me the same symptoms as the old one, I was sure that nothing wrong with the WSUS itself, but rather it is something wrong with the environment
Answering to your above questions, the answer for all is that: that server is only used for WSUS, nothing more
Anyway, I have managed to restore the service thanks to your previous reply where you point to the CONFIG folder inside the NET framework folder, I checked the files in there, some were changed to the date I think has stopped the service, so I repaired the
NET framework 2, and restarted
It is working fine now and syncing with the update server
Saleh Ramadan -
12002 The Reporting Web Service is not working.
Hi :)
I have WSUS on Windows Server 2012 std. with Internal Database. Today I've installed 7 updates from patch tuesday and after restart I've got
error 12002 The Reporting Web Service is not working
I can see now that updatet clients can not report their status anymore :(
What's up ? Any suggestion ?
Best regards
NenadHi,
I would start by verifying that the /ReportingWebService resource is properly configured in IIS.
Correct configurations can be found in the WSUS Technical Reference Guide: IIS
Settings for WSUS 3.0 SP2 Web Services.
Also,Under ReportingWebService
Made sure all were set to disabled except for Anonymous Authentication
Anonymous Authentication Enabled
ASP .NET Impersonation Disabled
Basic Authentication Disabled
Forms Authentication Disabled
Windows Authentication Disabled
Regards,
Clarence
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
How to add a new filter in an existing web service method (BIWS - WEBI document)
Hello Experts, we have 7 web service query's connected to a dashboard. Basically it is one WSDL URL and 7 Get Methods...Web service queries are BIWS (via WEBI document instance). There are filters setup for each of these web service methods.
Recently there was a request to add 2 new fields to the webi document and also the 2 fields need to be included as filters in the 7 methods. I know there is an option to edit the method, but when i edit the method, i cannot find the 2 new fields in list to set as filters.Can anybody help me understand how to add filters to an existiing web service method? I do not want to delete the method and republish the block as web service.
Any help will be great and points rewarded.
Thank you
AnnHi Ann,
The reason you are not able to see any of the new columns as a option to select in your web service block is because when you have published that block, they were not present. Add these two new objects in your block and publish it again. You will be prompted for duplication content. Select the highlighted block for duplicate and now you can see the new added objects in the filter option. Update and this will overwrite your published block. Please note, web services do appear to behave weirdly when used with dashboards so I request you to please try it in a separate test report first.
Hope that helps.
Regards,
Tanisha -
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection
How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
Unable to retrieve the data in multiple rows within webservice method.Hi Paul,
I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
this is my code
TextField1.rawValue=xmlData.document.rawValue;
xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
for(var i=0; i<count; i++)
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
Table1.Row1.instanceManager.addInstance(true);
Thanks
Hussam -
Web Service Method that returns an ArrayList
Hi guys,
I have to create a web service method that returns an ArrayList, but it's not working. My problem is:
With the "@XmlSeeAlso" annotation, my client prints the result, but the ArryaList is not from java.util, it's from org.me.calculator so I can't use it.
If I remove this annotation, I get no result, with this error message on Tomcat 6:
[javax.xml.bind.JAXBException: class java.util.ArrayList nor any of its super class is known to this context.]
I'm a newbie, and trying to understand web services (I read some posts here, but didn't get the point, from its answers), but this problem I just can't figure out how to solve....
WEb Service
package org.me.calculator;
import java.io.Serializable;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.*;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlSeeAlso;
* @author eduardo.domanski
@WebService()
@XmlSeeAlso({java.util.ArrayList.class}) // With this, I can see the result on client, but, the ArrayList is an org.me.calculator.ArrayList class.... Strange...
public class CalculatorWS {
@WebMethod(operationName = "valores")
public ArrayList valores(@WebParam(name = "a") int a,
@WebParam(name = "b") int b) {
ArrayList teste = new ArrayList();
ArrayList a1 = new ArrayList();
a1.add(a);
a1.add(b);
ArrayList a2 = new ArrayList();
a2.add(a+b);
a2.add(a-b);
teste.add(a1);
teste.add(a2);
return teste;
}CLient
package org.me.calculator.client;
import java.io.*;
import java.net.*;
import java.util.ArrayList;
import javax.servlet.*;
import javax.servlet.http.*;
public class ClientServlet extends HttpServlet {
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet ClientServlet</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Servlet ClientServlet at " + request.getContextPath() + "</h1>");
try { // Call Web Service Operation
org.me.calculator.CalculatorWSService service = new org.me.calculator.CalculatorWSService();
org.me.calculator.CalculatorWS port = service.getCalculatorWSPort();
// TODO initialize WS operation arguments here
int i = 8;
int j = -6;
// TODO process result here
ArrayList result = (ArrayList) port.valores(i, j);
out.println("Result = " + result);
} catch (Exception ex) {
System.out.println(ex);
// TODO handle custom exceptions here
out.println("</body>");
out.println("</html>");
out.close();
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
}THank you all,
Eduardo
Edited by: EduardoDomanski on Apr 23, 2008 4:40 AMI forgot to say that, when I try to return an ArrayList of an object, for example, ClassA, which is on the package org.me.classes, on my Server App, the ArrayList is returned, but the objects are from type org.me.calculator.ClassA. It should be from org.me.classes.ClassA, right?
This package also exists on my client App, to use the object, but as the returned type is from another package, I can't even cast it. I tried some annotations @Xml... but it failed.
Packages
ServerApp
org.me.calculator
CalcWS.java
org.me.classes
ClassA.java
Client App
org.me.classes
ClassA.java
The return from my method should be an ArrayList of org.me.classes.ClassA, but when I print it, on client, it's from org.me.calculator.ClassA.
Does anybody knows, or had the same problem?
Thanks,
Eduardo -
Capturing the response received from the WCF web service method?
Hi,
I am trying to call a WCF web service method with input parameters in an xml file and then receive the returned output data by the web service as response into an xml file.
So far I am able to call the webservice method successfully and not sure how to capture the response data. I am able to see the response data in the tracked message event using the query expression search at the BizTalk group root.
I may be missing something simple in my orchestration(image at http://social.msdn.microsoft.com/Forums/getfile/535971) ?
Steps in my orchestration are,
1) Receive the xml file with input parameters
2) Send to webservice using WCF-BasicHttp transport type
3) Receive response from web service
4) Send to xml file
Not sure how I can have 2 receive shapes in series there. I have seen few related posts in the forum but could not resolve.
Could someone please correct me?Hi Rachit,
Thanks for your quick response. My orchestration is similar to the one in that post. In your post at step 7, how you are able to set 'Activate property' of the receive shape to true? as its the 2nd receive shape in series.
I am unable to post any images or links at the moment. My orchestration is posted at this link http://social.msdn.microsoft.com/Forums/getfile/535971
I am able to access the above link using chrome.
Yes, I did use the Request/Response port to communicate with the web service. I
am looking to achieve similar to the one in your post.
Thanks. -
ORACLE ADF 11g /JSF TO serviet (Service method) not invoking
Hi,
ORACLE ADF 11g /JSF TO serviet (Service method) not invoking
My project name is : ComplProject
inside the project im having 1 jsp say x.jsp
work environment : (oracleADF 11g) jdev11 and weblogic server 10.3
in x.jsp im displaying 1 go link -> when ever we click on GO link it should go to ComplServlet.java
i tried like,
FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
the "ComplServlet" is an URL pattern in web.xml which points to servlet.
but not working
i pointed to faces-config.xml also , not working
i tried to forward like
FacesContext context = FacesContext.getCurrentInstance();
ServletContext sContext = (ServletContext)context.getExternalContext().getContext();
ServletRequest request = (ServletRequest)context.getExternalContext().getRequest();
System.out.println("third line...............");
HttpServletResponse response = (HttpServletResponse)context.getExternalContext().getResponse();
response.sendRedirect("/servlet/ViewDocument");
sContext.getRequestDispatcher("/servlet/ViewDocument").include(request, response);
brief
(from jsf page) after clicking on GO LINK i need to redirect or control should go to servlet ->service method
thanks in advance
regards,
sandeepHi,
i tried like,
FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
the "ComplServlet" is an URL pattern in web.xml which points to servlet.
but not workingUse like following.
public HttpServletRequest getServletRequest() {
return (HttpServletRequest)facesContext.getExternalContext().getRequest();
public redirect(String url){
getServletRequest().sendRedirect(getServletRequest().getContextPath() + "/servlet/ComplServlet");
}If you are using golink as frank suggested then use it like this.
<af:goLink text="ComplServlet" destination="/servlet/ComplServlet"/>no need of using context when using goLink,
Regards,
Santosh. -
(261680070) Q SYNCH-11 How do my web service methods accees EJBs and java classes?
A<SYNCH-11> How do my web service methods accees EJBs and java classes?
A<SYNCH-11> It is simple to use java classes, just do it as you would ordinarily.
The .jws file really contains a simple class so you can program with it in the same
way that you would use a regular Java class.
To use an EJB you can go and access it directly as you would with any EJB remote
client (lookup home stub, create, etc) or if the EJB is deployed to WLS you can use
a control to provide a very simple wrapper to the EJB. We will see this in detail
on Thursday in the ADVC module.Futher information about the possibility of callback:
It may be possible for a synchronous only web service (i.e. MS .net) to even paticipant
in the callback functionality of asynchronous web services. If the client implements
the appropriate methods for the callback but listens for them on a different port
or binding than the SOAP request, then web service may be able to build a response
if the client's "callback URL" is submitted as the beginning part of a conversation.
Watch the BEA developer forum (http://dev2dev.bea.com) for more information about
this approach and other tips and techniques for building web services.
"Adam FitzGerald" <[email protected]> wrote:
>
Q<SYNCH-03> I heard that MS .net only implements synchrnonus method? If
this is true.
Does it means my async methods will only work with J2EE clients?
A<SYNCH-03> I do not know the limitations of .net but let me point out that
is very
difficult to provide asynchronous web service method invocation (this is
different
from an asynchronous web service). HTTP as a general communication protocol
is based
on a request and response paradigm so your client libraries will mostly
likely be
expecting a response even if it is empty (check the asynchronous example
from today
to see that the start method still returns an empty response). You must
distinguish
this from the notion of an asynchronous web service which is a business
operation
that occurs on the server whose return value/result is not directly associated
with
building response to the client. An asynchronous web service can (and generally
will)
be started and stopped with web service operations that are invoked synchronously.
Thus MS .net clients can still be client to WLS hosted web services. -
Officejet 8620 Web Services Could Not Be Enabled
I can get my Officejet 8620 to connect to the network but it can't connect to the Internet. When I hit the apps button it says "Web Services Could Not Be Enabled". I'm using a Netgear Nighthawk R7000 router. I can find no helpful HP documentation that tells you how to get around this issue other than to wait and try again later if you can't connect. It's been days that I've been trying so I don't think more time is the solution.
Can someone help?
Thanks.Hello MAIAston,
Welcome to the HP Support Forums!
A common fix for the error "Web Services Could Not Be Enabled" is to apply a Manual I.P and DNS on the 8620. To apply this to the printer you will first need to print and Network Configuration Page from the printer (Wireless icon>Settings).
Type the I.P address into the Address bar of a web browser and press enter. Click Network>Wireless (802.11)> IPv4 Configuration. Click Manual IP> Suggest a New Manual IP Address. Change the DNS to 209.244.0.3 & 209.244.0.4.
Apply the settings, restart the printer and try again.
Let me know if this worked.
JERENDS
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping! -
"SQL Server 2008 Reporting Services does not support map report items"
Hi,
I am trying some new feature that are introduced in SQL Server 2008 R2 version. While I try to use "Map" control within it, it threw the following error:-
"Error 1 The map, Map1, was removed from the report. SQL Server 2008 Reporting Services does not support map report items. "
-Also, similar kind of error I am getting for "Indicator" control.Hi Tej,
I think you get this error message when you are deploying a report to report server using BIDS, correct? If not, please provide more details on your scenario :-)
If I guessed correctly, then this message is a result of trying to deploy a map report (a SSRS 2008 R2 feature) to a non-R2 2008 report server. When deploying a report of RDL2010 format to a non-R2 report server, BIDS will downgrade the file to RDL2008 format, so that the non-R2 report server can process it. Any report elements using features not supported in RDL2008 will be dropped during this downgrade process.
BIDS gets the server version from a report project property called TargetServerVersion:
http://technet.microsoft.com/en-us/library/ee635898(SQL.105).aspx
If your report server is indeed the 2008 R2 version, then the TargetServerVersion property should be set to "SQL Server 2008 R2 Reporting Services." The project property page also has a "Auto Detect..." option if you are uncertain about the version of your report server.
Hope this helps!
Cheers,
LawrenceThis posting is provided "AS IS" with no warranties, and confers no rights.
Maybe you are looking for
-
Dbms authentication in OBIEE 11.1.1.7.1
Hi all, I have a problem with configuring dbms authentication in obiee 11.1.1.7.1. I followed the document below, and made all the steps. Using Alternative Authentication Providers - 11g Release 1 (11.1.1) Now, my problem is none of my dbms users can
-
How much does boot camp take speed from a macbook bro 15
Iam a architecture student and i need to buy a macbook for designing, And some of the program's doesnt work on OS-X such as Revit unfortunately , And i need to know if it does effect to much on the speed, please if anybody knows help me!!!. If its po
-
Problem with file content conversion in receiver file adapter
Hi All I have a problem with file content conversion in receiver file adapter. This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1 These are the content conversion parameters: Header_Record.fieldSeparator = , Header_Record.endS
-
Microphone in messages not working?
Hi everyone, Okay I have an iphone 5c, running iOS8. When I go to the message app, the microphone is either there and grayed out, or not there at all. I went and erased my iphone completely, and when the homescreen and everything came up afterwards,
-
hello all, i had a question about the trace file, I was asked by one of ur manager to set events for trace file...he asked to do this... ALTER SESSION SET EVENTS '10046 trace name context forever, level 12'; alter system set events '1483 trace name e