[ http://issues.apache.org/jira/browse/COCOON-1449?page=all ]

Pier Fumagalli updated COCOON-1449:
-----------------------------------

    Bugzilla Id:   (was: 33616)
      Component: Blocks: XSP
                     (was: Blocks: (Undefined))
    Description: 
Running a xsp using the soap logicsheet will result in the following compile 
error:
// start error (lines 80-80) "Component cannot be resolved or is not a type"
            manager.release((Component)xscriptManager);

// end error

This is my xsp, which worked without problems on cocoon 2.1.6:
<?xml version="1.0"?>
<xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp";
    xmlns:xsp-request="http://apache.org/xsp/request/2.0";
    xmlns:xscript="http://apache.org/xsp/xscript/1.0";
    xmlns:soap="http://apache.org/xsp/soap/3.0";>
  <page>
    <html>
      <head>
        <title>SOAP Test</title>
      </head>
      <body>
        <h1>Cocoon SOAP Test</h1>
        <p>
          <soap:call 
url="http://localhost:9090/SOLICY_SOAP/services/HelloWorld";>
            <ns:hello xmlns:ns="http://soap.solicy.foo.com"/>
          </soap:call>
        </p>
      </body>
    </html>
  </page>
</xsp:page>

  was:
Running a xsp using the soap logicsheet will result in the following compile 
error:
// start error (lines 80-80) "Component cannot be resolved or is not a type"
            manager.release((Component)xscriptManager);

// end error

This is my xsp, which worked without problems on cocoon 2.1.6:
<?xml version="1.0"?>
<xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp";
    xmlns:xsp-request="http://apache.org/xsp/request/2.0";
    xmlns:xscript="http://apache.org/xsp/xscript/1.0";
    xmlns:soap="http://apache.org/xsp/soap/3.0";>
  <page>
    <html>
      <head>
        <title>SOAP Test</title>
      </head>
      <body>
        <h1>Cocoon SOAP Test</h1>
        <p>
          <soap:call 
url="http://localhost:9090/SOLICY_SOAP/services/HelloWorld";>
            <ns:hello xmlns:ns="http://soap.solicy.foo.com"/>
          </soap:call>
        </p>
      </body>
    </html>
  </page>
</xsp:page>


> soap logicsheet doesn't work (xscriptManager component cannot be resolved)
> --------------------------------------------------------------------------
>
>          Key: COCOON-1449
>          URL: http://issues.apache.org/jira/browse/COCOON-1449
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: XSP
>     Versions: 2.1.8-dev (Current SVN)
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Bastian Bowe
>     Assignee: Cocoon Developers Team

>
> Running a xsp using the soap logicsheet will result in the following compile 
> error:
> // start error (lines 80-80) "Component cannot be resolved or is not a type"
>             manager.release((Component)xscriptManager);
> // end error
> This is my xsp, which worked without problems on cocoon 2.1.6:
> <?xml version="1.0"?>
> <xsp:page
>     language="java"
>     xmlns:xsp="http://apache.org/xsp";
>     xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>     xmlns:xscript="http://apache.org/xsp/xscript/1.0";
>     xmlns:soap="http://apache.org/xsp/soap/3.0";>
>   <page>
>     <html>
>       <head>
>       <title>SOAP Test</title>
>       </head>
>       <body>
>       <h1>Cocoon SOAP Test</h1>
>       <p>
>         <soap:call 
> url="http://localhost:9090/SOLICY_SOAP/services/HelloWorld";>
>           <ns:hello xmlns:ns="http://soap.solicy.foo.com"/>
>         </soap:call>
>       </p>
>       </body>
>     </html>
>   </page>
> </xsp:page>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to