on 01-04-2010 9:26 AM
Hi Experts,
I was able to add the Webservice sucessfully.
I execute the Webservice using the following code
Request_ServiceHttpGet_getMaterialInfo Catalogue_Req = new Request_ServiceHttpGet_getMaterialInfo(); wdContext.nodeRequest_ServiceHttpGet_getMaterialInfo().bind(Catalogue_Req); wdContext.currentRequest_ServiceHttpGet_getMaterialInfoElement().modelObject().execute(); wdComponentAPI.getMessageManager().reportSuccess("After WS Execution");
I am getting the foloowing error, durring the deployment.
[javac] Compiling 130 source files to /usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/classes
/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/wdp/IPublicCC_CatalogueWS.java:666: package javax.xml.soap does not exist
public javax.xml.soap.SOAPElement get_any() {
^
/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/wdp/IPublicCC_CatalogueWS.java:702: incompatible types
found : javax.xml.soap.SOAPElement
required: java.lang.Object
return gen_modelInstance.get_any();
^
/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/wdp/IPublicCC_CatalogueWS.java:1016: incompatible types
found : javax.xml.soap.SOAPElement
required: java.lang.Object
return gen_modelInstance.get_any();
^
Note: /usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/t/F8932A28B6B6DA239F372D66126596DE/gwd/packages/xxxx/app/CreatePRPOView.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
Ant build finished with ERRORS
file:/usr/sap/NWI/JC63/j2ee/cluster/server0/temp/CBS/22/.B/12309/DCs/xxxx/dc/_comp/gen/default/logs/build.xml:168: Compile failed; see the compiler error output for details.
Please help me to solve the same.
I am using NWDI for development.
Thanks & Regards,
Palani
Hi Palani,
Clear the CBS chache and if you are using old project reimport every thing. after that pls try to set path for Servlet.jar file which you can locate inside the standard sap.com DC which you will get indise the installed NWDS path,like:-
/dtc/0/DCs/SAP.COM/servlet/_comp/gen/default/public/default......
Hope this may help you.
Deepak!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.