Cosuming web Services in Application services
Hi All,
I have created an application service.I want invoke a operation of a web service in this application service.Application service is expecting a complex data type.
How can i invoke that method?.
can you plz give me some sol?.
Thanks
Sampath.G
Hello Sampath,
I am assuming you are trying to create a CAF application service. This should be possible by simply importing the webservice and choosing the default mapping if you are using CE.
If you are using 04s there is a how to guide on consuming webservices in CAF
Regards
Abdul
Similar Messages
-
Cosuming web service using consumer proxy - not getting the output
Hello All,
I am not getting the consumer proxy output structue filled though the web service is successfully executed. I did the following steps.
1. Created a webservice form RFC BAPISDORDER_GETDETAILEDLIST
2. Created a consumer proxy for the above created WSDL document.
3. Tested the service by executing the proxy directly by feeding the input in the XML (sales document and partner view). it is working fine
4. Created a program to access the consumer proxy by passing the input(same input as per XML). I am not getting the output in the proxy output structure ( but I can see the RFC is successfully executed and having the right values in the debugging mode).
Is this the issue is due to the date fields (XML cannot consider a blank date )?
Please note: the partner output table parameter in the bapi (output I am looking for ) is not having any date fields.
Please help me to sort out this issue.
Thanks,
GopiHi Gopi,
From your description, I assume you used the SE37 transaction's menu option Utilities -> More Utilities -> Create Web Service -> From the Function Module, to expose the BAPI concerned as a Web Service.
If this is the case, then it is possible that you are falling foul of your SAP User ID not having the necessary Remote Function Call authorization to execute the BAPI.
A prerequisite for successfully calling an RFC-enabled Function Module (which is what a BAPI is) is that the User ID used to call the function module must have the required RFC authorization (Authorization Object S_RFC). For example, when calling function module BAPI_CUSTOMER_GET_ROOT, if the User ID lacks the requisite authorization in the target system, the following error message will be received by the Consuming application:
User <User ID> has no RFC authorization for function group V02HBAPI.
Notice, as you can see from the above message, RFC execution authorization is implemented at the Function Group level, not at the Function Module level. In othere words, granting a user the authorization to a function group (authorization object S_RFC) enables the user to execute all RFC-enabled function modules contained within that function group.
I am guessing the BAPI works for you in debug mode because you are not calling the BAPI remotely.
Let me know if this helps.
Best Regards,
Andy. -
Hi,
How would I consume web service using Java SE ?
Is there any lib i can use ?
import.java.net or something ....
Any input will be good.Creating a web service client means first setting up your environment and making a few decisions about which of the available invocation methods is best for your application.
Have a look at the following links for some pointers:
http://www-128.ibm.com/developerworks/webservices/library/ws-javaclient/
http://java.sun.com/blueprints/guidelines/designing_webservices/
Investing in a decent web services book, like the following, is also a good idea:
Monson-Haefel, R. (2004). J2EE Web Services. Boston: Addison-Wesley. -
Calling a Web Service in CRM . Is WEB UI the right place ?
Dear Friends,
We have some ECC Web Service to read some BP related data available on ECC.
I would like to red this ECC- BP Data in CRM using a readily available Web Service and then disply on WEB UI.
I know how to create a web service in SAP CRM using the new WEB SERVICE tool as well as the old ways of creating a Web Service ( throgh WSADMIN which is obsolete now) . I also know how to cosume web service in a Word Template or Adobe form...
What i dont know and would like to you experrts to help me know is
How can i consume a web service in CRM and read the data on ECC for which this web service is exposed ?
Is it possible to do it in WEB UI or there is any other way ?
Any help in making me understand how to consume a web service in SAP CRM ( to read and use data in WEB UI and not word template or Adobe) is greatly appreciated.
Looking forward for replies.
Thanks & Regards,
SuchitaHi suchita,
There is this useful little search field just on the upper right corner of this page. Ever tried to use it with "webservice consumption"?
My hits from 5 minutes searching:
SDN is a good resource:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40b63d4a-0ff1-2b10-41aa-8a5f65a81ab3
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/202a9cab-0ff1-2b10-f199-a3ba4a2ee18c
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/801a53cc-0ff1-2b10-ffb7-c5e2e8a30276
Sometimes it makes even sense to try the infamous help.sap.com:
http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/frameset.htm
cheers Carsten -
Pros & Cons for consuming web services in ABAP using ABAP PROXY
Hi,
Other then performence is there any other disadvantages like security,etc for consuming web services in ABAP using ABAP proxy?
I really appreciate if some one provide the more details(Pros & Cons ) regarding cosuming web services and I also want to know is there any other way to consume web services in ABAP.
Thanks.<i> is there any other way to consume web services in ABAP</i>
you can use cl_http_client class to make your program to act as http client and post the soap message too webservice. This way you dont need to generate proxy, but you should know the soap message format.
Regards
Raja -
Error while deploying web service in Netweaver application
Hi,
In my group, two members working in the development of a WebDynpro based application. We have created a track and are using the same for development. For our application
the team member 1 created a Dc say DC1 for EJBS(both
entity and session) and another DC say DC2 for the application archieve 'ear'
and activated the two DCS. When another member of
the team is trying to create a webservice in the checked out DC, the
webservice was created successfully but while deploying the
application archive DC it gives an error (details furnished below).
Error:
:Caught exception during application deployment from SAP J2EE Engine's
deploy service:java.rmi.RemoteException: Cannot deploy
application asianpaints.com/pe_mgt_ear.. Reason: Webservices common
deployment exception! The reason is: Error occurred,
trying to update web services for application
asianpaints.com/pe_mgt_ear. . Additional info: none; nested exception
is:
java.lang.Exception:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment
exception! The reason is: Error occurred, trying to update web services
for application asianpaints.com/pe_mgt_ear.
WSDeploymentException: Webservices common deployment exception! The
reason is: Error occurred, trying to parse documentation
for web service NewPEProcessorService. .
So we created one more DC3(referring the entity beans of DC1) and
created the required session bean and webservice in that
DC. It got deployed successfully. Again when we are trying to create
new webservice it got created but the deployment got
aborted with the same error as mentioned above:
The detailed error description we got in both the cases is given below:
Mar 30, 2006 1:07:39 PM /userOut/deploy
(com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy
Thread,5,main]] INFO:
[005]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[/usr/sap/J2E/JC00/SDM/program/log/sdmcl20060330074205.log]/>
<!PATTERN[sdmcl20060330074205.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[ISO8859_1]/>
<!LOGHEADER[END]/>
Mar 30, 2006 1:12:07 PM Info: -
Starting deployment -
Mar 30, 2006 1:12:07 PM Info: Loading selected archives...
Mar 30, 2006 1:12:07 PM Info: Loading
archive '/usr/sap/J2E/JC00/SDM/program/temp/temp35515asianpaints.com~pe_mgt_ear.ear'
Mar 30, 2006 1:12:17 PM Info: Selected archives successfully loaded.
Mar 30, 2006 1:12:17 PM Info: Actions per selected component:
Mar 30, 2006 1:12:17 PM Info: Update: Selected development component
'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'20060330130420' updates
currently deployed development component
'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'8008'.
Mar 30, 2006 1:12:17 PM Info: The deployment prerequisites finished
without any errors. All items are correct.
Mar 30, 2006 1:12:17 PM Info: Saved current Engine state.
Mar 30, 2006 1:12:17 PM Info: Error handling strategy: OnErrorStop
Mar 30, 2006 1:12:17 PM Info: Update strategy: UpdateAllVersions
Mar 30, 2006 1:12:17 PM Info: Starting: Update: Selected development
component
'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'20060330130420' updates
currently deployed development component
'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'8008'.
Mar 30, 2006 1:12:17 PM Info: SDA to be deployed:
/usr/sap/J2E/JC00/SDM/root/origin/asianpaints.com/pe_mgt_ear/J2E_HSSPNEW_D/20060330130420/temp35515asianpaints.com~pe_mgt_ear
.ear
Mar 30, 2006 1:12:17 PM Info: Software type of SDA: J2EE
Mar 30, 2006 1:12:17 PM Info: ***** Begin of SAP J2EE Engine
Deployment (J2EE Application) *****
Mar 30, 2006 1:15:07 PM Info: Begin of log messages of the target
system:
06/03/30 13:12:17 -
06/03/30 13:12:20 - Start updating EAR file...
06/03/30 13:12:20 - start-up mode is lazy
06/03/30 13:12:23 - EAR file updated successfully for 3161ms.
06/03/30 13:12:23 - Start updating...
06/03/30 13:12:24 - EAR file uploaded to server for 525ms.
06/03/30 13:15:07 - ERROR: Not updated. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy
application asianpaints.com/pe_mgt_ear..
Reason: Webservices common deployment exception!
The reason is: Error occurred, trying to update web
services for application asianpaints.com/pe_mgt_ear. . Additional info:
none; nested exception is:
java.lang.Exception:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException:
Webservices common deployment exception! The reason is: Error occurred,
trying to update web services for application
asianpaints.com/pe_mgt_ear. . Additional info: none
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
at
com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate
(WSDeployer.java:274)
at
com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)
at
com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)
at
com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)
at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java
:290)
at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
at
com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)
at
com.sap.engine.services.deploy.server.DeployServiceImpl.update
(DeployServiceImpl.java:584)
at
com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
(DeployServiceImplp4_Skel.java:1278)
at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
(DispatchImpl.java:294)
at
com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
(P4SessionProcessor.java:119)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
tener.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:95)
at
com.sap.engine.core.thread.impl3.SingleThread.run
(SingleThread.java:160) Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices
deployment exception! The reason is: Error occurred, trying to generate
web services deployment files for application
asianpaints.com/pe_mgt_ear. . The error refers to application: none,
jar: , web service: .
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
... 21 more
Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
deployment exception! The reason is: Error occurred, parsing
com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application
asianpaints.com/pe_mgt_ear, web service NewPEProcessorService, location
message: type: jar file, location:
/usr/sap/J2E/JC00/j2ee/cluster/server0/./temp/deploy/work/deploying/reader1143704544275/asianpaints.com~HSSPNEW_UserDetails.j
ar . . Additional info:
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
... 23 more
Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
deployment exception! The reason is: Error occurred, trying to parse
documentation for web service NewPEProcessorService. .
Additional info:
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1586)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDAndDocumentation(WSDefinitionFactory.java:15
60)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:814)
... 26 more
Caused by: java.lang.NullPointerException
at
com.sap.engine.services.deploy.server.DeployServiceImpl.update
(DeployServiceImpl.java:596)
at
com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
(DeployServiceImplp4_Skel.java:1278)
at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
(DispatchImpl.java:294)
at
com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
(P4SessionProcessor.java:119)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
tener.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:95)
at
com.sap.engine.core.thread.impl3.SingleThread.run
(SingleThread.java:160) Caused by:
java.lang.Exception:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The
reason is: Error occurred, trying to update web services for
application asianpaints.com/pe_mgt_ear. . Additional info: none
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
at
com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate
(WSDeployer.java:274)
at
com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)
at
com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)
at
com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)
at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java
:290)
at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
at
com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)
at
com.sap.engine.services.deploy.server.DeployServiceImpl.update
(DeployServiceImpl.java:584)
at
com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
(DeployServiceImplp4_Skel.java:1278)
at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
(DispatchImpl.java:294)
at
com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
(P4SessionProcessor.java:119)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
tener.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:95)
at
com.sap.engine.core.thread.impl3.SingleThread.run
(SingleThread.java:160) Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices
deployment exception! The reason is: Error occurred, trying to generate
web services deployment files for application
asianpaints.com/pe_mgt_ear. . The error refers to application: none,
jar: , web service: .
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
... 21 more
Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
deployment exception! The reason is: Error occurred, parsing
com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application
asianpaints.com/pe_mgt_ear, web service NewPEProcessorService, location
message: type: jar file, location:
/usr/sap/J2E/JC00/j2ee/cluster/server0/./temp/deploy/work/deploying/reader1143704544275/asianpaints.com~HSSPNEW_UserDetails.j
ar . . Additional info:
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
... 23 more
Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
deployment exception! The reason is: Error occurred, trying to parse
documentation for web service NewPEProcessorService. .
Additional info:
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1586)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDAndDocumentation(WSDefinitionFactory.java:15
60)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:814)
... 26 more
Caused by: java.lang.NullPointerException
at
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException.writeReplace(WSDeploymentException.java:64)
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 java.io.ObjectStreamClass.invokeWriteReplace
(ObjectStreamClass.java:896)
at java.io.ObjectOutputStream.writeObject0
(ObjectOutputStream.java:1011)
at java.io.ObjectOutputStream.defaultWriteFields
(ObjectOutputStream.java:1332)
at java.io.ObjectOutputStream.writeSerialData
(ObjectOutputStream.java:1304)
at
java.io.ObjectOutputStream.writeOrdinaryObject
(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0
(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject
(ObjectOutputStream.java:278)
at
com.sap.engine.services.rmi_p4.DispatchImpl.throwException
(DispatchImpl.java:135)
at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
(DispatchImpl.java:296)
... 8 more
For detailed information see the log file of the
Deploy Service.
06/03/30 13:15:07 -
Mar 30, 2006 1:15:07 PM Info: End of log messages of the target
system.Mar 30, 2006 1:15:07 PM Info: ***** End of SAP J2EE Engine
Deployment
(J2EE Application) *****
Mar 30, 2006 1:15:07 PM Error: Aborted: development component
'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'20060330130420':
Caught exception during application deployment from SAP J2EE Engine's
deploy service:
java.rmi.RemoteException: Cannot deploy application
asianpaints.com/pe_mgt_ear..
Reason: Webservices common deployment exception! The reason is: Error
occurred, trying to update web services for application
asianpaints.com/pe_mgt_ear. . Additional info: none; nested exception
is:
java.lang.Exception:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
deployment exception! The reason is: Error occurred, trying to update
web services for application
asianpaints.com/pe_mgt_ear. . Additional info: none
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
at
com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate
(WSDeployer.java:274)
at
com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)
at
com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)
at
com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)
at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java
:290)
at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
at
com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)
at
com.sap.engine.services.deploy.server.DeployServiceImpl.update
(DeployServiceImpl.java:584)
at
com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
(DeployServiceImplp4_Skel.java:1278)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
(DispatchImpl.java:294)
at com.sap.engine.services.rmi_p4.DispatchImpl._run
(DispatchImpl.java:183)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
(P4SessionProcessor.java:119)
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
tener.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:95)
at com.sap.engine.core.thread.impl3.SingleThread.run
(SingleThread.java:160)
Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The
reason is: Error occurred, trying to generate web services deployment
files for application asianpaints.com/pe_mgt_ear. . The
error refers to application: none, jar: , web service: .
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
... 21 more
Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment
exception! The reason is: Error occurred, parsing
com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application
asianpaints.com/pe_mgt_ear, web service NewPEProcessorService, location
message: type: jar file, location:
/usr/sap/J2E/JC00/j2ee/cluster/server0/./temp/deploy/work/deploying/reader1143704544275/asianpaints.com~HSSPNEW_UserDetails.j
ar . . Additional info:
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
at
com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
... 23 more
Caused by:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment
exception! The reason is: Error occurred, trying to parse documentation
for web service NewPEProcessorService. . Additional
info:
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1586)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDAndDocumentation(WSDefinitionFactory.java:15
60)
at
com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:814)
... 26 more
Caused by: java.lang.NullPointerException
(message ID:
com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Mar 30, 2006 1:15:17 PM Info: J2EE Engine is in same state
(online/offline) as it has been before this deployment process.
Mar 30, 2006 1:15:17 PM Error: -
At least one of the Deployments
failed -
Deployment failure happens only when the DC contains a web service; else, it goes through properly.
Can anyone of you indicate where we are going wrong and what should be done to resolve this issue?
Thanks a lot in advance.
Regards,
RaviHi,
You can go to the Visual Administrator -> <SID> -> Server -> Services -> Deploy -> Runtime tab -> option Container at the bottom and see if everything is correct and running in the webservices_container.
If something necessary to the deployment is not started you can select it and click in start.
I hope it helps.
Thanks,
Anderson -
Error while implementing a web service in web dynpro application
HI All,
I am trying to use a webservice in a web dynpro application.
Web service description:- This is a very simple application which takes two String inputs and when submitted displays the string in the concatenated form.
Web dynpro:- I used this web service in the web dynpro as an adaptive web service model.
The Layout design consists of two input fields which are mapped to the request fields
ex : - Request_Add.Add.S1 and Request_Add.Add.S2
A text area to display the response:- Request_Add.Response.AddResponse.Response
And a button which invokes the execute method
public void onActionWebserviceCall(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionWebserviceCall(ServerEvent)
wdThis.wdGetWebserviceCompController().executeRequest_Add();
//@@end
When I am trying to run the application I am getting error:-
Exception on execution of web service with WSDL URL 'http://<Host>:<Port>/EjbWebservice/Config1?wsdl' with operation 'add' in interface 'EjbWebserviceVi_Document'
Kindly reply.
Thanks
NehaHi,
Yes I have tested the web service in Navigator . The WSDL is also properly generated.
I have not publish the web service in UDDI but as per my understanding this is not necessary. please correct me if I am wrong.
Thanks
Neha -
Need info on Standard Web services to pull Order data in CRM from external applications
Hi Gurus,
I have a requirement to pull Order data in CRM from external non-sap application using Web services. Are there any standard SAP provided web services to pull order data based on some input? If yes, can you provide me any kind of documentation related to this?
Appreciate your help on this.
Thanks
LakshmanHi Lakshman,
I have checked further.
Please review below link of the SAP Help documentation :
http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/content.htm?frameset=/en/46/97218e79f115eae10000000a114a6b/frameset.htm¤t_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&node_id=439&show_children=false
and also the link :
–http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=347DD31EB5AB4BC592BD8B29C0981A1B
Hoping that this will be helpful.
Best regards - Christophe -
How To Access HTTPS Web Service in Application Module
I need to know how to access HTTPS web service in application module.
If you can provide the tutorial or guidance to achieve this really appreciate.
Thanks
SameeraUse the Web Service Proxy wizard in JDeveloper to create a class that calls your Web service, and then call this class from code in your AM.
http://docs.oracle.com/cd/E16340_01/web.1111/b31974/web_services.htm#CJAHGIEF -
Passing values between adf application and web services
hi i have a situation where i have jsff page which got username,surname,lastname,email i what to pass this value to my webservices how can i do that. this is how i create my webservicesright click viewControler->web services->web services Data Control
i what to pass the value to webservices workflow i already have a screen in my workflow now i what to pass the adf application values to that webservices am in jdeveloper 11.1.1.6.0
i try this
<af:inputText simple="true"
required="#{bindings.Username.hints.mandatory}"
columns="#{bindings.Username.hints.displayWidth}"
maximumLength="#{bindings.Username.hints.precision}"
shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
value="#{bindings.Username.inputValue}">
<f:validator binding="#{bindings.Username.validator}"/>
<af:setPropertyListener from="#{bindings.Username.inputValue}"
to="#{bindings.start_user_details}"
type="action"/>
</af:inputText>i make my webservices to pass values
<af:inputText simple="true"
required="#{bindings.Username.hints.mandatory}"
columns="#{bindings.Username.hints.displayWidth}"
maximumLength="#{bindings.Username.hints.precision}"
shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
value="#{bindings.Username.inputValue}">
<f:validator binding="#{bindings.Username.validator}"/>
<af:setPropertyListener from="#{bindings.Username.inputValue}"
to="#{bindings.approveUser_username}"
type="action"/>
</af:inputText>
but am geting error reference approveUser_username not found -
Single Sign On and Application with Web Services
My Application Server is set as partner application for SSO so for example this address: http://myserver:80 is SSO enabled.
I have two ADF applications on it with jspx pages and the ADF security is enabled on them. SSO works for these applications (for jspx files).
I added a new application with a web service and deployed this new application. It is on the same application server as those two applications and its security provider in identity management, SSO enabled. Its address is something like:
http://myserver:80/newWebService-Project1-context-root/MyWebService1SoapHttpPort
So I expect to be unable to test web service, but I can and I am not prompted for user name and password.
Regards
FarbodThank you.
Yes I had cleared the cache and in these cases I always use a new browser also.
I deployed a third application without declarative security options (ADF application, no security settings) and this application also didn't ask me for user information though it was under SSO.
Regards
Farbod -
Application-to-application authentication using Calendar Web Services
Calendar Web Services
Application-to-application authentication
(Proxy authentication)
Abstract:
Application-to-application authentication allows services to trust other services without having to authenticate the end-user making use of these services. The Calendar Web Services offers an application-to-application authentication mechanism called âProxy Authenticationâ.
What is Proxy Authentication?
The Calendar Web Services Proxy Authentication is a solution that was developed by the Oracle Calendar team and is similar to what SSO would be to the web. Proxy Authentication allows any application developed using the Calendar Web Services Toolkit to establish a trusted authentication link to the Calendar Server via the Calendar Web Services.
What do I need to get Proxy Authentication going?
- The Calendar Web Services Toolkit 9.0.4.2.X (Calendarlet.jar)
- The Calendar Web Services 9.0.4.2.X (OCAS)
- The Calendar Server 9.0.4.2.X (Calserv)
- Oracle Internet Directory 9.0.4.X (OID)
Your collaboration suite deployment MUST be configured in a way where the Calendar Server is connected to the OID (done by default). This is fundamental given that Proxy Auth is designed to extensively use the OID security schemes.
How to configure Proxy Authentication?
You must have:
1. Access to the OID administrator account.
2. Access to the ldap tools ($ORACLE_HOME/ldap/bin).
3. Access to the Oracle Calendar Server administrator password.
OID Configuration
Create an entry for your application product in OID
The following entry needs to be created:
- cn=OracleContext
- cn=Products
- cn=MyApplicationProduct
The MyApplicationProduct.ldif will look like:
dn: cn= MyApplicationProduct, cn=Products, cn=OracleContext
objectClass: orclContainer
objectClass: top
The command to add the entry is
./ldapadd -h HOSTNAME.COM -p OIDPORT -D "cn=orcladmin" -w PASSWROD -f ./MyApplicationProduct.ldif
Where [HOSTNAME.COM] is the OID server hostname, [PASSWROD] is the password for the OID directory and [OIDPORT] is the OID port.
Create an application entity for MyAppName in OID
The following entry needs to be added to the OID:
- cn=OracleContext
- cn=Products
- cn= MyApplicationProduct
- orclApplicationCommonName=MyAppName
The MyAppName.ldif will look like:
dn: orclApplicationCommonName= MyAppName,
cn= MyApplicationProduct, cn=Products,
cn=OracleContext
objectClass: orclApplicationEntity
objectClass: top
orclApplicationCommonName: MyAppName
userpassword: test1
The command to add the entry is
./ldapadd -h HOSTNAME.COM -p OIDPORT -D "cn=orcladmin" -w PASSWORD -f ./MyAppName.ldif
Ensure the entry is properly configured
Perform an LDAP search to locate the entry's distinguished name:
"orclApplicationCommonName= MyAppName,
cn= MyApplicationProduct, cn=Products,
cn=OracleContext"
./ldapsearch -h HOSTNAME.COM -p OIDPORT -D "cn=orcladmin" -w PASSWROD
-b "cn= MyApplicationProduct,cn=Products,cn=OracleContext"
"objectclass=orclApplicationEntity" "c"
Grant proxy privileges to the new application entity
This creates an entry in OID:
- dc=com
- dc=oracle
- dc=us
- cn=OracleContext
- cn=Products
- cn=Calendar
- cn=UserProxyPrivilege
- uniquemember:
orclApplicationCommonName= MyAppName,
cn= MyApplicationProduct, cn=Products,
cn=OracleContext
From the $ORACLE_HOME/ocal/bin
./unioidconf -grantproxyprivilege \
"orclApplicationCommonName= MyAppName,
cn= MyApplicationProduct, cn=Products,
cn=OracleContext"
NOTE: you need the calendar server admin password.
How to use Proxy Authentication?
Once successfully done configuring your OID and Calendar Server, you must start the real work; coding. It is actually simple to implement.
In your Java application, you will simply change the BasicAuth class with the ProxyAuth class. You then set the end-user identity, along with the proxy application name and proxy application password, you registered a moment ago.
Ex:
ProxyAuth auth = new ProxyAuth();
auth.setApplicationName("orclApplicationCommonName=MyAppName, cn=MyApplicationProduct, cn=Products, cn=OracleContext");
auth.setApplicationPassword(âtest1â);
auth.setName(myUserId);
Your application will no longer need to pass the end-userâs password to the Calendar Web Services. From now on, it is your applicationâs responsibility to authenticate the end-user.
Frederic LeblancI found the solution:
Using the CalendaringResponse.getReceiveBuffer() and getSendBuffer() methods, the soap request looks something like this:
Sendbuffer: <?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<auth:ProxyAuth xmlns:auth="http://www.oracle.com/WebServices/Calendaring/Authentication/1.0/"><ApplicationName>orclApplicationCommonName=MyAppName,cn=MyApplicationProduct, cn=Products, cn=OracleContext</ApplicationName><ApplicationPassword>testpw1</ApplicationPassword><Name>king</Name></auth:ProxyAuth>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<cwsl:Search xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/"><CmdId>MySearchCommandID-1</CmdId><vQuery><From>VEVENT</From><Where>DTEND >= '20061007T220000Z' AND DTSTART <= '20061014T215900Z'</Where></vQuery></cwsl:Search>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope> -
Portal web service consuming in portal application
Hi ,
I have done the following steps and consumed a web service and created a portal service.
When i am consuming this portal service in turn in my application.Its showing the error.
Step 1 :- I Created a portal service.
Step 2 :- And published it as a web service.
Step 3 :- By consuming this web service I created a portal service and uploaded it into the server and started it.
Step 4 :- Now I am using the portal service created from my web service in my application ad I also added the sharing reference of the portal service in this application.
Step 5 :- I configured the proxy.
By going to the path System Administration->System configuration->Service Configuartion.In that under Applications folder--->com.sap.portal.ivs.Httpservice and under this proxy.
Step 6:- And when I am executing my portal component I am getting the following error stack i am getting .
Could anyone help me in this regard.
Portal Runtime Error
An exception occurred while processing a request for :
iView : lokconsumewebservice_Use.webserviceuse
Component Name : lokconsumewebservice_Use.webserviceuse
com.sap.portal.ivs.global.ume.UMECLient.
Exception id: 08:02_30/06/08_0041_4808950
See the details for the exception ID in the log file .
Thanks & Regards,
Lokesh.Hi
Go to
usr/sap/<SID>/JC00/j2ee/cluster/server/logs...if i am not wrong. Pick up the latest one and post logs here for related error.
Koti Reddy -
Problem in deploying Web Service Application on Weblogic Server
Hi,
I am trying to develop a web service application with eclipse, all things goes correct and wsdl also gets formed but the problem occurs when the EAR is deployed. It gives error in publishing the EAR file.
Here is the error i am getting:
Module named 'ftooldev1EAR' failed to deploy. See Error Log view for more detail.
*weblogic.application.ModuleException: [HTTP:101064][WebAppModule(ftooldev1EAR:/ftooldev1)] Error parsing descriptor in Web appplication "D:\eclipse_wspace1\ftooldev1\build\jws\weboutput"*
*com.bea.xml.XmlRuntimeException: invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
* at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)*
* at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)*
* at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)*
* at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)*
* at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)*
* at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)*
* at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)*
* at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)*
* at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)*
* at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)*
* at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)*
* at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)*
* at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)*
* at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)*
* at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)*
* at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)*
* at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)*
* at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)*
* at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)*
* at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)*
* at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)*
* at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)*
* at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)*
* at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)*
* at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)*
* at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)*
* at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)*
* at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)*
* at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)*
* at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)*
* at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)*
* at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)*
* at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)*
* at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)*
* at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)*
* at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)*
* at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)*
* at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)*
* at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)*
* at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
* at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
* at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
* at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)*
* at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
* at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
*invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper$DeploymentProgressListener.watch(WlsJ2EEDeploymentHelper.java:1566)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:470)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1346)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:803)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:623)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:516)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:1075)
at org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand$1.run(StartServerCommand.java:132)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
*Caused by: weblogic.application.ModuleException: [HTTP:101064][WebAppModule(ftooldev1EAR:/ftooldev1)] Error parsing descriptor in Web appplication "D:\eclipse_wspace1\ftooldev1\build\jws\weboutput"*
*com.bea.xml.XmlRuntimeException: invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
*invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1511)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1247)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:346)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
*Caused by: com.bea.xml.XmlRuntimeException: invalid ByNameBean java type: class [Ljava.lang.String; found in com.bea.staxb.buildtime.internal.bts.ByNameBean{com.bea.staxb.buildtime.internal.bts.ByNameBean[java.lang.String[]; t=url-patternType@http://java.sun.com/xml/ns/j2ee]-props=size:0[]}*
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.getRuntimeBindingType(RuntimeBindingType.java:624)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:148)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:199)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1216)
Here is the web.xml of my application:
*<?xml version="1.0" encoding="UTF-8"?>*
*<web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"*
xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
*<servlet>*
*<servlet-name>action</servlet-name>*
*<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>*
*<init-param/>*
*</servlet>*
*<servlet>*
*<javaee:display-name>Apache-Axis Servlet</javaee:display-name>*
*<servlet-name>AxisServlet</servlet-name>*
*<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>*
*</servlet>*
*<servlet-mapping>*
*<servlet-name>AxisServlet</servlet-name>*
*<url-pattern>/servlet/AxisServlet</url-pattern>*
*</servlet-mapping>*
*<servlet-mapping>*
*<servlet-name>AxisServlet</servlet-name>*
*<url-pattern>*.jws</url-pattern>*
*</servlet-mapping>*
*<servlet-mapping>*
*<servlet-name>AxisServlet</servlet-name>*
*<url-pattern>/services/*</url-pattern>*
*</servlet-mapping>*
*<servlet>*
*<javaee:display-name>Axis Admin Servlet</javaee:display-name>*
*<servlet-name>AdminServlet</servlet-name>*
*<servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>*
*<load-on-startup>100</load-on-startup>*
*</servlet>*
*<servlet-mapping>*
*<servlet-name>AdminServlet</servlet-name>*
*<url-pattern>/servlet/AdminServlet</url-pattern>*
*</servlet-mapping>*
*</web-app>*
Edited by: 925692 on Apr 5, 2012 1:38 AM
Edited by: 925692 on Apr 5, 2012 1:40 AM
Edited by: 925692 on Apr 5, 2012 1:40 AMThis behavior might be attributed to Axis inclusion.
Web service actions and wizards supported by Weblogic can be found at:
File->New->Other->Oracle->WebLogic->Web Services
Can you provide more detail about your starting point wsdl? or JWS? and information around what generation actions you used?
Thanks -
How to import or sync Exchange data like Calendar, Contacts with a web application or web service.
1. Is there any API to import contacts and calendar (tasks and events) from exchange server to my calendar in web application using web services or http request. the user would have provided the username and password for his exchange account.
2. Is there any licensing involved to communicate with exchange server for its data.
thanks in advanceI am bit lost here; i have my exchange credentials, how (or) can i use the above mentioned solution for windows application or web services. can you please point in the right direction. my requirement is this: how to sync exchange data with a third party
app or webapp(my development) using EWS. how to start with, starting point and steps to do[just overview ;)].
Maybe you are looking for
-
Can the filter find files with "/" in the name?
I'm importing a lot of files into Aperture. Several files, once imported don't seem to be there because I can't find them when I type in the name of the file. I just found some that have a character in the name :"/". If I type in other parts of the n
-
Acrobat Preferences --- Internet...IE blocking popup - 9 Pro
While using an application that creates adobe PDF documents, the application will render a popup Adobe PDF document when you run a report. When Adobe preferences for Internet are set to "Display PDF in browser", then the popup works just fine and sho
-
Hide Menu Bar from Users Opening Form
Allow Documents To Hide The Menu Bar, Toolbars, And Window Controls I see this in Preferences>Documents, but how does my doc hide the Menu Bar? The doc is a form that hospital patients can fill out in a kiosk, and we don't want them to see the Menu B
-
I need to spool a selected result to a file which should be in my local computer, say in C:\TEMP\, the spool file name is going to assigned to a variable, so that whenever the procedure run, the file can have different filename, such as FJune1, FJune
-
Serious Help! Handling Sound Position And Speed!
Take a look at this: https://sites.google.com/site/pardeepgames/Untitled-1.swf. It may take some time to load, sound is 42 seconds, see the second text field for time buffering. I recommend reading the Source Code below first. Now as you can see the