"Headless Flex" as a Web Services library for Spry
A few weeks ago I asked if there was any way a cross browser
web services library could be built into Spry. This would allow us
to access the SOAP web services that we built for our Flex
application. No positive answer came back on the forum.
It appears that the browsers all have varying ability to act
as a web services client - in many cases it is not possible or
practical due to browser limitations.
That killed my plans for developing a Spry based equivalent
of our Flex application.
It has since occured to me that Flex itself could be used as
the cross platform web services client library used by Spry to get
the required XML data to fill the grids and drive the other Spry
controls. This is "Headless Flex" in which Flex and its ability to
be called by external Javascript could be used to provide cross
browser web services client functionality. "Headless" because Flex
is not used for display or user interface functionality, but for
extending the programming capabilities of the browser and making up
for deficiencies in the browser.
So a question for the Adobe Spry development team - is there
any chance that you might be able to include "Headless Flex" web
services client functionaliy with Spry allowing the seamles fusion
of Spry with web services?
Thanks
Andrew
I have the same problem...
Did you find out the solution?
I would be very grateful
Thanks!
Maria
Similar Messages
-
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 -
Web-services enhancement for MS Word
Hi,
I have done all the steps described in the blog /people/community.user/blog/2008/11/18/web-services-enhancement-for-ms-word-integration-in-crm-2007 about Web-services enhancement for MS Word, but the last step I did not complete successfully.
When I start the template designer no offer structure OUTPUT of web service, the template is blank.
The funny thing is that when I delete the APPEND structure with fields Z, and I press Check button and activate the web service again I have no problem, I start the template designer and reappear standard fields.
Anyone have any idea what happens?
Thanks and regardsHi,
You may have to upgrade your MS word 2003 to MS Word 2007.
Before you do that please opening View > toolbars > Task Pane and check if you can get XML Schema from the web service.
Regards,
Sandeep Chavan -
Web Services Connector for JMX available
We are glad to announce that the Reference Implementation of our Web-Services Connector for JMX Agents, being defined by JSR 262, is available in Early Access on http://ws-jmx-connector.dev.java.net/. This major milestone is aligned with the second Early Draft Review of the Specification in the Java Community Process.
The WS-Connector for JMX is based on the WS-Management protocol, defined by the DMTF. Its greatest benefit is to provide interoperability between a variety of client applications compliant with this standard, including those not based on the Java platform, and any JMX-based instrumentation.
This week, at JavaOne, we will demonstrate examples of this interoperability on stage during the technical session "TS 2656 - JMX Technology: Who's Doing What". We will show in particular how Windows Vista's management tools can use the JVM telemetry instrumentation. Join Eamonn McManus and Jean-Francois Denise, or watch their blogs, for more details on this.
We encourage you to use and provide feedback on the WS-Connector RI early access, which is fully functional and, we believe, already pretty stable.
Note that our implementation of the WS-Management protocol is based on the Wiseman open source project, which lives at http://wiseman.dev.java.net/.
The JMX Team.We are glad to announce that the Reference Implementation of our Web-Services Connector for JMX Agents, being defined by JSR 262, is available in Early Access on http://ws-jmx-connector.dev.java.net/. This major milestone is aligned with the second Early Draft Review of the Specification in the Java Community Process.
The WS-Connector for JMX is based on the WS-Management protocol, defined by the DMTF. Its greatest benefit is to provide interoperability between a variety of client applications compliant with this standard, including those not based on the Java platform, and any JMX-based instrumentation.
This week, at JavaOne, we will demonstrate examples of this interoperability on stage during the technical session "TS 2656 - JMX Technology: Who's Doing What". We will show in particular how Windows Vista's management tools can use the JVM telemetry instrumentation. Join Eamonn McManus and Jean-Francois Denise, or watch their blogs, for more details on this.
We encourage you to use and provide feedback on the WS-Connector RI early access, which is fully functional and, we believe, already pretty stable.
Note that our implementation of the WS-Management protocol is based on the Wiseman open source project, which lives at http://wiseman.dev.java.net/.
The JMX Team. -
Creating web service system for Visual Composer
Hello,
I seem to have made some changes that made my unable to create web service systems for Visual Composer.
The change I made is in NetWeaver Administration > Configuration > Application Resources > WebServicesFactory, I added the Configuration Property "UseCacheByDefault" with Boolean value = true.
After this, if I create a web service system in Enterprise Portal, the Connection Tests fail. In Visual Composer when I define a web service system, the error I am getting is: "Connector Factory not found for value WebServicesFactory".
I have tried to delete the UseCacheByDefault property I added as well as restart the server but I am still getting the error.
However when I test my web service using the Web Services Navigator, I am not getting any problems. So my guess is the problem lies with the connection factory.
Can anyone help me with this issue?
Thanks.Hello,
Since creating WS system in the portal resulted with failed connection test, the issue has nothing to do with VC.
I'm just guessing, but try to configure proxy in the J2EE engine.
If that doesn't help I suggest you raise this question in the portal forum.
Best regards,
Shay -
XML scheme and Web services enhancement for MS Word integration in CRM 2007
Hi,
I am trying to use the Template designer and the web services tool in order to create a MS Word template for the quotation.
We have created a new web service, using the Web Service Tool
(transaction BSP_WD_CMPWB, type WS_DESIGN_TOOL). I can use this web service when creating a quotation word template and everything works fine.
I need to enhance the web service with some custom fields and logic. I found the blog:
Web-services enhancement for MS Word integration in CRM 2007
/people/community.user/blog/2008/11/18/web-services-enhancement-for-ms-word-integration-in-crm-2007
The blog describe how to enhance the web service, extend the output
structure etc.
We have done all the steps in the blog, and everything looks fine. When
we test the web service, using the Web Service Navigator, all the new
fields we added to the output structure are displayed. The WSDL
document also looks fine, displayed from the Web Service
Administration.
The problem occur when try to create the word template using the
Template Designer. The XML scheme is not displayed in the word
document. This only happens if we use an enhanced web service.
Anyone familiar with this issue?
Kind regards,
Johan WigertHi,
You may have to upgrade your MS word 2003 to MS Word 2007.
Before you do that please opening View > toolbars > Task Pane and check if you can get XML Schema from the web service.
Regards,
Sandeep Chavan -
Error on "Open Web Service navigator for selected binding"
Hi All,
I am getting below error when I click on "Open Web Service navigator for selected binding" (3rd link) on SOAMANAGER under WEB SERVICE ADMINISTRATION.
2nd link i.e., Open WSDL document for selected binding working fine.
But when I click on 3rd link as mentioned in beginning, I am getting below error message,
J2EE host or port not specified; define them under "System Settings"
Please suggets steps how to define host or port as mentioned in error message.
Regards,
Saravanan.Hi,
Please follow the steps described below to solve your problem...
define them under "System Settings" -> SOAMANGER -> Technical Configuration -> System Global Settings -> Access information J2EE engine server ->
Host = the name of your server (Java)
Port = the same port that you launched SOAMANAGER
Best Regards,
Vasanth G -
Best SOAP Web Services Architecture for E-Commerce
Hi there,
I have developed an E-Commerce system following the normal way of
developing Java web applications (all classes and JSP files in one Eclipse web project).
I want to modularize the application, I want to split the application into
two applications:
1. The core app, with SOAP web services methods
2. The client (front-end JSP files and some servlets to request/receive responses from the SOAP web services core app)
Basically, I want the servlets in the client app to call the core SOAP web services app for data such as
get product by ID, get customer by ID, etc...
The core SOAP web services app would then return a response in an XML format, which I then
would map to Java objects at the client application.
My questions are:
1. Is this the right way to go?
2. Where should the session management be? At the client app?
Hope you can help?
I have been thinking about a proper architecture for 2 years and honestly it's been giving me sleeping problems.
Thanks!It works. Thanks,
Ioana
"Neal Yin" <[email protected]> wrote:
The error means your EJB is not deployed.
Adding a EJB module to your application.xml file of the ear should fixe
it.
<application>
<display-name />
<module>
<web>
<web-uri>dox_sdi.war</web-uri>
</web>
</module>
<module>
<ejb>DocumentService.jar</ejb>
</module>
</application>
"Ioana Meissner" <[email protected]> wrote in message
news:3cf640cc$[email protected]..
I have used the following example for my own web service with EJBcomponent and SOAP
Message Handler Chain:
http://e-docs.bea.com/wls/docs70/webServices/dd.html#1058208
I have a deployment error:
javax.naming.NameNotFoundException: Unable to resolve'app/ejb/DocumentService.j
ar#DocumentService/home' Resolved: 'app/ejb'Unresolved:'DocumentService.jar#Doc
umentService' ; remaining name 'DocumentService.jar#DocumentService/home'
In attachement is the ear file.
Is there a problem in web-services.xml?
Thanks -
Dou you know if KWm supports Web Services clients?
Thanks[becatelvent],
Dou you know if KWm supports Web Services clients?
ThanksThere is a JSR (JSR-172) with an expert group working to define the web services APIs for J2ME. Sun is the spec lead for this JSR. You can take a look at this JSR at:
http://www.jcp.org/jsr/detail/172.jsp
HTH.
Rgds,
Allen Lai
Developer Technical Support
Sun Microsystems
http://access1.sun.com -
Create web service client for javafx project in netbeans 6.8
I here have a javafx project and need to create a web service client for it (in netbeans 6.8).
However when I right click this project -> new -> web service client -> input wsdl location\package -> finish, it seems that the client code is never generated. This is quite different from what happens when creating web service client for a java project.
Anyone knows how is this happening?Thanks for your reply.
I did write my own ws client code but I need to create a web proxy based on an appointed wsdl path. That requires me to create a web service client from netbeans 6.8, like what I described in my first post. Unfortunately, it's not behaving like what I imagined it should do for a java project, even the javafx file itself doesn't have any error. The error occurs in package definition line.
package fx;For the definition above, it cannot access java.lang.builtins.
The question now is about the possibility to include javafx file in an non-javafx, say, java project. Any comments?
---Regards. -
Flex 4 Web Service Introspection For Dynamic WSDL Locations
In Flex 3, introspecting a web service resulted in a constructor that allowed the location of the web service to change at runtime. It appears that the Web Service introspection tool now only allows the single WSDL URI that was specified in the WS Wizard. It this the case or am I just missing something?
Flex 3 introspected services would create a service class with the following constructor signatures:
private var service:MyWebService;
service= new MyWebService(null, wsdlLocation); // With parameters
or you could use:
service = new MyWebService(); //with no parameters
In Flex 4, it appears that you can only use:
service = new MyWebService();
So if you don't know the web server location until runtime, am I going to need to manually override the instrospected/generated _super_MyWebService.as class in order to get back the ability to point to different servers at runtime?
Anyone know why this has changed, or what the "new" way the Flash Builder 4 web service introspection tool uses for dynamic servers?
Thanks a bunch!In Flex 4, it appears that you can only use:
service = new MyWebService();
add
service.wsdl = "your wsdl";
However if you want this to work you have to remove the hardcoded wsdl from the
superclass otherwise it will not reset it,
C -
How can I use web service call for edit a report with SSRS in Java Struts2 web application
Hello im new in SSRS technologie and I would like make web service call at my SSRS server. Is sombody can help me ?
- What API should I import in my project ? I use Maven can I found this API on Maven repository ?
- I would like have an sample of code which initialize the ReportingService, do the call and process result.
We use the SQL Server ReportingService 2008 R2 and currently we made HTTP call like this : http://<ssr_server>/ReportServer/Pages/ReportViewer.aspx?%2fSSRS_OMB%2fMyReport&rs:Command=Render&MyParam=<value>
RegardsHi ombinte,
SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. Because the Report Server Web service is an XML Web service which uses Simple Object Access Protocol (SOAP) over Hypertext Transfer
Protocol (HTTP), any SOAP-aware application or development tool can communicate with the SSRS web service.
There are three primary ways to develop Reporting Services applications based on the Web service, please see:
Develop applications using Microsoft Visual Studio and the Microsoft .NET Framework SDK.
Develop applications using the rs utility (RS.exe), the Reporting Services script environment.
Develop applications using any SOAP-enabled set of development tools.
For more information about Report Server Web Service, you can refer to the following document:
http://technet.microsoft.com/en-us/library/ms152787.aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Update application which uses Web Services library
Hello!
I am developing an application in which a Web Service is imported into a LabView Library. My virtual instrument (vi) has some functions/references of the Web Service, used from the lvlib.
My problem is that when I update the webservice (change or add a function) or install the webservice on another computer, I need to update or create another library. And after this, I have to re-write the whole vi, or atleast delete all the references and then add them again.
Is there any way that I don't have to delete and re-insert references after updating the library? I couln't find any mention of such problem anywhere on "ni" pages or in forums.
Thanks ahead.
Vaibhav
VaibhavHello Christophe!
Thanks for your concern.
Due to security reasons, two days back I requested the moderator to remove the attachments.
Please send me your email id on which I can send you the files.
Also, I am attaching the screenshots which can equally give explanation of the problem.
As you can see, I have used some functions from my .lvlib which was imported from a machine hosting the webservices. The question is, if I change the ip address of the machine, then I have to recreate the .lvlib and then one by one remove and add functions from the new .lvlib, is there any way that I just update the targetted IP address in these .lvlib or functions?
Best regards,
Vaibhav
Vaibhav
Attachments:
GatewayTempLib.jpg 45 KB
GatewayTempFP.jpg 64 KB
GatewayTempBD.jpg 65 KB -
Flex Builder 3 - Web Service Proxy Generator
Hi guys,
I am investigating the web service proxy generator that is part of FB3. I can't seem to get it working properly and wondered if anyone else has managed to succeed.
I am using WSDL files that are generated from RFC-enabled function modules using the web service browser on a WAS ABAP.
I have chosen two quite simple function modules. RFC_SYSTEM_INFO and BAPI_USER_GETLIST.
The WSDL files are retrieved from the URLs /sap/bc/soap/wsdl11?services=RFC_SYSTEM_INFO and /sap/bc/soap/wsdl11?services=BAPI_USER_GETLIST on my server.
I am following the Adobe documentation at http://livedocs.adobe.com/flex/3/html/help.html?content=data_4.html#151327
Anyway, I generate the proxies and then try to use them.
First I call the RFC_SYSTEM_INFO web service like this...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ws="au.com.yelcho.*">
<ws:RFC_SYSTEM_INFOService id="myWebService" />
<mx:Button label="Call Web Service" labelPlacement="top" click="myWebService.rFC_SYSTEM_INFO_send()" x="97" y="10"/>
<mx:Label x="60" y="43" text="Current Resources"/>
<mx:Text id="txNameOutput1" text="{myWebService.rFC_SYSTEM_INFO_lastResult.CURRENT_RESOURCES}" x="185" y="43"/>
<mx:Label x="54" y="69" text="Maximal Resources"/>
<mx:Text id="txNameOutput" text="{myWebService.rFC_SYSTEM_INFO_lastResult.MAXIMAL_RESOURCES}" x="185" y="69"/>
<mx:Label x="105" y="95" text="RFC HOST"/>
<mx:Text id="txNameOutput2" text="{myWebService.rFC_SYSTEM_INFO_lastResult.RFCSI_EXPORT.RFCHOST}" x="185" y="95"/>
</mx:Application>
At first glance this seems to work, but on closer inspection it turns out that not all the returned XML payload has been extracted properly.
Attributes at the top level, like CURRENT_RESOURCES work fine. Attributes at a lower level, like RFCSI_EXPORT.RFCHOST are empty.
It is even more difficult when I try and call the BAPI_USER_GETLIST service because it requires input parameters. Testing with XMLSpy I found that I need to pass the MAX_ROWS and USERLIST parameters to get the SOAP call to work.
I have been unable to figure out how to pass these parameters so that the web service call takes place properly. I have tried using both the MXML and ActionScript methods.
It is entirely probably that, as I haven't played with Flex for some months, I have forgotten some vital piece of information on how to do this.
Any help would be appreciated.
Cheers
Graham RobboHi Raja,
thanks for your ongoing help with this, but you have confused me again - notr a hard this to do.
When I generate the proxies from BAPI_USER_GETLIST I get the following .as files created..
BAPIRET2.as
BAPIUSNAME.as
BAPIUSSEXP.as
BAPIUSSRGE.as
BAPI_USER_GETLISTResultEvent.as
BAPI_USER_GETLISTService.as
BAPI_USER_GETLIST_request.as
BaseBAPI_USER_GETLISTService.as
BaseBAPI_USER_GETLISTServiceSchema.as
FIELD_type0.as
FIELD_type1.as
FIELD_type2.as
FIELD_type3.as
FIELD_type4.as
FIELD_type5.as
FIRSTNAME_type0.as
FIRSTNAME_type1.as
FULLNAME_type0.as
FULLNAME_type1.as
HIGH_type0.as
HIGH_type1.as
HIGH_type2.as
HIGH_type3.as
IBAPI_USER_GETLISTService.as
ID_type0.as
ID_type1.as
LASTNAME_type0.as
LASTNAME_type1.as
LOGOP_type0.as
LOGOP_type1.as
LOG_MSG_NO_type0.as
LOG_MSG_NO_type1.as
LOG_NO_type0.as
LOG_NO_type1.as
LOW_type0.as
LOW_type1.as
LOW_type2.as
LOW_type3.as
MESSAGE_type0.as
MESSAGE_type1.as
MESSAGE_V1_type0.as
MESSAGE_V1_type1.as
MESSAGE_V2_type0.as
MESSAGE_V2_type1.as
MESSAGE_V3_type0.as
MESSAGE_V3_type1.as
MESSAGE_V4_type0.as
MESSAGE_V4_type1.as
NUMBER_type0.as
NUMBER_type1.as
OPTION_type0.as
OPTION_type1.as
OPTION_type2.as
OPTION_type3.as
PARAMETER_type0.as
PARAMETER_type1.as
PARAMETER_type2.as
PARAMETER_type3.as
PARAMETER_type4.as
PARAMETER_type5.as
RETURN_type0.as
RETURN_type1.as
SELECTION_EXP_type0.as
SELECTION_EXP_type1.as
SELECTION_RANGE_type0.as
SELECTION_RANGE_type1.as
SIGN_type0.as
SIGN_type1.as
SYSTEM_type0.as
SYSTEM_type1.as
TYPE_type0.as
TYPE_type1.as
USERLIST_type0.as
USERLIST_type1.as
USERNAME_type0.as
USERNAME_type1.as
WITH_USERNAME_type0.as
WITH_USERNAME_type1.as
So my question is where do the datatypes...
TABLE_OF_BAPIRET2;
TABLE_OF_BAPIUSSEXP;
TABLE_OF_BAPIUSSRGE;
TABLE_OF_BAPIUSNAME;
TABLE_OF_BAPIUSNAME;
...come from?
Is your proxy generator creating something mine isn't or did you create these yoursefl?
Cheers
Graham Robbo -
Flex/Air and Web Services/Remote Objects
If I'm calling a web service operation, either through the
mx:webservice or mx:remoteobject tags, do I need to configure my
Flex or Air project (I'm using the latest Flex Builder IDE) with
the "use remote object access service" when creating the project?
When do I need to configure services-config.xml or
remoting-config.xml?
Can't I simply call a web service operation by specifying the
endpoint (if using mx:remoteobject) or the wsdl location for the
service and then invoking one of its methods? I'm having a very
difficult time consuming a web service through either method (even
on my own local ColdFusion 8 developer instance) and need some
assistance. I've looked all over the internet for help, but, so
far, without success.
Thanks,
-JoseYou do not need to specify any server to use any of the RPC
protocols.
Have you looked at an example?
You have not said what problems you are having.
Be aware of crossdomain security issues.
Tracy
Maybe you are looking for
-
I just got a new iPod 3g Nano. The battery icon when I took it out of the box was about 6/7ths charged/green. I tried to fully charge it and it never increased to fully green. Plus, when I use it, it doesn't seem like it's losing any of the green col
-
24" LED Cinema Display with my MacBook (2008)
I would be so grateful for some assistance and advice .... Today I received my new 24" LED Cinema Display ... unfortunately, it did not come with any written instructions or directions. I tried to hook it up to my MacBook using the USB connection, bu
-
Hi, for Iphone tips page "see when a message was sent " , then how do I know that the message has been read? Thanks
-
High GUI Time - Causing high Response time
Hi All, Average GUI Response time is approx 400 ms in my ECC 6.0 system, OS - HP UX, Database - Oracle 10.2.0.5. I expect it should always be approx 200 ms, but as it is high it is contibuting to high overall response time. I expect there are normall
-
RFx Response - How to get answers from questions
Hey, I would like to know how to get the answers from questions ( by IAPI or table where they are stored ) and if i can manipulate them. Thanks!