Dashboards web service config file set up
I am new to dashboards and want to understand, how do we make a web service connection to the dashboard?
We previously had the web services set up and never got a chance to set it up, but now there is a need to set it up in our own machines.
The issue exactly being faced right now is:
we tried setting up the web service config file and it works when we execute it ( i.e. I get a URL) but it comes as
http://localhost:2910/QueryService.asmx
which we tried using as " http://localhost:2910/QueryService.asmx?wsdl " in the dashboard connection manager and i am able to get the methods (runSQLQuery etc).
When trying to see the dashboard in the bo Infoview, we get the below error:
To access external data, add a Cross Domain policy file to the external data web server.
Please help me in understanding the issue and significance of all these things.
Any help would be appreciated.
Thanks,
Khushboo
First of all change localhost to proper host name or IP address in connection.
You need to place crossdomain policy file in the root of the web server. Please check this for details:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40c58930-c78f-2f10-cf82-8b90999065cc?overridelayout=t…
http://www.adobe.com/devnet/flashplayer/articles/cross_domain_policy.html
Similar Messages
-
(261936172) Q general Where are the Web Service source files?
Q <general> Where are the source files for a Web Service created
with WebLogic Workshop stored? How do I deploy the Web Service
on a different WebLogic Server? Is there a way to bundle the
Web Service project files manually to distribute them?
Is there a way to configure the directory where Workshop stores
the files?
ANSWER: (by Adam Fitzgerald, [email protected]) The .jws files are stored
in the project folder. This can be located on a local system, although by default
they are in c:\bea\wlserver700b\sample\workshop\applications. The Web Service
structure is understood by WLS 7.0 so by archiving the appropriate folder you
can transfer the Web Service in its entirety from one deployment to another.Hi Dean,
In SharePoint 2013 Designer, the help files are online. They provide tons of general information regarding SharePoint Designer 2013. You can also find help files at:
http://technet.microsoft.com/en-us/library/jj219638%28office.15%29.aspx .
And find a great set of information on SPD 2013 and the new Workflow architecture here:
http://msdn.microsoft.com/library/office/jj163986(v=office.15)
More information, please refer to the link:
http://blogs.msdn.com/b/sharepointdesigner/archive/2012/08/07/welcome-to-sharepoint-designer-2013-customer-preview.aspx
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
You will be greatly appreciated if you can help me on following question:
In a web service mapping file, under <java-xml-type-mapping> element, either <anonymous-type-qname> or <root-type-qname> is valid element according to schema. My question is which one should be used under which situation?
Thanks,
Michael
===========
Mapping file
===========
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
version="1.1">
<package-mapping>
<package-type>test</package-type>
<namespaceURI>http://test/</namespaceURI>
</package-mapping>
<java-xml-type-mapping>
<java-type>test.Status</java-type>
<anonymous-type-qname>{http://test/}Status</anonymous-type-qname>
<qname-scope>complexType</qname-scope>
==========
Schema
==========
<xsd:sequence>
<xsd:element name="java-type" type="j2ee:java-typeType">
<xsd:annotation>
<xsd:documentation>The java-type element is the fully qualified class name of a Java class, primitive, or array type.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<choice>
<xsd:element name="root-type-qname" type="j2ee:xsdQNameType"> <xsd:annotation>
<xsd:documentation>The root-type-qname identifies the WSDL QName of an XML type.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="anonymous-type-qname" type="j2ee:string">
<xsd:annotation>
<xsd:documentation>The anonymous-type-qname identifies the WSDL QName of an anonymous XML type.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</choice>I am stuck here with the same problem - don't know what to do with the (required) Mapping File.
Has anyone found out?
Please let me know.
Best,
Philipp
[email protected] -
Merging web-services.xml files
Good day,
Is there an easier way to merge a custom web-services.xml file with the
one generated by servicegen? It makes it very difficult to have a clean
build when you have to go in and edit the web-services.xml to add your
own types.
Thanks,
SeanThis is no good tool to merge web-services.xml.
You can run servicegen once and get the web-services.xml file, then modify
it as you need.
In your automatic build process, run autotype, then use wspackag to package
your customized web-services.xml.
Thanks,
-Neal
"Sean Garagan" <[email protected]> wrote in message
news:[email protected]..
Good day,
Is there an easier way to merge a custom web-services.xml file with the
one generated by servicegen? It makes it very difficult to have a clean
build when you have to go in and edit the web-services.xml to add your
own types.
Thanks,
Sean -
Why i am I getting Error (5,8) TestCas for a Web Service Test File Generate
why i am I getting the following error for a Web Service Test File Generated by jdeveloper when i run it:
Error (5,8) TestCase not Found
Error(12,14):constructor Object(java.lang.String) not found in java.lang.Objectactually i removed that error by added the junit.jar to my libraries but i am getting a new error when accessing the webservice with a Jdev generated web service proxy:
WARNING: Unable to connect to URL: https://mytest.test.com/WebService/MyTest_1.0/soap.soap due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at project7.proxy.runtime.MyTestSoapBinding_Stub.echoOfficeLocation(MyTestSoapBinding_Stub.java:11977)
at project7.proxy.MyTestClient.echoOfficeLocation(MyTestClient.java:1276)
at project7.proxy.MyTestClient.main(MyTestClient.java:38)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:174)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:150)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:176)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at project7.proxy.runtime.MyTestSoapBinding_Stub.echoOfficeLocation(MyTestSoapBinding_Stub.java:11961)
... 2 more
Process exited with exit code 0.
looks like something to do with the certificate or keystore... how do you add the keystore to JDev.. i tried the JDK cacert but that doesnt work... -
Trouble compiling web service client file
Hi,
I am trying to deploy a test web services implementation on JBoss 3.2.1 and Axis 1.1RC2. The problem is, I cannot even compile my client code (the one that invoke the web services)...it seems that the java compiler cannot locate the following packages:
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import javax.xml.namespace.QName;
even though I have set my classpath (in the environment var part of my Win2k box) to: C:\axis-1_1RC2\lib\axis.jar;C:\axis-1_1RC2\lib\jaxrpc.jar;C:\axis-1_1RC2\lib\saaj.jar;C:\axis-1_1RC2\lib\commons-logging.jar;C:\axis-1_1RC2\lib\commons-discovery.jar;C:\axis-1_1RC2\lib\wsdl4j.jar;C:\axis-1_1RC2\lib\;C:\axis-1_1RC2\[rest of classpath truncated]
Has anyone experienced something similar? I'll award Duke dollars to the first person getting the right solution. Thanks!
Here are the error messages:
C:\web_clients>javac DataUserClient.java
DataUserClient.java:1: package org.apache.axis.client does not exist
import org.apache.axis.client.Call;
^
DataUserClient.java:2: package org.apache.axis.client does not exist
import org.apache.axis.client.Service;
^
DataUserClient.java:3: package javax.xml.namespace does not exist
import javax.xml.namespace.QName;
^
DataUserClient.java:26: cannot resolve symbol
symbol : class Service
location: class DataUserClient
Service myWebServ= new Service(url, "StandardPersonData");
^
DataUserClient.java:26: cannot resolve symbol
symbol : class Service
location: class DataUserClient
Service myWebServ= new Service(url, "StandardPersonData");
^
DataUserClient.java:27: cannot resolve symbolHi,
I had the same problem with my client too. The problem is with your classpath. You have to set it at the command prompt as well as editing the setclasspath.bat file. The full path to where you libs are stored is required. eg:
set classpath=%classpath%;C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\jaxrpc.jar...etc
I tried to set the classpath using %axisDirectory%\lib\axis.jar ...etc but it didnt work for whatever reason. The above method seems to eliminate all errors. At the moment im just running axis 1.1 under tomcat 4.1.
Hope that helps :-) -
Deploying web service ear file
Hi,
I've developed a simple web service using NetWeaver Developer studio 2.0.5 and created an .ear file for deployment to SAP WAS 6.2. While trying to load ear file from the deploy tool it throws an error - "Unable to load ear file". Has anyone seen this error before? Any problems with the NetWeaver and SAP WAS versions? Any suggestions on how to deploy a web service on SAP J2EE 6.2?Hi Dipesh,
well, if you are using J2EE Engine 6.20 you cannot deploy directly from the NetWeaver Developer Studio (as far as I know, this feature is available only after 6.30/6.40 versions).
Also, web services are only partially implemented on J2EE Engine 6.20! So it is possible that the web service you've developed with the Developer studio depends on features that are not available on J2EE Engine 6.20. My recommendation is to give a try to the J2EE Engine 6.40, if possible for you at all.
Finally, there is an alternative to Deploy Tool for deployment on the J2EE Engine 6.20. This is the DEPLOY shell command that you can execute in the server console. For more info about that, refer to the Shell Commands Reference section in the Administration Manual for J2EE Engine 6.20 located here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/administration manual for sap j2ee engine 6.20.pdf
Hope that helps! -
Reading an xml file in the web services java file
I want to read some data in the webservices file.so i am writing my own xml file through which i want to read data.but i am not able to read xml file from web services file.also , i am not able to put xml file in the .ear file,as there is no such tag in servicegen script through which i can add xml file in the .ear file.
i know in case of servlets,i will specify context-param attributes in web.xml,and i can access those in my servlet.can i do anything like this for webservices,and i am not using any servlets for web services.
kindly tell any solution.One possible option to parse an xml-file to a flex XML object:
public function parseConXML(source:String):void
xmlLoader = new URLLoader();
xmlLoader.load(new URLRequest(source));
// Eventlistener: if URL loaded --> onLoadComplete function
xmlLoader.addEventListener(Event.COMPLETE, xmlLoadComplete);
public function xmlLoadComplete(evt:Event):void{
var xml:XML = new XML();
// ignore comments in XML-File
XML.ignoreComments = true;
//ignore whitespaces in XML-File
XML.ignoreWhitespace = true;
// XML-Objekt erstellen
xml = new XML(evt.target.data);
//AFTERWARDS use your xml as your wish -
Does BI Publisher 11g Support Restful Web Services as Data Set
Hi,
Could you tell me if BI Publisher 11g supports the REST API or is SOAP based API required for web services defined as data sets.
Thanks in advance,
JeanThere are External API's which only do JSON outputs. Can this be integrated into a Report? If not, Is there a Enhacement to Add RESTful returning JSON or XML for a Dataset?
-
Web Service WSDL File Generation
hello everybody, I have an outbound interface with sender soap adapter to work as a web service, I tested it by generating the wsdl file in the integration directory, and I tested it with altova xmlspy and it works really fine, but now I have a problem another aplication needs to call the webservice, but when they try to import the wsdl file it turns out that in their system they can only import rpc files and not document style files, is there a way to generate a RPC file from an xi interface, or is there a third tool to do this conversion, or what needs to be done, has anyone found this problem before??? thanks in advance.
Regards,
Julio CesarHi ,
As far as I am aware of ...
3 SOAP encoding styles are there :
SOAP Remote Procedure Call (RPC) encoding, also known as Section 5 encoding, as defined by the SOAP 1.1 specification and later defined in SOAP 1.2 as RPC encodings and conventions
SOAP Remote Procedure Call Literal encoding (SOAP RPC-literal,) uses RPC methods to make the call but uses an XML do-it-yourself method for mar-shaling the data.
SOAP document-style encoding, also known as message-style or document-literal encoding.
Kindly Check this Link out
http://msdn.microsoft.com/msdnmag/issues/03/05/XMLFiles/ -
hello experts
I would like to know how to configure WS to File Scenario.
(if possible all the steps will be appreciated)
thanks
KfirHi kfir goldwasser,
Here is a scenario i'm explaining webservices(SOAP) to file scenario step by step:
SENDER SOAP ADAPTER: The sender SOAP adapter is basically used to send content from remote clients or Web service servers to the XI.
To do the end to end scenario let us consider a simple scenario
IR:
1. source data type
2.target data type
3.MT for Both
4.Message interface for both
5.message mapping
6.interface mapping
ID:
1)Define Serder Comunication channel type SOAP.
in DEFAULT XI PARAMETER you must put Message interface and Namespace of serder structure defined in IR
2) Define Receiver Communication channel.
3)define Receiver Determination
3)define Interface Determination
4)Define Sender agreement
5) Define Receiver Agreemen.
6)Active your changes.
DEFINE WEB SERVICE:
7)go to tool>enviroment>define Web services and put this string
http://<Host>:<Port>/XISOAPAdapter/MessageServlet?channel=:<Bussines_System>:<Communication Channel>.
Example: http://srv-xi01-adm:50000/XISOAPAdapter/MessageServlet?channel=:SCR_D:scr_d_soap_customer_sender
8)next step select MI of list
9)en next step you must define your sender BS and Message Interface.
10) Save Web service.
Test ur service with for example XML-Spy
Steps to make a request using the XML SPY:
1. Open the XML SPY, in the menu go to SOAP Create new SOAP request
2.it will open a new window you will provide the path wsdl file that you have recently save .
3.Click on OK button a new window will be opened which shows the SOAP request
4.In the menu choose SOAP Send request to server
5.Asynchronous Request: If your request is successful you will receive a SOAP response which will be empty response in an asynchronous request .
to configure file receiver adapter take in mind these blogs
File Receiver with Content Conversion
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
For webservice to file scenario:
Plz Do check the following blog:
Invoke Webservices using SAPXI
In your case, receiver is file.. so you need to create Message Interface etc for the file output..
Also refer this document to understand the steps-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
For SOAP see below links
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
An Overview of SOAP
An Overview of SOAP
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
Regards,
Vinod.
Edited by: Vinod Reddy on Jul 1, 2008 9:46 AM -
Dear all,
I have some files (50 files).
if web service have a service flollowing:
upload (String fileName,byte[] content);
But if file more than 10M, how to upload to web service.
Please show me a solution to upload 50 files or more with web service.
Thank and regards.It looks like you just invoke that method with an array of bytes. If you have 50 files, do it 50 times (say, in a loop). You can get the array of bytes with a FileInputStream and a ByteArrayOutputStream, but I'll bet something in the java.nio package can do it more smoothly. (Check the docs; your googling will be as good as mine for that part.)
The details will depend a lot on the web service itself; for that, talk to the provider of the service. -
I am creating a web service from LabVIEW 2009, but I need a wsdl file to be able to query from the client end.
Does LabVIEW 2009 allow me to create one automatically?
If not can anyone help point me in the right direction for creating one.
A.punkmonkey: Could you explain what you mean?
Currently LabVIEW still creates a WSDSC file which really doesn't conform to the WSDL standard.
This is primarily due to the fact that our websites are based on RESTful architecture, where as you would likely need to be SOAP based in order to get a WSDL file.
Applications Engineer
National Instruments
CLD Certified -
SharePoint 2013 Infopath Web Service Get File within list permissions
Hello,
I am looking for a web service to pull a form within a form libraries permissions. So a user creates a form and requests access for him/herself and whomever he/she wants to have access to the form, I then go to file share with and grant only these
people access. lets say I now have 2000 forms and and I want a column that says these people have been granted access to this file instead of clicking each file going to properties and checking share with permissions. What web call would I use
for this, been searching and keep finding how to share with people instructions and now how to use a web service to pull the names.Hi Ahmed,
Please go to task list page and click customize form, then publish it in the InfoPath form designer.
Now add a new page in SharePoint site, insert task list web part, then insert an InfoPath form web part. Click the triangle on the top right corner > Edit web part > Connections > Get form from, see if you could select task now.
Regards,
Rebecca Tu
TechNet Community Support -
Hello,
Can I get a definitive answer on this question please?
If we use ODI to interract with an external web service, must the web
service's response (in XML) be written to a file on disk? Is it possible
to receive the XML response and process it without it first being
written to disk?Hi Brian,
You need to write the XML response into a file and then process it using an interface.
-Julien
Maybe you are looking for
-
help!!! i had an iphone4s and now a iphone 5c i need help restoring the new phone to what it had at last update.... i lost all my pics, any new contacts, texts, notes etc. all apps i downloaded new are there, but everything else gone, someone said i
-
How to see movies In my IPAD IOS 8.2? Specially popcorntime
How to see movies In my IPAD IOS 8.2? Specially popcorntime
-
Missing segment in invoice idoc
Problem: A segment in IDOC is missing. This contains the internal record text of a pricing condition type... when i look at the condition type, no changes were made to it since it's creation and it is automatically determined in the pricing condition
-
Javascript error: object expected
hai.. i used two javascript show(),hide(id) methods for particular page items... i had called those methods from the templates bcoz im passing some id from the template that is needed in the page level javascripts... now my problem is for some i didn
-
Jaxb unmarshalling and setvalidating()
I am using jaxb 1.0 with jdk1.4 , i am trying to unmarshall the incoming request which a xml. It has a element called attachment list which is mandatory as per the schema. but i dont want my unmarshaller to validate request and throw error instead i