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
Similar Messages
-
Prob with Adaptive Web Service Model and Response with reference of itself
Hi guys,
I am facing a problem with the Adaptive WebService Model. I have a WebService which is working properly in a Servlet and also in the web service navigator,
The webService has a method let´s say create(objectDTO). The structure of objectDTO is like this:
propertieA
propertieB
propertieC
propertieChildObjectDTO
So I can pass a list of objectDTOs to the webService. If i import the webService the structure in the model looks fine, but if i want to map it to any context, only the properties A-C are mapped. propertieChildObjectDTO is not mapped.
Has anyone a clue on how to solve this problem ? I just tried to add and initialize the propertieChildObjectDTO manually but I got a NullPointerException.
I would appreciate your help.
Happy new year guys
Regards
FloGuys......
seems like i can´t reach my requirement with Adaptive Web Service Model:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq%252b-%252bmodels%252b-%252badaptive%252bweb%252bservice
Now I want to make it by hand. How can I import the regarding EJB ?
Thanks !
Flo -
Consume PI7.1 Webservices with Adaptive Web Service Model and Logical Dest.
Hi all,
I'm looking for a run-through of how to configure logical destinations for a Web Dynpro 7.00.15 application (running on a AS Java 7.00 SP15 server) that is consuming a web service on a PI 7.10.07 server.
My problems are no related to:
- importing the WSDL file into the project and mapping nodes/contexts to perform the call
- restrictions with access and authorizations (own 7.00 sandbox)
My problems are:
- what to put into the WS metadata and execution destinations in Visual Admin
- how to configure 1 set of destinations per WS provider (using WSIL or UDDI/ESR query)
I have tried the http:///inspection.wsil, but it only returns standard java AS web services (such as AdobeDocumentServices) but not the ones in the Services Registry / UDDI.
So: How can I configure the setup so that I only need 2 ws destinations per WS provider?
I've tried the direct Webservice endpoint WSDL URL, but it's not what I want to do. Anyways, it gives me an "IndexOutOfBoundsException" in the DInterfaceImpl.java file.
Hope you can help me out. I've dug myself into a hole here...
Best Regards,
Hans Petter BjørnHi Hans
Please check this thread [Adaptive Web Service Model in SP 17|Adaptive Web Service Model in SP 17]
Hope this will help you.
thanks
Arun Jaiswal -
Hi experts,
I have to integrate an Adaptive Web Service Model into a Web Dynpro application. Up to now there are only normal Web Service Models in the application, where the methodes _setUser, _setPassword, _setEndPoint and _setHTTPDestination are called.
Can anyone tell me which methods have to be called instead for the Adaptive WS Model?
Thanks
FlorianSorry, i cant find a solution for my problem.
Can anyone give me another advise?
The problem is, that i dont know which user is logged on and this is dynamically in runtime variables.
Is the HTTPControlInterface in the IWDWSInvocationModifier the right way? But i cant set an HTTPDestination there
Edited by: Florian Fuchs on Jul 18, 2008 10:30 AM -
Facing Problem with Adaptive Web Service Model
Hi All,
I am consuming adaptive web servcie model. It is created from a lcoal web service i.e deployes on a web service. When i run from WS navigator it works fine.
When i consume WDJ it is erroring out. The method is written an array of bean methods.
The error i am getting is -- java.lang.IllegalArgumentException: Target role name 'Response' not defined for model class 'SearchInvoiceByNumberResponse'
Please help me, have a very tight delivery....
Thanks
SupriyaHi All,
I did re-imported my model but no help. There are 5 business methods in my EJB. three methods returns integer value and other two methods are selecting the data which returns bean type. One is bean type and another is of bean array type.....
I have problem with only these two...........................these two methods errors out when try to consume through adaptive web servcie model....are there any pre-requsisties i should take care offf.....
Help me out................
Thanks
Supriya. -
Problem with Adaptive Web Service model
Hi All,
I am trying to create a model using Adaptive Webservice.
While I am deploying the application I am getting the following warning message.
I cheked the web serivice throw WSNavigator, It is working properlty.Nov 27, 2008 3:34:56 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
[040]Deployment finished with warning
Settings
SDM host : infpu05445
SDM port : 50118
URL to deploy : file:/C:/DOCUME1/286355/LOCALS1/Temp/temp62998testw.ear
Result
=> deployed with warning : file:/C:/DOCUME1/286355/LOCALS1/Temp/temp62998testw.ear
Finished with warnings: development component 'testw'/'local'/'LOKAL'/'0.2008.11.27.15.34.48':
Caught exception during application startup from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Error occurred while starting application local/testw and wait. Reason: Clusterwide exception: server ID 12403050:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application ''local/testw'' for startup. Reason=Clusterwide exception: Failed to start dependent library ''tc/wd/wslib'' of application ''local/testw''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1490)
at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:231)
at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:179)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:317)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:227)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4684)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4589)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4562)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : Got problems during deployment
Can you all please let me know is the problem with model creatuion or Web Service configuration.
Thanks,
Archana.It seams that the component 'tc/wd/wslib' is not well deployed on your server. You should redeploy it on your server.
-Go to nwds, Development infrastructure perspective
-Expand the FRAMEWORK item, there is the 'tc/wd/wslib' normally
Deploy :
-Open the menu Window > Show view > Other and open the Undeploy View
-In the undeploy view expand the FRAMWORK item and locate the tcwdwslib (it ther is no such application, then go directly to deploy steps after)
-Add the to the undeploy list (+ button)
-Click undeploy (blue button near + button
When it is undeployed, you can redploy it:
-In the Componenet Browser, locate the 'tc/wd/wslib' in the FRAMWORK as befor
-Right-click and click Deploy and click OK
If it not working, try the same (undeploy/dredploy) with 'tc/wd/wslib/api'
Check also that the dependencies of your project should have 'tc/wd/wslib/api' and not tc/wd/wslib/
Hope it will help you
Quentin -
Does ws adapter only work with asynchronous web service?
Hi all,
can you please confirm whether or not ws adapter (PI 7.1) only works with asynchronous web service?
I have created an async. outbound service interface in PI 7.1, generated the client proxy in ECC, created an web service based on the proxy, wrote a test program to call the web service (PI scenario uses ws adapter in the sender CC). Everything works fine.
Then I did the same thing with sync. outbound service interface. I got exception while calling the web service in ECC.
I've heard that ws adapter is designed for async. communication. Does it mean that it won't work with sync. web service?
I haven't seen any official SAP document saying taht ws adapter only works for async. web service. If you have any, can you please share it?
Thanks
JaysonThank you all for your information.
The error I got when calling the proxy with logical port (web service) is:
SOAP:1,007 SRT: Unsupported xstream found: ("HTTP Code 404 : Not Found")
I will debug it to see what exactly happens. And will keep you guys updated.
Just debugged, the error is because the http header's content type is text/html while it should be test/xml. However this type is set by the ws runtime, not by the application. Anybody has an idea about this?
Jayson
Edited by: Jayson on Feb 18, 2009 10:04 AM
Edited by: Jayson on Feb 18, 2009 12:11 PM -
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 -
Create adaptive web service model for a web dynpro project
I have been trying to create a new new adaptive web service model for a web dynpro project.I am using the URL of the wsdl file to create the model. I have copied the url link of the wsdl from the overview tab of the web services navigator. The web service works fine when tested through the Netweaver Navigator. This web service has also been used successfully through the Visual Composer. But when I try to create a model for this web service URL, when I click the Next button after entering the URL in the model creation wizard step 4 , I get "Error loading wsdl file. Check error log for details" Given below is the exception recorded in the error log: (Infact, I get this for all wsdl URLs)
!MESSAGE Jun 6, 2007 9:44:59 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:\java\j2sdk1.4.2_09
proxyHost:
proxyPort:
nonProxyHosts:
Temporary Directory: C:\DOCUME1\E51914\LOCALS1\Temp\
WSDL URL: http://etcvpcod108:50100/UserService/Config5?wsdl
Exception : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL http://etcvpcod108:50100/UserService/Config5?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:\java\j2sdk1.4.2_09, DynamicProxy.TempDir=C:\DOCUME1\E51914\LOCALS1\Temp\, DynamicProxy.INetProxy.Host=}
!STACK 0
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://etcvpcod108:50100/UserService/Config5?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:\java\j2sdk1.4.2_09, DynamicProxy.TempDir=C:\DOCUME1\E51914\LOCALS1\Temp\, DynamicProxy.INetProxy.Host=}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
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:149)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
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:411)
... 53 moreHi Srikanth,
My version was
Version: 7.0.09
Build id: 200608262203
I was able to successfully import the model after I did the following
1. Re intsall Studion (same version , same build)
2. Reset the proxy settings to not use Proxy server
Thanks for looking into it though...
-Lakshmi -
Problem executing a web service using adaptive web service model
Hi,<br/>
I'm trying to execute a web servide using the adaptive web service model. The web service is generated by a java web application using apache axis 1.2<br/>
I can import the model without problems, but when I try to run the application (containing a form for parameters, a button to execute the web service and a table to show results) it gives the following exception: <br/><br/>
<code>
java.lang.IllegalArgumentException: Target role name 'GetProductMaster' not defined for model class 'Request_GetProductMaster'
at com.sap.tc.webdynpro.model.webservice.base.model.BaseGenericModelClass.retrieveTargetRoleInfo(BaseGenericModelClass.java:93)
at com.sap.tc.webdynpro.model.webservice.base.model.BaseGenericModelClass.getRelatedModelObject(BaseGenericModelClass.java:388)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass.getRelatedModelObject(WSTypedModelClass.java:66)
at com.baufest.goe.wstest.model.Request_GetProductMaster.getGetProductMaster(Request_GetProductMaster.java:46)
at com.baufest.goe.wstest.app.wdp.IPublicTestWS2App$IGetProductMasterNode.doSupplyElements(IPublicTestWS2App.java:529)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:406)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
at com.sap.tc.webdynpro.progmodel.context.Node.createMappedElementList(Node.java:498)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:393)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:333)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:615)
at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:897)
at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:852)
at com.sap.tc.webdynpro.progmodel.context.Paths.isValid(Paths.java:612)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField._isValidBindingOfPrimaryProperty(AbstractInputField.java:1167)
at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:364)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Label._isEnabled(Label.java:115)
at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:364)
at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.LabelAdapter.getEnabled(LabelAdapter.java:213)
at com.sap.tc.ur.renderer.ie6.LabelRenderer.render(LabelRenderer.java:84)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:790)
at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:376)
at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:326)
at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:79)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254)
at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210)
at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1042)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:455)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1229)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
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:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
</code>
<br/><br/>
The model is imported without errors, and gives the following tree:<br/><br/>
<ul>
<li>ProdMast</li>
<ul>
<li> Model Classes</li>
<ul>
<li> GetProductMaster</li>
<li> GetProductMasterResponse</li>
<ul><li> GetProductMasterReturn</li></ul>
<li> Product</li>
<li> Request_GetProductMaster</li>
<ul><li> GetProductMaster</li>
<li> Response</li></ul>
<li> Response_GetProductMaster</li>
<ul><li> Fault</li>
<li> GetProductMasterResponse</li></ul>
<li> WebServiceException</li>
</ul></ul></ul>
<br/><br/>
If you know what could be causing this problem or a way to make it work please let me know<br/>
Thanks,<br/>
GuillermoThe WSDL that I'm using (generated by Apache Axis) is the following:<br/><br/>
<code>
<?xml version="1.0" encoding="UTF-8"?><br/><wsdl:definitions targetNamespace="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:intf="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:tns1="http://ws.web.test.company.com" xmlns:tns2="urn:Product" xmlns:tns3="urn:WebServiceException" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><br/><!WSDL created by Apache Axis version: 1.2<br/>Built on May 03, 2005 (02:20:24 EDT)><br/> <wsdl:types><br/> <schema elementFormDefault="qualified" targetNamespace="http://ws.web.test.company.com" xmlns="http://www.w3.org/2001/XMLSchema"><br/> <import namespace="urn:WebServiceException"/><br/> <import namespace="urn:Product"/><br/> <element name="getProductMaster"><br/> <complexType><br/> <sequence><br/> <element name="sessionId" type="xsd:string"/><br/> <element name="language" type="xsd:string"/><br/> </sequence><br/> </complexType>>
</element><br/> <element name="getProductMasterResponse"><br/> <complexType><br/> <sequence><br/> <element maxOccurs="unbounded" name="getProductMasterReturn" type="tns2:Product"/><br/> </sequence><br/> </complexType><br/> </element><br/> </schema><br/> <schema elementFormDefault="qualified" targetNamespace="urn:Product" xmlns="http://www.w3.org/2001/XMLSchema"><br/> <import namespace="urn:WebServiceException"/><br/> <complexType name="Product"><br/> <sequence><br/> <element name="num_conv_stat_cs" nillable="true" type="xsd:int"/><br/> <element name="cat_desc" nillable="true" type="xsd:string"/><br/> <element name="prod_typ" nillable="true" type="xsd:string"/><br/> <element name="dst_chan" nillable="true" type="xsd:string"/><br/> <element name="old_prod_nbr" nillable="true" type="xsd:string"/><br/> <element name="slsorg" nillable="true" type="xsd:string"/><br/> <element name="id" nillable="true" type="xsd:string"/><br/> <element name="div" nillable="true" type="xsd:string"/><br/> <element name="nwt_val" nillable="true" type="xsd:decimal"/><br/> <element name="sls_uom" nillable="true" type="xsd:string"/><br/> <element name="den_conv_alt_uom" nillable="true" type="xsd:int"/><br/> <element name="nwt_un" nillable="true" type="xsd:string"/><br/> <element name="num_conv_layer" nillable="true" type="xsd:int"/><br/> <element name="prod_grp" nillable="true" type="xsd:string"/><br/> <element name="brn_desc" nillable="true" type="xsd:string"/><br/> <element name="hilgt" nillable="true" type="xsd:string"/><br/> <element name="num_conv_pl" nillable="true" type="xsd:int"/><br/> <element name="den_conv_stat_cs" nillable="true" type="xsd:int"/><br/> <element name="den_conv_layer" nillable="true" type="xsd:int"/><br/> <element name="extl_prod_nbr" nillable="true" type="xsd:string"/><br/> <element name="net_vol_un" nillable="true" type="xsd:string"/><br/> <element name="num_conv_alt_uom" nillable="true" type="xsd:int"/><br/> <element name="den_conv_pl" nillable="true" type="xsd:int"/><br/> <element name="bs_uom" nillable="true" type="xsd:string"/><br/> <element name="net_vol_val" nillable="true" type="xsd:decimal"/><br/> <element name="prod_desc" nillable="true" type="xsd:string"/><br/> </sequence><br/> </complexType><br/> </schema><br/> <schema elementFormDefault="qualified" targetNamespace="urn:WebServiceException" xmlns="http://www.w3.org/2001/XMLSchema"><br/> <import namespace="urn:Product"/><br/> <complexType name="WebServiceException"><br/> <sequence/><br/> </complexType><br/> </schema><br/> <schema elementFormDefault="qualified" targetNamespace="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns="http://www.w3.org/2001/XMLSchema"><br/> <import namespace="urn:WebServiceException"/><br/> <import namespace="urn:Product"/><br/> <element name="fault" type="tns3:WebServiceException"/><br/> </schema><br/> </wsdl:types><br/> <wsdl:message name="WebServiceException"><br/> <wsdl:part element="impl:fault" name="fault"/><br/> </wsdl:message><br/> <wsdl:message name="getProductMasterRequest"><br/> <wsdl:part element="tns1:getProductMaster" name="parameters"/><br/> </wsdl:message><br/> <wsdl:message name="getProductMasterResponse"><br/> <wsdl:part element="tns1:getProductMasterResponse" name="parameters"/><br/> </wsdl:message><br/> <wsdl:portType name="WebMasterData"><br/> <wsdl:operation name="getProductMaster"><br/> <wsdl:input message="impl:getProductMasterRequest" name="getProductMasterRequest"/><br/> <wsdl:output message="impl:getProductMasterResponse" name="getProductMasterResponse"/><br/> <wsdl:fault message="impl:WebServiceException" name="WebServiceException"/><br/> </wsdl:operation><br/> </wsdl:portType><br/> <wsdl:binding name="WebMasterDataSoapBinding" type="impl:WebMasterData"><br/> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><br/> <wsdl:operation name="getProductMaster"><br/> <wsdlsoap:operation soapAction=""/><br/> <wsdl:input name="getProductMasterRequest"><br/> <wsdlsoap:body use="literal"/><br/> </wsdl:input><br/> <wsdl:output name="getProductMasterResponse"><br/> <wsdlsoap:body use="literal"/><br/> </wsdl:output><br/> <wsdl:fault name="WebServiceException"><br/> <wsdlsoap:fault name="WebServiceException" use="literal"/><br/> </wsdl:fault><br/> </wsdl:operation><br/> </wsdl:binding><br/> <wsdl:service name="WebMasterDataService"><br/> <wsdl:port binding="impl:WebMasterDataSoapBinding" name="WebMasterData"><br/> <wsdlsoap:address location="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData"/><br/> </wsdl:port><br/> </wsdl:service><br/></wsdl:definitions><br/>
</code> -
Email web service example as an Adaptive Web Service Model
Hi All,
I am using email web service example as an Adaptive Web Service Model in my Web DynPro application (The WSDL of the application that I use is:
http://www.abysal.com/soap/AbysalEmail.wsdl). While loading the WSDL file I am getting following error in log file. Could someone please help me what would be the problem?
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:149)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
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:411)
... 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:146)
... 56 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect -> java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1028)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1115)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 57 more
Caused by: java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: 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:1008)
... 59 more
Thanks,
NareshHi Naresh,
See if any of the following threads help, all are related to the same wsdl:
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=54635">https://www.sdn.sap.com/irj/sdn/thread?threadID=54635</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=95335">https://www.sdn.sap.com/irj/sdn/thread?threadID=95335</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=58137">https://www.sdn.sap.com/irj/sdn/thread?threadID=58137</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=36756">https://www.sdn.sap.com/irj/sdn/thread?threadID=36756</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=204762">https://www.sdn.sap.com/irj/sdn/thread?threadID=204762</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=37640">https://www.sdn.sap.com/irj/sdn/thread?threadID=37640</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=80384">https://www.sdn.sap.com/irj/sdn/thread?threadID=80384</a>
In most of these threads, the suggestion given has been to try using the following wsdl:
<a href="http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl">http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl</a>
Tutorial related to this web service is:
<a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1">https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1</a>
(page 181)
Bye
Ankur
Reward points if it helps!! -
Major drawbacks of the adaptive web service model
Hi,
we are developing a web dynpro application using web services as backend and chose the adaptive web service model as client framework.
Recently I ran into some major drawbacks and would like to here your opinion. At the moment Im not sure if we shouldnt change to some client framework like axis and use java bean model instead.
The problems we discovered:
Problems with setting null to primitive types
In a complex type used in wsdl, a double attribute may be null. The model generates this attribute as double object (good - because double java type can not be null), but setting null to this attribute causes an exception:
com.sap.tc.webdynpro.model.webservice.base.exception.BaseModelRuntimeException: Must not assign null to primitive type 'double' of attribute ' someAttribute' in model class ' Complex'
The wsdl looks like this:
<xsd:complexType name="Complex">
<xsd:element minOccurs="0" name="someAttribute" nillable="true" type="xsd:double">
</xsd:complexType>
No support of web service exceptions!
If I create a Java implementation of a web service which throws checked exceptions in its methods, the WSDL is generated accordingly.
A client framework like Axis generates client methods that throw such exceptions. The adaptive web service model doesnt. The fault part of an message in wsdl is generated in the model classes but never filled after an error occurred. Can I retrieve the checked exception and its data somehow?
This is essential for our project!
Did I get something wrong? Are there commons solutions?
Best regards
Dominik> Dominik,
>
> About first issue: this sounds like a bug. Try to
> submit your bug report.
>
> Second problem: if I understand correctly, the
> general code pattern is:
>
> try {
> ws.execute();
> catch (final CMIException cmiException) {
> ...
>
>
>
> Did you try to check cmiException.getCause() ?
>
> Valery Silaev
> SaM Solutions
> http://www.sam-solutions.net
Yes I did. At the end of the cause chain theres a general exception (something like GeneralSoapFault). The message of this exception contains the full qualified name of my exception from the backend and the message.
But I can't find the checked exception. Properties are lost.
If I turn on the log and check the response I can see the xml contains the exception. -
Adaptive RFC Model vs. Adaptive Web Services Model
Hi All,
I would like to compare Adaptive RFC Model and Adaptive Web Services Model
What are pros and cons ? What kind of data can be transferred in both models?
Is there any literature out there (I don't mean tutorials on usage, I've seen those)?
Thanks, JohannesHi Johannes,
Go through below help documents.
Adaptive Web Service Model:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b04308ed-62d5-2910-b3a6-c26771b1c78e
Do and Don't with Adaptive RFC Model:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
Benefits and important infomation about the Adaptive Webservice model:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
Once you go through the above mentioned documents, you will understand which one to use in which scenario.
Thanks
Krishna -
Create Adaptive Web Service Model
Hi,
I have a problem by creating an Adaptive Web Service Model.
The WSDL file is rpc encoded style.
We are on NP 7.0.
We get following error in the import screenflow:
Error Mon May 14 13:39:59 CEST 2007 May 14, 2007 1:39:58 PM 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:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;
java.home: C:\Programme\Java
proxyHost: proxy
proxyPort: 80
nonProxyHosts: aok|10.100.*|
Temporary Directory: C:\DOKUME1\YI00468\LOKALE1\Temp\
WSDL URL: D:\Entwicklung\oscare xxx\Arzteinschreibung.wsdl
Exception : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL D:\Entwicklung\oscare xxx\Arzteinschreibung.wsdl and service factory configuration {DynamicProxy.ClassPath=C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=aok|10.100.*|, DynamicProxy.INetProxy.Port=80, DynamicProxy.Javac.path=C:\Programme\Java, DynamicProxy.TempDir=C:\DOKUME1\YI00468\LOKALE1\Temp\, DynamicProxy.INetProxy.Host=proxy}
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'D:\Entwicklung\oscare xxx\Arzteinschreibung.wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=aok|10.100.*|, DynamicProxy.INetProxy.Port=80, DynamicProxy.Javac.path=C:\Programme\Java, DynamicProxy.TempDir=C:\DOKUME1\YI00468\LOKALE1\Temp\, DynamicProxy.INetProxy.Host=proxy}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:149)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
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:411)
... 53 more
Caused by: java.lang.ClassCastException
at com.sap.engine.services.webservices.espbase.client.dynamic.types.impl.MetadataLoader.LoadMetaData(MetadataLoader.java:260)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.initServiceBase(DGenericServiceImpl.java:176)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)
... 56 more
Thank you for help!
Regards,
GerhardGerhard,
Then, I can think of only one possibility. Your WSDL is a RPC/Encoded one.
Try using a WSDL of type Doc/Literal. This should help in identifying the easter egg. I believe that there might be some unsupported tags in your current WSDL.
Bala -
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
Maybe you are looking for
-
On my registered iTunes computer, the following message appears every time one plugs in a device and refuses to load said device to be synced: "This iPod cannot be used because the Apple Mobile Device service is not started". Each device has been reg
-
Creating a cache for a game?
Hi, i'm creating (trying) a game. Now i've been thinking about everything goes and i came with the question about how i to load data about maps, objects etc. It is a 2d game using tiles So i know runescape uses a cache to store their data about these
-
Dear All, I have a scenario where, after an operation in a routing, the next operation is sent for sub-contracting.After the operation is done by the sub-contracting vendor and the semifinished component is received,the operation cost is only to be c
-
How xapp Analytics is different from CRM analytics and sem
Hi, I need some information on how the xapp analytics is differnet from CRM analytics. Is this an upgrade functionality or it is atotaly a different Analytics aplication. If it is a new process need some brief info on this. Thanks Naveen
-
SSD as Scratch Disc, SLC or MLC SSD?
hello i am using a external 512 GB SSD (crucial m4 MLC-SSD) as photoshop cs6 and cc scratch disc and it runs well, i guess. i get round 390/300 MB/sec read/write speeds over usb 3.0 in my imac 27" late 2013. as i want to buy a second 500 GB SSD, woul