Fault elt in web-services.xml NOT WORKING

We are trying to capture an invalid message coming into our service before our
service actually processes it. Per WLS7 documentation, it provides the ability
to add a <fault> elt under the <params> elt in web-services.xml to perform that.
Here's how the operations portion of our web-services.xml looks like:
<operations>
<operation method="echo(java.lang.String)" component="jcComp0" name="echo"
handler-chain="diagnosticChain">
<params>
<param location="body" class-name="java.lang.String" style="in" name="echoString"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
</param>
<return-param location="body" class-name="java.lang.String" name="Result"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
</return-param>
     <fault name="InvalidMessageException" class-name="com.gmacfs.routeone.diagnostic.InvalidMessageException"/>
</params>
</operation>
</operations>
However, when we tried doing that, we got a BIG set of exception while trying
to build our client. It looks as follows:
client:
[clientgen] Generating client jar for diagnostic.ear ...
[clientgen] Could not read Web Service deployment descriptor
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:112)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
[clientgen] --- Nested Exception ---
[clientgen] Could not read Web Service deployment descriptor
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EARClientGen.java:332)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:110)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
[clientgen] --- Nested Exception ---
[clientgen] weblogic.webservice.dd.DDProcessingException: Could not find required
attribute "type" for element <fault> (Line 28, Column 8)
[clientgen] at weblogic.webservice.dd.ParsingHelper.getRequiredAttribute(ParsingHelper.java:287)
[clientgen] at weblogic.webservice.dd.DDLoader.processFaultElement(DDLoader.java:1195)
[clientgen] at weblogic.webservice.dd.DDLoader.processFaultElements(DDLoader.java:1166)
[clientgen] at weblogic.webservice.dd.DDLoader.processParamsElement(DDLoader.java:1004)
[clientgen] at weblogic.webservice.dd.DDLoader.processOperationElement(DDLoader.java:977)
[clientgen] at weblogic.webservice.dd.DDLoader.processOperationElements(DDLoader.java:853)
[clientgen] at weblogic.webservice.dd.DDLoader.processOperationsElement(DDLoader.java:841)
[clientgen] at weblogic.webservice.dd.DDLoader.processWebServiceElement(DDLoader.java:378)
[clientgen] at weblogic.webservice.dd.DDLoader.processWebServiceElements(DDLoader.java:283)
[clientgen] at weblogic.webservice.dd.DDLoader.processWebServicesElement(DDLoader.java:271)
[clientgen] at weblogic.webservice.dd.DDLoader.load(DDLoader.java:249)
[clientgen] at weblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:79)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EARClientGen.java:330)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:110)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
[clientgen] --------------- nested within: ------------------
[clientgen] weblogic.webservice.util.WebServiceJarException: Could not load deployment
descriptor - with nested exception:
[clientgen] [weblogic.webservice.dd.DDProcessingException: Could not find required
attribute "type" for element <fault> (Line 28, Column 8)]
[clientgen] at weblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:81)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EARClientGen.java:330)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:110)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
BUILD FAILED
Anybody has any ideas?
Thanks much,
sami

