Error while creation of web service model in web dynpro
Hi,
I am getting following error "no services available or local server not accessible" while creation of web service model.
I have already created my web service nad deployed it. It was deployed successfully.
In the web service model creation wizard I am not able to see neither my web service nor any other standard service.
Regards,
Anubha Pandey
Are you using the deprecated Web Services model or the new adaptive web services model?
Take a look in this document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
Similar Messages
-
About import web service model in web dynpro dc
Hi all,when i import a web service model in web dynpro dc, an error occurs.
java.lang.Exception: com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter$FatalImportException: Model setting definition 'considerNillable' not defined for Adaptive Web Service model type
at com.sap.tc.webdynpro.model.webservice.modeltype.service.AWSModelImporterService.createModel(AWSModelImporterService.java:67)
at com.sap.tc.webdynpro.model.webservice.modeltype.ui.wizard.AWSModelCreationWizard.createModel(AWSModelCreationWizard.java:238)
at com.sap.ide.cmi.core.model.importer.CMIWizard$3.run(CMIWizard.java:246)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter$FatalImportException: Model setting definition 'considerNillable' not defined for Adaptive Web Service model type
at com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter.setModelSetting(AWSModelImporter.java:174)
at com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter.importModel(AWSModelImporter.java:632)
at com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter.doImport(AWSModelImporter.java:351)
at com.sap.tc.webdynpro.model.webservice.modeltype.service.AWSModelImporterService.createModel(AWSModelImporterService.java:65)
... 3 more
please tell me1.Create New Model.
2.Select the type of model as Adaptive web service model and click next.
3.Give Model name and Model Package .Select Available WSDL sources.
a.If u get wsdl from local system,select Remote Location/File system.
b.If u get wsdl from Sap location ,u have to configure with esr reposirtry.
4.Select Remote Location/File System and click next.Get WSDL URL from services repositry and click next.
5.Click finish. -
Generate web service model in web dynpro
Hi,
I have a web service which I generated a model in web dynpro and working fine.
But the problem is that when I update my web service(change in method prototype, number of parameters, data type changes) I need to regenerate the model again and need to map to context elements.
So, is there any way so that I can update my model instead of regenerating entire model to reflect to new changes in web service.
Thanks for your time and effort.
Regards,
Shiva.Hi Shiva,
Please look at this weblog for reimporting web service model.
/people/bertram.ganz/blog/2005/10/10/how-to-reimport-web-service-models-in-web-dynpro-for-java
There is no direct method available for that. But u can do by following this method.
Regards,
Bhavik -
Ejbmodule error while building the external service app using web service
Hi,
I am new to SOA. I have developed an external service application using web service. While buiding the project i am getting the ejb module error which is mentioned below and the remaining five internal projects are getting deployed successfully. Can anyone help me out in resolving this issue.
Apr 17, 2008 3:51:45 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: user_example/ejbmodule: Build failed for sap.com/user_example/ejbmodule(MyComponents) in variant "default": Compile failed; see the compiler error output for details.
Build log -
Development Component Build (2008-04-17 15:51:39)
Component name: user_example/ejbmodule
Component vendor: sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: mzwrxw@w2mzwrxw01
DC root folder: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\
DC type: J2EE
DC subtype: EJBModule
Host: w2mzwrxw01
DC Model check:
All used DCs are available locally
validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
validating dependency to public part "default" of DC "sap.com/ejb20"
validating dependency to public part "default" of DC "sap.com/jdbc20"
validating dependency to public part "default" of DC "sap.com/jms"
validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
validating dependency to public part "CAFRuntimeAPI" of DC "sap.com/caf/runtime/impl"
validating dependency to public part "compilation" of DC "sap.com/caf/runtime/api"
validating dependency to public part "default" of DC "sap.com/bi/mmr/core"
validating dependency to public part "compilation" of DC "sap.com/caf/metamodel"
validating dependency to public part "default" of DC "sap.com/com.sap.security.api.sda"
validating dependency to public part "default" of DC "sap.com/tc/logging"
validating dependency to public part "default" of DC "sap.com/com.sap.exception"
validating dependency to public part "default" of DC "sap.com/com.sap.jdo"
validating dependency to public part "compilation" of DC "sap.com/bi/mmr/cwm_1.0_source"
validating dependency to public part "jmi" of DC "sap.com/bi/mmr/jmi"
validating dependency to public part "ClientApi" of DC "sap.com/caf/km.proxyjava"
validating dependency to public part "default" of DC "sap.com/bi/mmr/db"
validating dependency to public part "ClientAPI" of DC "sap.com/caf/runtime/security"
validating dependency to public part "ClientAPI" of DC "sap.com/caf/core/services"
validating dependency to used DC "sap.com/caf/runtime/connectivity/base"
validating dependency to used DC "sap.com/caf/runtime/connectivity"
validating dependency to used DC "sap.com/applocking"
validating dependency to public part "default" of DC "sap.com/com.sap.engine.client.lib"
validating dependency to public part "default" of DC "sap.com/jta"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bi/bp/ejbmodule
starting build plugin from : C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
Build Plugin 'EJBModulePlugin', Version 7.00 SP 9 (NW04S_09_REL, built on 2006-10-25 22:26:50 CEST)
development component: user_example/ejbmodule (sap.com)
software component: MyComponents (demo.sap.com)
location: local
type: J2EE, subtype EJBModule
build variant: default
source location: mzwrxw@w2mzwrxw01
plugin start time: 2008-04-17 15:51:39 GMT+05:30 (IST)
Java VM: Java HotSpot(TM) Client VM, 1.4.2_09-b05 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Source folder src exists but is empty.
Plugin initialized in 0.187 seconds
Preparing data context..
No 'default' JDK defined, will use running VM.
Data context prepared in 0.078 seconds
Executing macro file..
Using macro file: C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\macros\build.vm
Creating output file: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\gen\default\logs\build.xml
Macro file executed in 0.141 seconds
Starting Ant..
Using build file: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\gen\default\logs\build.xml
Using build target: build
Generation folder: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA
Using Ant version: 1.6.2
compile:
[echo] Starting Java compiler
[echo] Settings:
[echo] debug: on
[echo] optimize: off
[echo] deprecation: off
[echo] verbose: default
[echo] encoding: UTF8
[echo] source: default
[echo] target: default
[echo] source path: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule
[echo] class path:
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelDictionaryContent.zip
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\jdo.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\sapjdoapi.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\jmi\_comp\gen\default\public\jmi\lib\java\sap.combimmrjmijmi.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\core\_comp\gen\default\public\default\lib\java\sap.combimmrcoredefault.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\km.proxyjava\_comp\gen\default\public\ClientApi\lib\java\sap.comcafkm.proxyjava~ClientApi.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\applocking.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\frame.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\jdbc.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI_src.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.engine.client.lib\_comp\gen\default\public\default\lib\java\sapj2eeclient.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\base\_comp\gen\default\public\com.sap.caf.mp.base\lib\java\sap.comcafruntimeconnectivitybase~com.sap.caf.mp.base.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\security\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafruntimesecurityClientAPI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\api\_comp\gen\default\public\compilation\lib\java\sap.comcafruntimeapicompilation.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jdbc20\_comp\gen\default\public\default\lib\java\jdbc.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI_src.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\impl\_comp\gen\default\public\CAFRuntimeAPI\lib\java\sap.comcafruntimeimplCAFRuntimeAPI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\ejb20\_comp\gen\default\public\default\lib\java\ejb20.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms\_comp\gen\default\public\default\lib\java\jms.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.perm.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jta\_comp\gen\default\public\default\lib\java\jta.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\core\services\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafcoreservicesClientAPI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\_comp\gen\default\public\com.sap.caf.mp.core.api\lib\java\sap.comcafruntimeconnectivitycom.sap.caf.mp.core.api.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\db\_comp\gen\default\public\default\lib\java\sap.combimmrdbdefault.jar
[echo] output dir: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA\classes
[javac] Compiling 23 source files to D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA\classes
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:51: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:81: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:92: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:96: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:105: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:115: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:126: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:131: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:139: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:154: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:159: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:165: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:186: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:200: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:206: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:213: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:233: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:244: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:254: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:261: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:270: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:281: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:288: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:295: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:300: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:308: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:370: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:462: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:477: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:482: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] 30 errors
Ant runtime 4.984 seconds
Ant build finished with ERRORS
Compile failed; see the compiler error output for details.
Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
Build plugin finished at 2008-04-17 15:51:45 GMT+05:30 (IST)
Total build plugin runtime: 5.515 seconds
Build finished with ERROR
Thanks,
MadhaviHI
i used the below line of code to log the info
com.sap.caf.rt.util.CAFPublicLogger.entering(CAF_user, WTCServiceBean.JARM_REQUEST, CAF_methodHeader, WTCServiceBean.location, CAF_parameters);
But , can anyone suggest ,where can i seee this log msg.
Any pointers would be highly appreciated.
Thanks -
Web Dynpro Import Web Service Model - not a valid NCName
Hi people,
We are having a problem while importing a WSDL as an Adaptive Web Service Model in Web Dynpro (CE 7.2 SP03).
The error is the following:
"Definition of qualified base /schema/element[5]/complexType/sequence/element[4] is not correct. The value of property is not a valid NCName."
We tried importing the same WSDL in other tools (XML Spy and SOAP UI). With these tools it could be read without errors and were able to successfully call the service.
The point is, why the import fails in Web Dynpro if the WSDL can be read in other tools ? Can we do something in WD to import the WSDL that is supposed to be "not correct" ?
Thanks in advance for your comments,
DanielHi Pranav,
I was facing this issue sometime back and i figured out that the ABAP proxy namespace in my case had a '/' in it, because of which the internal name of the service had a '/' character too.
And this was unacceptable for the endpoint binding name in my case.
Since it is occuring for you in case of the service name (i figured it out from attribute definations/services@name), check if the proxy name have a special character like '/'.
Regards,
Vivek -
Working with "Adaptive web service model"
Hi,
Please refer any blogs or documents related to working with "Adaptive web service model".
Thank you.
Regards
Bhanu.Hi,
refer these,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d076c662-8c0f-2b10-8ca4-e63c26e2e489
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e
How To Reimport Web Service Models in Web Dynpro for Java
The specified item was not found.
Using RFC as WebService in WebDynpro
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
http://help.sap.com/saphelp_nw04s/helpdata/en/46/ddc4705e911f43a611840d8decb5f6/frameset.htm
Regards,
ramesh
Edited by: Ramesh Babu V on Oct 20, 2008 2:44 PM -
Error while importing Adaptive Web Service Model in WDJ
Hello,
We are getting following error while trying to import any web service using Adaptive WS model in WDJ.
Error in loading WSDL file.Check the error log for more details.
Log file shows following error message.
!ENTRY com.tssap.util 4 0 Mar 05, 2014 10:51:54.307
!MESSAGE Mar 5, 2014 10:51:54 AM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[main,5,main]] Error: Internal error
Plugin name: Web Dynpro Model Editor
Plugin ID : com.sap.ide.webdynpro.modeleditor
Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS
Method : loadNameSpacesAndModelClasses
Message : Cannot load NameSpaces and ModelClasses
Class Path: C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;
java.home: C:\j2sdk1.4.2_10
proxyHost:
proxyPort:
nonProxyHosts: |
Temporary Directory: C:\DOCUME~1\721398\LOCALS~1\Temp\
WSDL URL: http://1XXXXXXXX:50000/<WS>?wsdl
Exception : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL http://ip address>:50000/<WS>?wsdl and service factory configuration {DynamicProxy.ClassPath=C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=* DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:\j2sdk1.4.2_10, DynamicProxy.TempDir=C:\DOCUME~1\721398\LOCALS~1\Temp\, DynamicProxy.INetProxy.Host=}
!STACK 0
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://<IP address>:50000/<WS>?wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:\j2sdk1.4.2_10, DynamicProxy.TempDir=C:\DOCUME~1\721398\LOCALS~1\Temp\, DynamicProxy.INetProxy.Host=}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:88)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
... 53 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Proxy generation problem. See nested exception.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:284)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)
... 56 more
Caused by: java.io.IOException: CreateProcess: javac "@C:\Documents and Settings\721398\Local Settings\Temp\DGenService1393996912479\javac_args1.cfg" error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at java.lang.Runtime.exec(Runtime.java:457)
at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compileExternal(PackageBuilder.java:386)
at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.traversThrough(PackageBuilder.java:291)
at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compileExternal(PackageBuilder.java:485)
at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compilePackage(PackageBuilder.java:215)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:271)
... 57 more
Any inputs would be helpful.
Thanks,
BalaramHello Balaram,
I think the issue is related to NWDS Plug in- Web Dynpro Model Editor.Please check following thread.
Can't create model in Web Dynpro
Thanks & Regards,
Patralekha -
Error while creating adaptive web service model
Hi All,
There is a requirement where the webdynpro application is deployed in backend system while the web service is created in the front end system. We need to connect to this web service and execute it in our webdynpro application to get response. For this we have created Logical Destination in backend system that points to the web service in the front end system.
The web service, when tested directly through Web Services Navigator, works fine.
Here, while creating an Adaptive Web Service Model in the webdynpro application, after giving name, package, destination name etc when I enter wsdl url and click on Next I am getting an error as u201CError in downloading the WSDL fileu201D.
The error log says u201Ccom.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException:Exception on creation of service metadata for WSDL URLu201D.
Even if I try to create model with url only by selecting u201CNo Logical Destinationsu201D, error remains the same.
What may be the reason for this and possible solution?
Appreciate an early response.
Regards,
MitaliHi
Plesae go thriugh the Wiki and the pdf file
https://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7&overridelayout=true
Thanks
Susmita -
Web Service model creation : no error, but no model created
Hi all,
I would like to create a Web Service service model : Models-> Create Model -> Import Web Service model -> Local File System or URL
I am using a local WSDL file. My NWDS version is 7.0.6.
Everything seems to be OK, I don't get any error, but unfortunaltely no model is created, although I see that some files are generated in the 'proxies' folders.
Here is the WSDL file I want to import. Does something look wrong to you ?
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions name="askalli_DnB_inbound" targetNamespace="http://hermes.hd.corp.local/DNB/" xmlns:webM="http://www.webMethods.com/noNamespace/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://hermes.hd.corp.local/DNB/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://hermes.hd.corp.local/DNB/RQ" xmlns:ns="http://hermes.hd.corp.local/DNB/RQ" xmlns:ns2="http://hermes.hd.corp.local/DNB/RQ">
<xsd:import namespace="http://hermes.hd.corp.local/DNB/RQ" schemaLocation="GALookUpTrnRq.xsd" />
</xsd:schema>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://hermes.hd.corp.local/DNB/RS" xmlns:ns="http://hermes.hd.corp.local/DNB/RS" xmlns:ns2="http://hermes.hd.corp.local/DNB/RS">
<xsd:import namespace="http://hermes.hd.corp.local/DNB/RS" schemaLocation="GALookUpTrnRs.xsd" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="DGX" />
- <wsdl:portType name="askalli_DnB_inboundPortType">
- <wsdl:operation name="DGX">
<wsdl:input message="tns:DGX" />
<wsdl:output message="tns:DGX" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="askalli_DnB_inboundBinding" type="tns:askalli_DnB_inboundPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="DGX">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="askalli_DnB_inboundService">
- <wsdl:port name="askalli_DnB_inboundPort0" binding="tns:askalli_DnB_inboundBinding">
<soap:address location="http://10.24.20.94:8087/soap/DnBSoapProcessor" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
(the XSD files that are referenced in this file are located in the same directory).
Thank you in advance.
Best Regards,
JulienThanks for sharing your tips on this forum, as it will be useful for other users, that run into this issue.
Feedback like this will also help us improve error reporting in the next release, as missing class files in the packaged application is a common issue when developers are moving from the embeded oc4j instance packaged with JDewveloper to standalone instances.
-Eric -
Hi
I exposed webservice from BW function module to my UDDI Client WS_REGISTRY.
While i am trying to create Adaptive web service model using UDDI Client it Showing below Error
Error in loading wsdl file.....
Error Log:
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime' and service factory configuration '{DynamicProxy.ClassPath=D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.HTTPPassword=110379, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.HTTPUserName=sraju, DynamicProxy.Javac.path=C:\j2sdk1.4.2_12, DynamicProxy.TempDir=C:\DOCUME1\LAKSHM1.KOD\LOCALS~1\Temp\, DynamicProxy.INetProxy.Host=}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
... 53 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)
... 56 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime, passing via http proxy: :80, used user to connect: sraju: Connection refused: connect -> java.io.IOException: Cannot connect to http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime, passing via http proxy: :80, used user to connect: sraju: Connection refused: connect
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 57 more
Caused by: java.io.IOException: Cannot connect to http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime, passing via http proxy: :80, used user to connect: sraju: Connection refused: connect
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1019)
... 59 more.
Regards,
Narayana.Hi
I exposed webservice from BW function module to my UDDI Client WS_REGISTRY.
While i am trying to create Adaptive web service model using UDDI Client it Showing below Error
Error in loading wsdl file.....
Error Log:
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime' and service factory configuration '{DynamicProxy.ClassPath=D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.HTTPPassword=110379, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.HTTPUserName=sraju, DynamicProxy.Javac.path=C:\j2sdk1.4.2_12, DynamicProxy.TempDir=C:\DOCUME1\LAKSHM1.KOD\LOCALS~1\Temp\, DynamicProxy.INetProxy.Host=}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
... 53 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)
... 56 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime, passing via http proxy: :80, used user to connect: sraju: Connection refused: connect -> java.io.IOException: Cannot connect to http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime, passing via http proxy: :80, used user to connect: sraju: Connection refused: connect
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 57 more
Caused by: java.io.IOException: Cannot connect to http://sapwin2k3.agi.com:8001/sap/bc/srt/rfc/sap/Z_WEB_SERVICE_01?sap-client=001&wsdl=1.1&scope=designtime, passing via http proxy: :80, used user to connect: sraju: Connection refused: connect
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1019)
... 59 more.
Regards,
Narayana. -
Errors in Adaptive Web Service model
Hi,
We are trying to consume a Webservice created in XI 3 sp18 using Webdynpro adaptive webservice model in Netweaver Developer Studio SP15. The portal version is EP7 SP15
When we give a Model name and specified the destination as EPDes while creating the Adaptive Service model, and configure the destination EPDes in Visual Admin and execute the webdynpro application, we are facing errors.
The application is failing at this first statement itself "PFModel obj = new PFModel();"
The webservice works fine when it is tested through SOAPUI tool.
Please help us in resolve this problem.
Below is the error message
Exception on creation of service metadata for WS metadata destination 'EPDes' and WS interface 'MI_Employer_PeopleFinder_OB_Sync'. One possible reason is that the metadata destination 'EPDes' has not been properly configured; check configuration.
Root Cause
The initial exception that caused the request to fail, was:
java.io.IOException: com.sap.engine.lib.xml.util.NestedException: Element passed is not WSDLD Document !
at com.sap.engine.services.webservices.espbase.query.WSDLReader.checkForException(WSDLReader.java:100)
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:312)
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:128)
... 49 more
Detailed Error Information
Detailed Exception Chain
*com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: *Exception on creation of service metadata for WS metadata destination 'EPDes' and WS** interface 'MI_Employer_PeopleFinder_OB_Sync'. One possible reason is that the metadata destination 'EPDes' has not been properly configured; check configuration.
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:440)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
at com.pf.model.PFModel.<init>(PFModel.java:49)
at com.pf.test.PFController.wdDoInit(PFController.java:99)
at com.pf.test.wdp.InternalPFController.wdDoInit(InternalPFController.java:147)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:449)
at com.sap.tc.webdynpro.progmodel.controller.Component.getController(Component.java:378)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.getPublicInterface(DelegatingComponent.java:181)
at com.pf.test.wdp.InternalTestCompView.wdGetPFControllerController(InternalTestCompView.java:157)
at com.pf.test.TestCompView.onActionexecuteWS(TestCompView.java:145)
at com.pf.test.wdp.InternalTestCompView.wdInvokeEventHandler(InternalTestCompView.java:138)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: java.io.IOException: com.sap.engine.lib.xml.util.NestedException: Element passed is not WSDLD Document !
at com.sap.engine.services.webservices.espbase.query.WSDLReader.checkForException(WSDLReader.java:100)
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:312)
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:128)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)
... 48 more
Thanks,
Regards,
Aditya MetukulAditya, I guess you have created a scenario in XI and made a webservice in XI and trying to call it using Webdynpro model. When we started using XI we did the same and got similar errors and exceptions and we didn't get any positive answer to solve this issue, so we have used following workaround, instead of calling XI webservice, we call the scenario directly using HttpConnection class. Following code sample might help:
// You will get message structure for request messages and response messages from your message mappings
String str = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">"
+ "<SOAP-ENV:Body>"
+ "<ns0:MT_OS_OUT xmlns:ns0=\"urn:sample:dev/xi\">"
+ "<order_number>123497</order_number>"
+ "<payid>32165487</payid>"
+ "</ns0:MT_OS_OUT>"
+ "</SOAP-ENV:Body>"
+ "</SOAP-ENV:Envelope>";
String urlString = "http://<yourservername:port>/sap/xi/adapter_plain?service=<SENDER_SERVICE_NAME>&namespace=<NAME_SPACE>&interface=<MESSAGE_INTERFACE_NAME>
URL url = new URL(urlString);
URLConnection connect = url.openConnection();
HttpURLConnection conn = (HttpURLConnection) connect;
System.out.println(str);
conn.setDoInput(true);
conn.setUseCaches(false);
conn.setDefaultUseCaches(false);
conn.setDoOutput(true);
conn.setRequestProperty("Authorization", "Basic " + encode("<USERNAME>:<PASSWORD>"));
conn.setRequestProperty("SOAPAction", "http://sap.com/xi/WebService/soap1.1");
conn.setRequestMethod("POST");
String convalue = conn.toString();
OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
out.write(str);
out.flush();
out.close();
System.out.println(conn.getResponseCode() +"-->"+ conn.getResponseMessage());
BufferedReader in = new BufferedReader( new InputStreamReader(conn.getInputStream()));
while ((input = in.readLine()) != null) {
response = response + input;
in.close();
You can pass user id password in URL String but it will make it insecure, encoding and setting Authorization property will help you secure your user id and password. encode is not an standard function but uses standard functions to encrypt, here is the implementation:
private String encode (String source) {
BASE64Encoder enc = new sun.misc.BASE64Encoder();
return(enc.encode(source.getBytes()));
I hope this will help and don't forget to replace words in <XXXX>, according to your environment.
Jawed Ali -
Problem while importing a web service model.
Hi
I am building a simple send email application using a web service.
While creating a new model i am using following options.
step 1 - Select "Import Adaptive web service model"
step 2 - Select Wsdl Source
2.1 - Local file system or URL
Step 3 - No logical destination
step 4 - choose wsdl file from file system.
Process successfully done and model created.
BUT
when i am trying to run this application it is throwing file not found exception. i.e. not able to locate wsdl file.
java.io.FileNotFoundException: C:\AbysalEmail.wsdl (The system cannot find the file specified)
I am using remote network connection to access NWDS. and in remote drive C: itself i have saned my file.
Then Why it is not able to locate my file.
Please Help me out.
Thanks.Hi
I have provided in J2EE Engine visual administrator under
Web Services Security -> Dynamic web services proxies
following configuration.
I have created a new Dynamic web service proxie.
And in it under connection settings -> URL i have specified
http://<host>:<port>/
Above is host name and potr from where my WebDynpro application runs.
But my file is located in C:\
I think i am unable to set mapping configuration
from
http://<host>:<port>/
to
C:\
Where shall i ten keep my WSDL file.!!!
Thanks.
Edited by: Saurabh Agarwal on Jul 30, 2008 1:34 PM -
Error when using byte array in web service model interface
Hello everybody,
I'm using a web service model in my web dynpro application. The web service requires a byte array as import parameter.
When starting the web dynpro application the following error occurs:
com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type java:byte not found
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:216)
I'm using byte arrays several times in my application --> no problem. So why does the error say "byte not found" when using the web service?
Thanks for your help!
regards
ChristianHi,
maybe this is the problem. The type is byte and not binary.
But I have the same problem as mentioned in the other thread: I can't change the type.
The type in the WSDL of my web service is "base64binary". Is there maybe a possibility to import a jar-file for this type?
Christian -
Error when importing Web Service Model
Hi,
I am having trouble importing a Web Service model into my Web Dynpro component.
I have successfully published my SessionBean method as a Web Service which works correctly when used from the Web AS Web Service Navigator.
However, my Web Dynpro cannot correctly create a model from the WSDL. The problem seems to be with the last parameter of the method, a two-dimensional array of Strings. When importing the web service model, the following line of code get created in the respective Model class:
logicalPort.generateMetadata(this.getKeywordsAsArray(), this.srcLang, this.getTgtLangAsArray(), ERROR no prop = parameters
Obviously there is a problem with the code generation for the last parameter (the two-dimensional array) which results in this "ERROR no prop = parameters" message.
Does anyone have an idea what I might be doing wrong? Is there a problem with multidimensional arrays in Web Dynpro model classes? I originally wanted to use a HashMap but naturally had to use a simple data type - any other ideas for a workaround?
Cheers,
TimHi,
First, can you check whether you able to access your web service url in browser?
or
you can test your webservice from the NWDI Web service perspective, here you can test your web service is correctly functioning or not before using in your Web Dynpro application.
This document clearly explains How to test the web service url and what is the correct procedure to consume the web service in SAP portal.
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b07992b3-b5af-2a10-9886-affcbeccc4c9]
[http://help.sap.com/saphelp_nw70/helpdata/en/f4/1a1041a0f6f16fe10000000a1550b0/content.htm]
Regards
Raghu -
Web Dynpro - Web service Model- nither output nor the errors
Hi friends,
I am trying a WD application with Web Service model. It is a simple WS, created for GET_FLIGHT_LIST BAPI. When I tried with Adaptive Web Sevice Model I got File not found Exception. So I tried with the Web Sevice Model -- Deprecated.
when I am executing the WS in the application I am getting output nor the errors. But when I am executing this WS in the WS navigator, I am getting the output. I checked all the bindings and mappings. I invalidated all output nodes after execution. And I am passing all mandatory parameters.
Helpful answers will be awarded certainly.
Regards,
SivaHi Siva Rama Krushna,
Are you getting any exception on execution of model? did you print any message in the catch block?
If not, please try to print the exception message and exception cause. (ex.getCause).
If you are not getting any exception, try executing the webservice directly in webservice navigator and check whether result is coming or not.
Regards,
VJR.
Edited by: VJR on Dec 15, 2008 6:04 PM
Maybe you are looking for
-
How can I reply to e-mails forwarded to my main e-mail address?
Hoping somebody can help. I've been assigned an e-mail by an organisation I do voluntary work for occasionally ([email protected]) which is set up so that any e-mail sent to that address forwards to my main MobileMe e-mail address. I would like to be
-
Whenever i try to run ./runInstaller in terminal, i get the error as Permission denied , While installing oracle linux 6.3 , i have given root password and in terminal , even though being a root user, can't install the Oracle Database 11gr2. I know,
-
Adobe Premiere pro cs6 Crashing on Laucher. No error message
OHHH my head hurts, Adobe Premiere pro cs6 no longer works. I was working on a project and i accidentally shut off my computer, upon rebooting i found myself unable to turn on Adobe Premiere. It brings up the laucher, it does not load any codecs, f
-
Daisychain my old Cinema Display
Hi Is it possible to connect my old cinema display to my new Thunderbolt drive and then chain that to my MBP which only has one Thunbderbolt port? Currently the Cinema display has a Thunderbolt adaptor and works fine through the Tunderbolt port conne
-
Chat window stuck in minimize mode
I have a chat window that is stuck in minimize mode, unable to exit the window. Red window appears when receiving messages from buddy but cannot maximize the window. I have restarted my computer, force quit my iChat and every time I sign on that wind