Comentários (8)

1 VijayakumarRamdoss comentou às Link permanente

Nice Article

2 DirkBrys comentou às Link permanente

I've been playing around with this feature - it looks promising untill you need to use the buildws utility. <br /> I built a webservice in .NET using C# (generating a .asmx). Plain and simple - just a void operation. <br /> Then Event Studio is able to retrieve the signature of the webservice but cannot run the webservice, probably because it's treated as a 'wrapped' webservice. Hence I've tried the buildws utility but it never seems to be able to generate the correct stubs for the webservice. It always complains about enum (something which is generated for the classes by the buildws utility - through the Apache AXIS wsdl2java emitter) - that it should not be used as an identifier since it's a keyword since jdk 1.5. And off course at run-time cognos cannot deserialize the operation. <div>&nbsp;</div> Actually, I don't find any information on the buildws utility. Has this feature been tested in a non-Java, non-WSIF environment? <br /> Is there more information available on how to get this working? It seems promising...

3 NickMann comentou às Link permanente

Hi there
I guess you are not yet using Cognos 10?
We found this issue and have fixed it for C10, but you can patch your version by modifying the buildws.xml file in bin.
this file is an ant build script and if you add the xml attributes source="1.4" target="1.5" to the <javac target="target" this="this" should="should" resolve="resolve" the="the" issue.="issue." Let="Let" me="me" know="know" how="how" it="it" goes.="goes." Nick="Nick"></javac>

4 NickMann comentou às Link permanente

Apologies... my previous empty post was supposed to be a response to the buildws question.
This issue is fixed in C10, but if you are having the issue with a previous release you can always patch it by altering the file buildws.xml (renamed to es_build_ws_objs.xml in C10)
the file is an ant build script and contains a javac call to compile classes generated to support the ws. this should contain the attribute "target" that should be at 1.5 (to avoid the enum clash) leave the other attributes as they are.

 
<javac target="1.5">
...etc</javac>

5 NickMann comentou às Link permanente

Apologies... my previous empty posts were supposed to be a response to the buildws question I think they contained xml which is unsupported. <br /> This issue is fixed in C10, but if you are having the issue with a previous release you can always patch it by altering the file buildws.xml (renamed to es_build_ws_objs.xml in C10) <br /> the file is an ant build script and contains a javac xml tag to compile classes generated to support the ws. this should contain the attribute "target" that should be at 1.5 (to avoid the enum clash)

6 NickMann comentou às Link permanente

FYI if you have issues where you get deserialization errors after you follow all the steps, you may have a wsdl that uses an xsd:import. the current implementation cant cope with this. <br /> Sorry were working to get an enhancement approved

7 MChandrasekhara comentou às Link permanente

Hi All, <div>&nbsp;</div> Please help me on the below two issues on cognos evnet studio. Would be appriciated your answers with earlist and send to my email ( sekhara81@gmail.com) <div>&nbsp;</div> -Is Cognos Event Studio to handle a return value via Web service that would indicate success or failure? <div>&nbsp;</div> -Can Cognos Event Studio pass complex data types for the parameters or can it only pass all the parameters as strings or native types? <div>&nbsp;</div> Thanks <br /> Chandra

8 NickMann comentou às Link permanente

Hi there <br /> No event studio does not read a response, an exception from the webservice would cause the webservice task to fail. <br /> complex types can be handled, this requires a build script to be run to generate a suppport jar server side as mentioned in the article.

Incluir um Comentário Incluir um Comentário

+Media center

Click to view Cognos videos and pictures

Loading...
www.flickr.com
More...