Manoj,
Thanks a lot, THAT DID IT... two very helpful hints from you in a row.
By the way, one thing worth mentioning is that the Weblogic documentation that
we explored did not have enough information about that issue.
Thanks again.
sami
"manoj cheenath" <[email protected]> wrote:
Buried deep in the stack trace, is this little
detail:
Could not find required
attribute "type" for element <fault> (Line 28, Column 8)
So the correct DD should look something like:
<fault type="typeNS:string"
xmlns:typeNS="http://www.w3.org/2001/XMLSchema"
class-name="tutorial.sample9.HelloWorldException"
name="HelloWorldException">
</fault>
Also, check out this example:
http://manojc.com/?sample9
There is a know problem: WLS can not handle
exceptions that contain complex data types.
This will be fixed in SP1.
Regards,
-manoj
http://manojc.com
"sami titi" <[email protected]> wrote in message
news:[email protected]...
We are trying to capture an invalid message coming into our servicebefore
our
service actually processes it. Per WLS7 documentation, it providesthe
ability
to add a <fault> elt under the <params> elt in web-services.xml toperform
that.
Here's how the operations portion of our web-services.xml looks like:
<operations>
<operation method="echo(java.lang.String)" component="jcComp0"name="echo"
handler-chain="diagnosticChain">
<params>
<param location="body" class-name="java.lang.String" style="in"name="echoString"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
</param>
<return-param location="body" class-name="java.lang.String"name="Result"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
</return-param>
<fault name="InvalidMessageException"class-name="com.gmacfs.routeone.diagnostic.InvalidMessageException"/>
</params>
</operation>
</operations>
However, when we tried doing that, we got a BIG set of exception whiletrying
to build our client. It looks as follows:
client:
[clientgen] Generating client jar for diagnostic.ear ...
[clientgen] Could not read Web Service deployment descriptor
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
va:112)
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
ask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
[clientgen] --- Nested Exception ---
[clientgen] Could not read Web Service deployment descriptor
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EAR
ClientGen.java:332)
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
va:110)
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
ask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
[clientgen] --- Nested Exception ---
[clientgen] weblogic.webservice.dd.DDProcessingException: Could notfind
required
attribute "type" for element <fault> (Line 28, Column 8)
[clientgen] atweblogic.webservice.dd.ParsingHelper.getRequiredAttribute(ParsingHelper.java
:287)
[clientgen] atweblogic.webservice.dd.DDLoader.processFaultElement(DDLoader.java:1195)
[clientgen] atweblogic.webservice.dd.DDLoader.processFaultElements(DDLoader.java:1166)
[clientgen] atweblogic.webservice.dd.DDLoader.processParamsElement(DDLoader.java:1004)
[clientgen] atweblogic.webservice.dd.DDLoader.processOperationElement(DDLoader.java:977)
[clientgen] atweblogic.webservice.dd.DDLoader.processOperationElements(DDLoader.java:853)
[clientgen] atweblogic.webservice.dd.DDLoader.processOperationsElement(DDLoader.java:841)
[clientgen] atweblogic.webservice.dd.DDLoader.processWebServiceElement(DDLoader.java:378)
[clientgen] atweblogic.webservice.dd.DDLoader.processWebServiceElements(DDLoader.java:283)
[clientgen] atweblogic.webservice.dd.DDLoader.processWebServicesElement(DDLoader.java:271)
[clientgen] at weblogic.webservice.dd.DDLoader.load(DDLoader.java:249)
[clientgen] atweblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:79
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EAR
ClientGen.java:330)
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
va:110)
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
ask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
[clientgen] --------------- nested within: ------------------
[clientgen] weblogic.webservice.util.WebServiceJarException: Couldnot
load deployment
descriptor - with nested exception:
[clientgen] [weblogic.webservice.dd.DDProcessingException: Could not
find>required>> attribute "type" for element <fault> (Line 28, Column 8)
[clientgen] atweblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:81
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EAR
ClientGen.java:330)
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
va:110)
[clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
ask.java:270)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
[clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
[clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
[clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
BUILD FAILED
Anybody has any ideas?
Thanks much,
sami

Similar Messages

  • 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:
    &lt;html&gt;
        &lt;head&gt;
            &lt;title&gt;Security Exception&lt;/title&gt;
            &lt;style&gt;
             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; }
            &lt;/style&gt;
        &lt;/head&gt;
        &lt;body bgcolor="white"&gt;
                &lt;span&gt;&lt;H1&gt;Server Error in '/ApiRemoting30' Application.&lt;hr width=100% size=1 color=silver&gt;&lt;/H1&gt;
                &lt;h2&gt; &lt;i&gt;Security Exception&lt;/i&gt; &lt;/h2&gt;&lt;/span&gt;
                &lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;
                &lt;b&gt; Description: &lt;/b&gt;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.
                &lt;br&gt;&lt;br&gt;
                &lt;b&gt; Exception Details: &lt;/b&gt;System.Security.SecurityException: That assembly does not allow partially trusted callers.&lt;br&gt;&lt;br&gt;
                &lt;b&gt;Source Error:&lt;/b&gt; &lt;br&gt;&lt;br&gt;
                &lt;table width=100% bgcolor="#ffffcc"&gt;
                   &lt;tr&gt;
                      &lt;td&gt;
                          &lt;code&gt;
    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.&lt;/code&gt;
                      &lt;/td&gt;
                   &lt;/tr&gt;
                &lt;/table&gt;
                &lt;br&gt;
                &lt;b&gt;Stack Trace:&lt;/b&gt; &lt;br&gt;&lt;br&gt;
                &lt;table width=100% bgcolor="#ffffcc"&gt;
                   &lt;tr&gt;
                      &lt;td&gt;
                          &lt;code&gt;&lt;pre&gt;
    [SecurityException: That assembly does not allow partially trusted callers.]
       ASP.global_asax..ctor() +0
    &lt;/pre&gt;&lt;/code&gt;
                      &lt;/td&gt;
                   &lt;/tr&gt;
                &lt;/table&gt;
                &lt;br&gt;
                &lt;hr width=100% size=1 color=silver&gt;
                &lt;b&gt;Version Information:&lt;/b&gt; Microsoft .NET Framework Version:2.0.50727.4214; ASP.NET Version:2.0.50727.4209
                &lt;/font&gt;
        &lt;/body&gt;
    &lt;/html&gt;
    &lt;!--
    [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&amp; canBeCached, RuntimeMethodHandle&amp; ctor, Boolean&amp; 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)
    --&gt;
    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 Ramadan

    So, 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
    Nenad

    Hi,
    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.

  • Web Service is not working after Upgrade SAP EHP6

    Hi ,
    Recently we upgraded SAP ECC 6.0 to EHP 6.
    We have a custom web service which is consumed in  .NET Application to get the Sold To from Sales Order.
    the service is working perfectly before upgrade and it is not working after upgrade to EHP6.
    When I tested the Service in WS Navigator in SAP, it is working fine.
    We raised a message to SAP and SAP analyze the Traces and confirm that the HTTP Request Header coming from .NET application is not having User ID and Password , so it is throwing exception from SAP as unauthorized.
    But in service it is configuration as basic authentication and log on using user id and password and .NET application is calling service by passing user ID & Password.
    Customer is not happy as it is working before Upgrade and SAP confirmed every thing fine in SAP, but the service is not working.
    we did the below steps.
    Regenerated the configuration
    Re imported the Certificates
    Activated the service in SICF.
    Please let me know if anybody have same problem or if any steps we are  missing.
    thanks.
    Uma

    after changing the .NET Application , Service is working fine.

  • Web Services do not work in NSW2004S ABAP Sneak Preview

    Guys,
    I can't connect to the XMLA service (even though it's active in SICF) in a NW2004S ABAP Sneak Preview. Can you confirm that web services are not available in the Preview?. Will they work if i apply a patch the the SNeak Preview?
    Please let me know,
    Thanks,
    Gili

    it will work in 2004s sneak preview.
    there were some problems while creating clients (2004S MiniSAP ABAP: SAPGUI crashes when creating a Web Service)
    whats the exact error you are getting?
    Raja

  • Web Service is not working in COldfusion 8

    Hi,
    I am using the following code for creating the web service.
    this code was perfectly working in Coldfusion 7,
    however not working in Coldfusion 8.
    &lt;cfscript&gt;
        try {
            ws = CreateObject("webservice", CurrentURL & "IntouchDataService.cfc?wsdl");
        } catch (any e) {
            WriteOutput("Error occured while invoking the Web Service at: ");
            WriteOutput('&lt;a href="#CurrentURL#IntouchDataService.cfc?wsdl"&gt;#CurrentURL#IntouchDataService.cfc?wsdl &lt;/a&gt;');
            WriteOutput('&lt;hr /&gt;&lt;h2&gt;');
            WriteOutput(e.message);
            WriteOutput('&lt;/h2&gt;&lt;hr /&gt;');
            WriteOutput(e.detail);
            WriteOutput('&lt;hr /&gt;');
            WriteOutput(e.StackTrace);
    &lt;/cfscript&gt;
    Follwoing error i got:
    coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 1 semantic error compiling "E:/ColdFusion8/stubs/WS-2123243560/coldfusion/xml/rpc/CFCInvocationException.java": < 10. public class CFCInvocationException extends org.apache.axis.AxisFault implements java.io.Serializable { . . . 88. } > *** Semantic Error: A class file was not generated for the type "coldfusion.xml.rpc.CFCInvocationException" because a library method that it depends on was not found. See system messages for more information. Found 1 semantic error compiling "E:/ColdFusion8/stubs/WS-2123243560/com/intouchsupport/www/IntouchDataService/TestWebServ iceLocator.java": < 10. public class TestWebServiceLocator extends org.apache.axis.client.Service implements com.intouchsupport.www.IntouchDataService.TestWebSe
    Also i did lot of googling to solve this issue but no luck.
    also i found following blog about this issue also and i did the give steps however problem not solved.
    http://tjordahl.blogspot.com/2007/09/coldfusion-8-getting-started-code.html
    Can somebody help me to sort out this issue?
    thanks
    Prashant Gupta

    Hi,
    I got solution to my problem of webservice is not working in CF8.
    the problem was
    we have already a "rt.jar" file in a location and we defined this location in CF Admin >> java jvm >> classpath
    so this file was conflicting.
    i simply removes this file path from CF Admin.
    and restart the CF services.
    and my web service start working.

  • Web Service Scenario Not Working

    Hi Sdners,
    I am working on Support project where I have web Service to RFC Scenario which is synchronus scenario. when the user sending the WSDL request to XI it's woking fine in for Devlopment but it is not working QA .In QA i am gettings error below
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZCA_RATE_INTF.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When I asking user to send the message from their they are coming to QA syetm insted of DEV.........for this where I have to check........
    Edited by: gangadhar kh on Mar 3, 2010 12:29 PM

    HI All,
    Can anyone help me on this?
    there is no communication is going between the sender system(Web Service) to PI . When user is sending the data through URL he is not able to send the data and when he is sending the data . I am getting the message in PI/XI(MONI) messsage coming (with system Error with balls sign)
    <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZCA_PRICE_F_EX_RATE_INTF.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    and IN payload of This message
    RFC_ERROR_SYSTEM_FAILURE</ID><Attributes><V1>CALL_FUNCTION_NO_DEST</V1>
    Please suggest on this Problem
    Regards
    Edited by: gangadhar kh on Mar 8, 2010 6:00 AM

  • Simple JAX-WS web service does not work on WS7u6

    Hello,
    I am trying to deploy a very simple JAX-WS web service on WS7u6, but it is not working. The same service deployed on Tomcat 6.0.16 works fine.
    The service I'm trying to deploy is from a tutorial on the Netbeans website: [http://netbeans.org/kb/docs/websvc/jax-ws.html] - it is a simple calculator web service that adds two ints and returns an int.
    I follow the tutorial to the letter, but when I attempt to deploy on WS7, it fails as follows:
    [10/Dec/2009:21:21:44] info (25757): CORE3276: Installing a new configuration
    [10/Dec/2009:21:21:44] info (25757): WEB0118: SSO is enabled in virtual server [dadydude.qisc.com]
    [10/Dec/2009:21:21:44] info (25757): WEB0100: Loading web module in virtual server [dadydude.qisc.com] at [/wstest]
    [10/Dec/2009:21:21:44] info (25757): WSSERVLET12: JAX-WS context listener initializing
    [10/Dec/2009:21:21:44] info (25757): wsdl cannot be found from DD or annotation. Will generate and publish a new WSDL for SEI endpoints.
    [10/Dec/2009:21:21:44] failure (25757): WSSERVLET11: failed to parse runtime descriptor: class: org.me.calculator.jaxws.Add could not be found
    class: org.me.calculator.jaxws.Add could not be found
         at com.sun.xml.ws.modeler.RuntimeModeler.getClass(RuntimeModeler.java:271)
         at com.sun.xml.ws.modeler.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:562)
         at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:509)
         at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
         at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.createSEIModel(RuntimeEndpointInfo.java:170)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.init(RuntimeEndpointInfo.java:317)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.createModelAndMetadata(WSServletContextListener.java:200)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:120)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4456)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5113)
         at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:235)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
         at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:70)
         at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:491)
         at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:304)
    [10/Dec/2009:21:21:44] failure (25757): WebModule[/wstest]PWC1275: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
    WSSERVLET11: failed to parse runtime descriptor: class: org.me.calculator.jaxws.Add could not be found
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:131)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4456)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5113)
         at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:235)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
         at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:70)
         at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:491)
         at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:304)
    Caused by: class: org.me.calculator.jaxws.Add could not be found
         at com.sun.xml.ws.modeler.RuntimeModeler.getClass(RuntimeModeler.java:271)
         at com.sun.xml.ws.modeler.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:562)
         at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:509)
         at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
         at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.createSEIModel(RuntimeEndpointInfo.java:170)
         at com.sun.xml.ws.server.RuntimeEndpointInfo.init(RuntimeEndpointInfo.java:317)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.createModelAndMetadata(WSServletContextListener.java:200)
         at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:120)
         ... 11 more
    [10/Dec/2009:21:21:44] failure (25757): PWC1306: Startup of context /wstest failed due to previous errors
    [10/Dec/2009:21:21:44] failure (25757): Null component com.sun.web-3:type=JspMonitor,name=jsp,WebModule=//localhost/wstest,J2EEApplication=null,J2EEServer=none
    [10/Dec/2009:21:21:44] info (25757): CORE3280: A new configuration was successfully installed
    [10/Dec/2009:21:21:44] info (25757): WSSERVLET13: JAX-WS context listener destroyedAm I simply missing something obvious here?
    Thanks,
    Bill

    OK, I've made significant progress.
    As I suspected, JAX-WS was indeed supposed to generate the missing class for me, but while it appears to do so automatically when deploying in Tomcat, it is necessary to hack your build.xml file to add the generated classes to your WAR file for WS7. Reference [http://developers.sun.com/webtier/reference/techart/websvcs_nb.html] for a (rather dated) description of how to deploy a JAX-WS service on WS7 (using Netbeans 5.0!).
    Note that as of NB6.7/6.8 much of the manual process is now done automatically by Netbeans, but curiously, not the part that actually causes the web service code to be generated. For that, we have to manually modify the build.xml to include a "-pre-dist" target that invokes the wsgen Ant task.
    This is the target I added to build.xml for this sample calculator service:
      <target name="-pre-dist">
        <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
          <classpath path="${javac.classpath}:${j2ee.platform.classpath}"/>
        </taskdef>
        <wsgen
          debug="true"
          keep="true"
          destdir="build/web/WEB-INF/classes"
          resourcedestdir="build/web/WEB-INF/classes"
          xendorsed="true"
          sei="org.me.calculator.CalculatorWS">
          <classpath>
            <pathelement path="${javac.classpath}:${j2ee.platform.classpath}"/>
            <pathelement location="${java.home}/../lib/tools.jar"/>
            <pathelement location="build/web/WEB-INF/classes"/>
          </classpath>
        </wsgen>
      </target>That will allow the project to build and deploy successfully, and I am now able to view my WSDL.
    However, at first the service itself was not working. After a bit of casting about, I determined that this was due to the fact that at some point I had added the METRO library to the project rather than simply the JAX-WS 2.2 library. After returning the configuration to just use JAX-WS and doing a clean build and deploy, the simple web service now works!
    One thought does emerge from all this, though: if the built in support for Tomcat runs wsgen for me when I deploy an app to that container, perhaps the Sun WS7 team needs to update their Netbeans plugin to do this for us, too. I should probably open a support case on that...
    OK, now on to real work. ;-)
    Bill

  • Delphi Client Web Service does not work fine

    I wrote a Hello web service with a method and with a parameter, and import WSDL in delphi, All works very well. But when I add two parameters I receive the error below:
    java.lang.IllegalStateException: Cannot obtain java type for: {urn:CalculatorFacade/types}add
    at org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:710)
    at org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1187)
    at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1045)
    at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:972)
    Using the google I discovery this tutorial.
    http://www.javapassion.com/planning/handsonbyol/netbeanswebservices
    I wrote a calculator web service with Netbeans and deploy it on jboss-4.0.3.
    So I was change my project parameters to change wscompile parameters: rpcliteral, strict
    When I execute the code: x = calc.add(a, b)
    I receive another error:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace: javax.xml.rpc.JAXRPCException: No such operation 'int_1'
    at org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:273)
    at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
    at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
    I test this web service in a Java client and it works very fine, but with delphi client it does not work :(
    Can someone help me?
    []s, Welington B. Souza

    Welington,
    Could you post the source of the web service that gives you the error?

  • Web Service is not Working

    HI Experts,
    I have created a FM for creation/updating of Business Partner. My FM is working fine and not giving error.
    I published this FM as a Web Service, and it got generated successfully.
    Now when i am running this web service, my FM is not working properly and start throwing errors.
    do i need to follow some specific guidelines in coding?
    any idea what could be the reason?
    Dave

    HI Hemant,
    Error which i am getting are related to ABAP code.
    like i am updating BP's marketing attributes, Relationships Sales Area Data.
    i have used Std. BAPI's for updating these.
    in my FM these are working fine no error is given, but when i test my Web Service these BAPI start giving errors.
    for example: Relation Ship is giving like invalid relation ship category
                         In-valid Sales Area
    Any idea what could be the reason.
    Dave

  • Web service is not working in tranported server

    hi. experts
    i have developed a webservice in server 1 and have used that webservice wsdl file in adobe form it is working fine in server1. I have transported adobe form in Server2 but webservice in that server is not working ..
    can u tell me what is solution for this ??
    thanks in advance..
    Jitendra

    Hi,
    I got solution to my problem of webservice is not working in CF8.
    the problem was
    we have already a "rt.jar" file in a location and we defined this location in CF Admin >> java jvm >> classpath
    so this file was conflicting.
    i simply removes this file path from CF Admin.
    and restart the CF services.
    and my web service start working.

  • Web Service response not working...

    Hi, does anyone see anything wrong with this code? It
    executes the web service fine but the returned response it is not
    showing up in the text area...
    TIA
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="foo" wsdl="
    http://server01:8080/services/Login?wsdl">
    <mx:operation name="synchronousInvoke">
    <mx:request>
    <searchtype>2</searchtype>
    <searchvalue>arth</searchvalue>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    <mx:Button label="Get Data"
    click="foo.synchronousInvoke.send()" x="261" y="405"/>
    <mx:TextArea text="{foo.synchronousInvoke.result}"
    x="261" y="46" width="565" height="339"/>
    </mx:Application>

    Hi, does anyone see anything wrong with this code? It
    executes the web service fine but the returned response it is not
    showing up in the text area...
    TIA
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="foo" wsdl="
    http://server01:8080/services/Login?wsdl">
    <mx:operation name="synchronousInvoke">
    <mx:request>
    <searchtype>2</searchtype>
    <searchvalue>arth</searchvalue>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    <mx:Button label="Get Data"
    click="foo.synchronousInvoke.send()" x="261" y="405"/>
    <mx:TextArea text="{foo.synchronousInvoke.result}"
    x="261" y="46" width="565" height="339"/>
    </mx:Application>

  • Web service client not working with HTTP Analyzer turned on

    So the subject explains it all.
    I have a simple JAXWS web service with @Policy(uri = "policy:Wssp1.2-2007-Https.xml") on remote secured (real SSL cert) Weblogic 10.3.5.
    A simple client is generated in JDev 11.1.2.3 and run on my machine locally.
    I'm really not sure I've tuned everything right with client certificates but the thing is when JDeveloper HTTP Analyzer is turned on client run gives bad_certificate SSLException.
    With Analyzer turned off the service call is successfull.
    javax.net.ssl.SSLKeyException: [Security:090542]Certificate chain received from localhost - 127.0.0.1 --> wl1n2.miit.ru was not trusted causing SSL handshake failureCould someone explain me this issue?

    Puthanampatti,
    First of all, how am I to determine what security folder is being used for certificates when I run local client in JDev?
    My JDev folder is D:\JDeveloper-11.1.2.*3* and there's D:\JDeveloper-11.1.2.3\jdk160_24\jre\lib\security
    My JDEV_USER_DIR is set to another folder: D:\JDeveloper-11.1.2.*2* \home so I'm not sure where should I import certificates.
    To import a certificate I:
    Open our https web site in Chrome browser. Click the HTTPS mark and expoer the certificate as Base64 (does it matter what encoding to use?) .cer file.
    Then I open Windows command line and run setDomainEnv in my local weblogic folder:
    D:\JDeveloper-11.1.2.2\home\system11.1.2.3.39.62.76.1\DefaultDomain\bin\setDomainEnv.exe
    cd D:\JDeveloper-11.1.2.3\jdk160_24\jre\lib\security
    keytool -import -alias miitcert -keystore cacerts -file d:\cer\miit-base64.cerA bit confusing might be the fact that system11.1.2.*3* folder is inside JDeveloper-11.1.2.*2* folder but that is how it is.
    So that were the steps I did to import a certificate, but the problem with HTTP Analyzer is still here.
    And what is demotrust.jks? There's no such file in security folder.

  • Web Service do not work after save in Designer ES2 SP1

    Dear all,
    I am trying to migrate 8.2.1 process to ES2.
    Although it have some bugs, but the process are working fine when using ES2 without any SP.
    One day we installed SP1 for ES2 and hopeing for some bugs we found fixed, but find none of them fixed... oh well, so we continue the migration.
    And the problem happen when we try to modify the form for some testing, we find that even we *did not* modify anything in the form, if we pressed the save button and deploy the form, all the web service related code in the form will stop working.
    Anyone have any idea about this?
    Thanks in advance.
    Regards
    Bill

    Hi Paul,
    Thanks for the suggestion.
    Already tried to update the dataconnection by right click at data view, and choice "Refresh Data View", but that doesn't help, would like to know are there any others way to do so?
    I already open a case with the support, but it seem that the engineer in APAC region have a very slow response time...
    Just wonder if I can send the case to others support center with better response time.
    I tried to compare the form before and after save and find that some information may missing in the post-SP1 form.
    In the pre-SP1 from, I can find a <dd:dataDescription> section for every web service used in the form, but in the post-SP1 form they are missing.
    I tried to add that section back and it will make the web service usable again, but the problem is I need to do that every times I modify anything, and I also need to create this section for a every new web service added to the form...
    Regards
    Bill

  • Web service - XML not in format

    Hi,
      i created one web service which has function returning integer. i called this WS in BLS. I saved response of function in xml file using XML saver action block. But i cant read this file in query template. i.e it is not in format. it shows as
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns:col2Response xmlns:ns="http://ws.apache.org/axis2/xsd">
      <ns:return>32.0</ns:return>
      </ns:col2Response>
    in query template, test page doesnt show anything.
    what is the problem? how to solve it as to read thru query template?
    -senthil

    Senthil,
    There is no problem. Your web service is just returning the response as you have defined it. If you define your response in the Rowsets/Rowset/Row format then it should be fine to display in a query template.
    Otherwise, as it stands you would just have to create an IllumDoc and map the data from your web service call to it and then it will display. Just make sure to map the outputXML from the IllumDoc to a transaction property Ouput of XML data type.

Maybe you are looking for

  • Cant install software from disk. Terminal window opens with a logon and bash message?

    I cannot install software from disk & in some cases download. If any software disk is inserted the terminal window appears. The Disk has to be clicked to open the contents but install files or package files show as a blank doc and not the usual yello

  • Increase canvas conditionally and Conditonal copyright logo

    Hi, I want to increase the Canvas size of image conditionally depends on height or width of images. But the script is not giving proper results. Can Anyone help me in this. And also i have done bold for the text as comments. Even i need help in the c

  • Dreamweaver CS4 texte flash mac os x

    bonjour, je viens de faire l'update  de dreamweaver 8 en cs4 sur mac os x et je ne peut plus faire comme avant pour inserer un nouveau texte flash merci de me dire la nouvelle formule avant sur dreamweaver 8 c'etait insertion puis media puis texte fl

  • Can't call a webservices from a servlet

    I run the webservices example of wls6.1 sp2 and it work great from the normal java client. I transpose the client code in a servlet and I got this error when creating new InitialContext(): Cannot instantiate class: weblogic.soap.http.SoapInitialConte

  • Windows Downloaded setup.exe, not iso file.

    Well... I just recently bought windows 8, but it downloaded a file called windows8setup.exe -- not an iso. I don't have a windows machine to open the exe, so how can i get the windows iso?