Invalid metadata signature exception

129 views
Skip to first unread message

Alan

unread,
Jun 22, 2010, 3:03:11 AM6/22/10
to WST-LIST
Hi,

I've recently moved to a different development machine and am trying
to recompile my wst web service app, the first time in about six
months. It's fpc 2.5.1 running under Lazarus 0.9.29. I have checked
out the latest wst sources, installed it along with wst_indy, and the
type library editor works fine. It compiles, but when I run the app I
immediately get an exception:

[FORMS.PP] ExceptionOccurred
Sender=EMetadataException
Exception=Invalid Metadata signature : "WST_METADATA_0.2.2.0"
Stack trace:
$000000010019A18C
$000000010019B5C8
$000000010019C314
$00000001001D3D89
TApplication.HandleException Invalid Metadata signature :
"WST_METADATA_0.2.2.0"

Do I have to initialize something, or include a file to fix this
error?

I've also tried to run the http_server sample. I get the same error.

Many thanks for any help, Alan

Inoussa OUEDRAOGO

unread,
Jun 22, 2010, 4:31:20 AM6/22/10
to wst-list
Hi

2010/6/22 Alan <guita...@gmail.com>:


> Hi,
>
> I've recently moved to a different development machine and am trying
> to recompile my wst web service app, the first time in about six
> months.  It's fpc 2.5.1 running under Lazarus 0.9.29.  I have checked
> out the latest wst sources, installed it along with wst_indy, and the
> type library editor works fine.  It compiles, but when I run the app I
> immediately get an exception:
>
> [FORMS.PP] ExceptionOccurred
>  Sender=EMetadataException
>  Exception=Invalid Metadata signature : "WST_METADATA_0.2.2.0"
>  Stack trace:
>  $000000010019A18C
>  $000000010019B5C8
>  $000000010019C314
>  $00000001001D3D89
> TApplication.HandleException Invalid Metadata signature :
> "WST_METADATA_0.2.2.0"
>
> Do I have to initialize something, or include a file to fix this
> error?

Whenever you check out a new version of WST, you have to parse your
WSDL file to get synchronized with the WST runtime.
For client side you need to get the new version of your service's
interface and proxy.
For server side you need to get the new version of your service's
interface and binder file.

Best regards.
--
Inoussa O.

Alan

unread,
Jun 22, 2010, 3:38:26 PM6/22/10
to WST-LIST
Thanks! Works great now. I had regenerates those files but for some
reason "urn_" was prepended module name and namespace and therefore to
the generated file names, so the actual files in the project were not
being refreshed. I removed the prefix in the type library editor and
it works now.

Alan

On Jun 22, 2:31 am, Inoussa OUEDRAOGO <inouss...@gmail.com> wrote:
> Hi
>
> 2010/6/22 Alan <guitarta...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages