Web Service Design Document Template
Hi Experts,
Can anyone please send me the good "Web Service Design Document (Tech Spec) Template" please?
Thanks,
Shriram.
Hi,
I was also getting same error once...However i was able to see my web service definition in F4. Selecting from F4 list was working fine but if i entered the name mannually, i was getting the same message as you got...may be its a Bug..
Just to assist you, Have to activated the webservice from SICF before going for deployment using template or Adobe ?
Just check if you have maintained the webservice in SICF.
Thanks & Regards,
Suchita
Similar Messages
-
Web Service in Document Template Designer not showing
Hi,
I'm trying to create a new document template but the dropdown list is not showing any results even though we have web services that are active and productive.
If I enter the name manually I am getting a "Please enter a valid Service definition name" error message.
Has anybody seen this issue before?
Thanks
GregorHi,
I was also getting same error once...However i was able to see my web service definition in F4. Selecting from F4 list was working fine but if i entered the name mannually, i was getting the same message as you got...may be its a Bug..
Just to assist you, Have to activated the webservice from SICF before going for deployment using template or Adobe ?
Just check if you have maintained the webservice in SICF.
Thanks & Regards,
Suchita -
Problem with web service for document template
Hi, I am trying to set up a web service to use with a word template (I use the template designer). The problem is that when I press the 'Test Page' button in the web service tool, I get an error : "Error retrieving URL to Web service test page ...'. I have searched the forum and made sure that the correct J2EE hostname/port is being used, as well as making sure the user/ password is set for the service. I have no idea how to proceed, please help me!
Best Regards Eva
ps. I can press the WSDL button in the web service tool and the web page opens correctly displaying the xml. Also, I create the template with static text as well as the posts requested by the service and the word document opens displaying only the static text...Hello,
Where have you made this setup. Is it in the WSADMIN or in the SOAMANAGER??
Regards,
Varsha -
Errors when compiling the web service (SAP Web Service Design Tool)
After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
There are errors when compiling the web service.
Is does not say whatu2019s wrong or how I can solve this problem.
Who can help me?
Some notes:
1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
Thanks for any help,
Ron
ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
Edited by: RonKoudijs on Aug 26, 2010 6:28 PMHello Taylan,
I think the error that you received was due to packaging issues.I placed the
UtilClass.java file under a directory called data which was present under
the project directory.
When you want to access a java class, you can either place the compiled
class file in the WEB-INF/classes folder or you can place the java file
under the project directory.
I have attached the sample project that I created with your files.
Let me know if you have any other questions.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"taylan" <[email protected]> wrote in message
news:3d6351b0$[email protected]..
>
I am trying to write a simpe web service in WebLogic Workshop, but havingan error
which I could not understand. Could you please help me? Thanks in advance.
Regards,
Taylan
My web service code is like belows:
import weblogic.jws.control.JwsContext;
import data.*;
public class WebService1
/** @jws:context */
JwsContext context;
* @jws:operation
public UtilClass testType(UtilClass tTest){
UtilClass returnObj=new UtilClass();
if(tTest.getName()!= null){
returnObj.setName(tTest.getName());
return returnObj;
and my UtilClass is placed in the data directory under the same directorywith
my web service code. It is a simpe class as belows:
package data;
public class UtilClass
private String name;
public void setName(String name){
this.name=name;
public String getName(){
return name;
However I got an error when I try to compile the webservice class. Theerror is
like belows:
File Line Message
WebService1.jws 0 Resource found on system classpath: data.UtilClass
Build complete - 1 error(s), 0 warning(s)
[ngroup.zip] -
SAP Web Services Design Tool on Windows 7 64-bit
Hi,
I have:
- Windows 7 Pro 64-bit
- Crystal Reports 2008 Build 12.3.0.601
- Crystal Reports Server 2008 V1 SP3
I want to install the SAP Web Service Design Tool, but during the installation I get an error message :
Error 1920. Service SAPLicenseService failed to start. Verify that you have sufficient privileges to start system services
I'm administrator of this machine - be sure.
Any idea?
Best regards,
MikeScott,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
A web service design issue with patterns
Hello,
I�d like to ask for your help in the following design issue:
I need to create an email sending web service (with Axis). Only just one method which returns with an integer return code. This handles the following:
- based on the given parameters gets the email addresses from an
LDAP server (with netscape ldap for java)
- makes a cache from them (only after a timeout period will be the cache
refreshed) (don�t know what tool to use for this)
- selects html templates which to be sent based on the given parameters
- sends emails with the appropriate templates (with Velocity)
- the whole process is logged (with log4j)
I have to write the code as generic as possible. I know that some design pattern should be used for this. (some from GoF , and I know there exists design patterns specially created for web services as well).
Could you enumerate me which patterns (and for what part of the program) would be the best choice to solve this problem? I have read through some books about patterns, but don�t have the knowledge to pick up the right one for a concrete problem like this..
Thank you in advance,
nagybalyHello,
I�d like to ask for your help in the following design
issue:
I need to create an email sending web service (with
Axis). Only just one method which returns with an
integer return code. This handles the following:Lots of responsibilities here. You would do well to break this up into several classes that you can test separately.
I would also advise that you not embed all this in a servlet. Make a service that collaborates with several objects to accomplish the task and let the serlvet just call it.
.> - based on the given parameters gets the email
addresses from an
LDAP server (with netscape ldap for java)I'd recommend Spring's LDAP module. Pretty terrific stuff.
cache from them (only after a timeout period will be
the cache
refreshed) (don�t know what tool to use for
this)Maybe EhCache or OsCache or something like that.
- selects html templates which to be sent based on
the given parametersWhere does this come from? Certainly not the LDAP. A relational database? Write a DAO for the document template.
- sends emails with the appropriate templates (with
Velocity)Have an e-mail sender service using Java Mail.
- the whole process is logged (with log4j)Easily done.
I have to write the code as generic as possible. I
know that some design pattern should be used for
this. No pattern. There might be patterns, if you say that the DAOs to access the LDAP and RDB are patterns.
Stop thinking patterns and start thinking objects.
(some from GoF , and I know there exists design
patterns specially created for web services as
well).Nope.
Could you enumerate me which patterns (and for what
part of the program) would be the best choice to
solve this problem? I have read through some books
about patterns, but don�t have the knowledge to pick
up the right one for a concrete problem like this..
Thank you in advance,
nagybalyYou haven't read them because they aren't there. Your problem is pretty specific, even if it's common.
% -
Hello,
I�d like to ask for your help in the following design issue:
I need to create an email sending web service (with Axis). Only just one method which returns with an integer return code. This handles the following:
- based on the given parameters gets the email addresses from an
LDAP server (with netscape ldap for java)
- makes a cache from them (only after a timeout period will be the cache
refreshed) (don�t know what tool to use for this)
- selects html templates which to be sent based on the given parameters
- sends emails with the appropriate templates (with Velocity)
- the whole process is logged (with log4j)
I have to write the code as generic as possible. I know that some design pattern should be used for this. (some from GoF , and I know there exists design patterns specially created for web services as well).
Could you enumerate me which patterns (and for what part of the program) would be the best choice to solve this problem? I have read through some books about patterns, but don�t have the knowledge to pick up the right one for a concrete problem like this..
Thank you in advance,
nagybalyThis sounds like a known issue which is tracked in ADAPT01103681. Code from a .NET DataProvider is executed twice if the provider has input parameters.
At this time there's no known solution for this. This was submitted to the development team and a fix is expected in Service Pack 2. At this time we have not announced a release date for SP2.
Edited by: David Hilton on Jun 18, 2009 3:02 PM
Corrected spelling. -
Hello!
I would like to generate a document-style web service from a wsdl file. The problem is that when I use it I get the following error:
"operation echoStruct must have exactly one parameter as part of the SOAP body when used with a document-bare binding. All other parameters must be mapped to headers."
A similar message is shown with other wsdl file that I'm using.
I'm attaching the file that use to test it.
Could you help me and tell me how I can fix it, please? or is it a bug?
Regards,
Antonio.
<definitions xmlns:s1="http://soapinterop.org" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://soapinterop.org/xsd" xmlns:s2="http://soapinterop.org/AbstractTypes" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://soapinterop.org">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd">
<s:import namespace="http://soapinterop.org"/>
<s:element name="echoStructParam" type="s0:SOAPStruct"/>
<s:complexType name="SOAPStruct">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="varFloat" type="s:float"/>
<s:element minOccurs="1" maxOccurs="1" name="varInt" type="s:int"/>
<s:element minOccurs="0" maxOccurs="1" name="varString" type="s:string"/>
</s:sequence>
</s:complexType>
<s:element name="echoStructReturn" type="s0:SOAPStruct"/>
<s:element name="echoStringArrayParam" type="s1:ArrayOfString"/>
<s:element name="string" type="s:string"/>
<s:element name="echoStringArrayReturn" type="s1:ArrayOfString"/>
<s:element name="echoStringParam" type="s:string"/>
<s:element name="echoStringReturn" type="s:string"/>
</s:schema>
<s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org">
<s:import namespace="http://soapinterop.org/xsd"/>
<s:complexType name="ArrayOfString">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" ref="s0:string"/>
</s:sequence>
</s:complexType>
<s:element name="ArrayOfString1" nillable="true" type="s1:ArrayOfString1"/>
<s:complexType name="ArrayOfString1">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
</s:sequence>
</s:complexType>
<s:element name="string" nillable="true" type="s:string"/>
</s:schema>
<s:schema targetNamespace="http://soapinterop.org/AbstractTypes">
<s:complexType name="StringArray">
<s:complexContent mixed="false">
<s:restriction base="soapenc:Array">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="String" type="s:string"/>
</s:sequence>
</s:restriction>
</s:complexContent>
</s:complexType>
</s:schema>
</types>
<message name="echoStructSoapIn">
<part name="echoStructParam" element="s0:echoStructParam"/>
</message>
<message name="echoStructSoapOut">
<part name="echoStructResult" element="s0:echoStructReturn"/>
</message>
<message name="echoStringArraySoapIn">
<part name="echoStringArrayParam" element="s0:echoStringArrayParam"/>
</message>
<message name="echoStringArraySoapOut">
<part name="echoStringArrayResult" element="s0:echoStringArrayReturn"/>
</message>
<message name="echoStringSoapIn">
<part name="echoStringParam" element="s0:echoStringParam"/>
</message>
<message name="echoStringSoapOut">
<part name="echoStringResult" element="s0:echoStringReturn"/>
</message>
<portType name="WSDLInteropTestDocLitSoap">
<operation name="echoStruct">
<input message="s1:echoStructSoapIn"/>
<output message="s1:echoStructSoapOut"/>
</operation>
<operation name="echoStringArray">
<input message="s1:echoStringArraySoapIn"/>
<output message="s1:echoStringArraySoapOut"/>
</operation>
<operation name="echoString">
<input message="s1:echoStringSoapIn"/>
<output message="s1:echoStringSoapOut"/>
</operation>
</portType>
<binding name="WSDLInteropTestDocLitSoap" type="s1:WSDLInteropTestDocLitSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="echoStruct">
<soap:operation soapAction="http://soapinterop.org/" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="echoStringArray">
<soap:operation soapAction="http://soapinterop.org/" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="echoString">
<soap:operation soapAction="http://soapinterop.org/" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="WSDLInteropTestDocLit">
<port name="WSDLInteropTestDocLitSoap" binding="s1:WSDLInteropTestDocLitSoap">
<soap:address location="http://mssoapinterop.org/asmx/wsdl/InteropTestDocLit.asmx"/>
</port>
</service>
</definitions>Dev update: WSDL file seems fine. The problem is that it's for a document-bare service and, by default, the Unwrap Wrapped Parameters option on step 2 of the top-down wizard is enabled and checked. This means that we try to pick apart the input message into a series of parameters, yielding the error shown because a document-bare operation must have only one input parameter.
If the Unwrap Wrapped Parameters option is unchecked, creation of the top-down service will succeed. In future, we ought to disable the option completely for everything but document-wrapped services, as that's the only time it applies.
This is covered by bug 4630382. -
Hi,
I am developing an application which interacts with LDAP. Once I develop this application, I should have wrap the sesion bean as web service.
My questions are
(1). Do we need to represents LDAP containers as value objects? Like if the tree has Printers, Files, Accounts then shld we create PrinterValueObject, FilesValueObject ,AccountValueObject and associations?
(2). Do we have any design patterns to interact with LDAP and expose them as web service?Wanted to understand a bit more : currently I have a command line utility which runs on PI server. I want to make a GUI verison of it (it should use same credentials as a user would use to log on to SAP) and basically send a url of this GUI to the SAP users. This will be regarded as publishing or consuming of web serives ? or is it something else?
Secondly ,I have PI 7.1 with EHP 1 : how will I accomplish this process?
If you could provide details ,it would be appreciated.
Thank you -
we have to create a web service that will be deployed to oas 10.1.3.0
the web service has to consume a lot of parameters describing a membership iof a motorclub. the incoming data has to be validated and if all the validations pass, stored in the database. we already have some logic implemented in plsql, but the code cannot be reused completely because some rules get changed for the project. a membership can have 0-n associates
what would be a preferable approach (performance, flexibility, maintenance, etc) to design such an application:
1. create a stored procedure that consumes an sql object and wrap it into a web service using jpublisher or jdev wizard
or
2. design the wsdl and create the web service using top->down approach, use O-R mapping framework (toplink or jpa) to insert data into the underlying tables.
thank youHi,
actually from a data perspective it doesn't matter if you display the app on iPad or smart phone. The Service could be easily build with EJB and ADF BC (your choice as both support nested objects (for ADF BC you need to ensure you set it on the view link as explained in the documentation)). Here are some design considerations
1. expose a method on the service that takes an input argument for the order to display (usually Long or Integer)
2. The service should return a collection (List)
3. The compoent on the mobile to allow master/detail views is the list item. In your case though you only have a single master record (order) and multiple detail records so that I would a read only form for the order and a panelList for the details. On click on a detail item in the list you can then navigate to the detailed detail information
Frank -
Web Services,Delivery Document Adding Error Could not commit Transaction
Dear All,
I am working with SAP Business One Web Services, While adding Delivery Document it's giving error "Could not commit transaction" Please Give your Suggestion It's urget.
Thanks,
Madhu
9701155577Hi,
Do you mean there is no journal entry created orthat the link is missing?
If this really is a delivery for stock/inventory items there should be a journal entry, else it sounds like an error in SAP.
Are there still changes in the stored procedure? Also have a look at the TansactionNotice. It is possible the roll back does not work correctly.
Again sounds like an error.
Doe sit happen all the time?
Only for certain items?
Are the stored procedures now clean?
What Version are you using?
Kind Regards,
Friederike -
Web services design issues.... for a newbie
I have to develop several web services (JDev 9.0.2.822 and 9iAS R2). Almost all examples that can be downloaded from OTN expose simple web services that user java datatype like strings, ints and the like. In my case, the web services I should develop transfer custom information which are modeled as value classes or entity EJB's in my app. We deal with complex objects which contain collections/arrays/lists of other objects, and although most of the bussiness logic of the app is exposed via stateless session beanss and clases, I can not select their nethods since there ar no custom serializers for them.
By reviewing the sample newsfeed web service I noticed that int their implementation they decided to "hard-code" the data by doing an XML-query to the db and constructing a custom XML document. this document is returned as a java string so the web-service is, at the end a very simple one, which uses no custom serializers. Of course there is code to create the XML doc, and there should be some XML parsing at the client in order to deserialize the XML into java in order to do something with it.
My question is, is this the "preferred" method to deal with custom complex datatypes. should I include code in my beans and value classes so they "serialize" itself to XML so my web services have to deal with simple java strings? I have no experience in developing serializers, and I can't see why they are used? I am not sure which path should I follow, for example, should I use an array serializer to serialize a collection/array of object or should I better develop a method which will create a custom XML document repesenting the array? Are there any trade-off?
I have to start development right away, so please give me some insinght.
Thanks,
Fedro.Yes, Oracle9iAS is currently production on 9.0.2. The target for OC4J 9.0.3 was end of summer but I have not seen it arrive yet. It is supposed to work in conjunction with 9.0.2 - i.e. you can use the OC4J 9.0.3 with the rest of your Oracle9iAS implementation. I think you are reasonably safe assuming it will be here by year end. I sit on the JDev side of the house so don't have specifics on what their actual delivery dates are but would guess sometime during September. The developer preview of OC4J 9.0.3 is currently available here on OTN as per the headline in the Web services Center at: http://otn.oracle.com/tech/webservices.
There are two big advantages of OC4J 9.0.3:
1. Interoperability testing ... it has been put through the SOAPBuilder's interoperability tests and includes a test suite for you to try it out 9.0.2 is fine here but you have evidence in 9.0.3;
2. Feature/functionality - support for Web services based on JMS, document style Web service support, testing harness at the end-point, J2EE 1.3 certification, custom serialization support (not there in 9.0.2), cleaner PL/SQL based Web services and more - see:
http://otn.oracle.com/products/ias/daily/jul22.html
The development environment that goes along with it is JDeveloper 9.0.3. While OC4J 9.02/9.03 comes with what is called the Web services assembly tool for those who like scripting/command-driven approaches, JDev puts a traditional visual dev environment on top of the OC4J 9.0.3 environment (and also Apache SOAP 2.2/2.3.1, incidently) The developer preview of JDev 9.03 is due out within days here on OTN ... probably Tuesday based on what I understand. JDev 9.0.3 production is scheduled to arrive probably in late September mid-October.
Hope this gives some background to help with your decision.
Mike. -
Web service returning Document
Hi,
I need your help on this:
I have a web service that returns a Document object (its an xml-SVG file).
By direct call to the method "public static Document Chart(Object[] val) {"
it returns a well formed file. When I try it returning a String it is also OK. When I return a Document it sent me errors (Sorry for the long list)
The normal svg file is after the error message.
Can you give me an example how to make a java client to request that xml Document and print it on the screen.
// error
org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:625)
at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:679)
at org.apache.xerces.framework.XMLDocumentScanner$TrailingMiscDispatcher.dispatch(XMLDocumentScanner.java:1496)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at cc432ass3.Client.main(Client.java:90)
Caught SOAPException (SOAP-ENV:Protocol): <h1>Error: 500</h1>
<h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet Error:</b><br><pre>javax.servlet.ServletException: Error building response en
at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:345)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)
</pre>
<b>Root cause:</b>
<pre>java.lang.IllegalArgumentException: No Serializer found to serialize a 'org.jdom.Document' using encoding style 'http://schemas.xmlsoa
at org.apache.soap.util.xml.XMLJavaMappingRegistry.querySerializer(XMLJavaMappingRegistry.java:125)
at org.apache.soap.encoding.SOAPMappingRegistry.querySerializer(SOAPMappingRegistry.java:297)
at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterSerializer.java:98)
at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:260)
at org.apache.soap.Body.marshall(Body.java:141)
at org.apache.soap.Envelope.marshall(Envelope.java:180)
at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:343)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)
</pre>
// ==== here is the svg that I take by direct call
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
<svg width="800" height="500">
<text x="150" y="60" style="font-family: verdana, arial, sans-serif;font-size: 24;
font-weight: bold;fill: #0099ff; stroke: black;
stroke-width: 1">This is a PieChart For CC432 Assignment 3</text>
<circle cx="310" cy="310" r="180" style="fill: black; fill-opacity:0.6;
stroke:none; filter:url(#dropshadow)"/>
<desc>This is a PieChart Solution For CC432 Assignment 3</desc>
<path d="M300,300 L480,300 A180,180 0 0,0 405,155 Z" style="fill: #0000ff;stroke: black; stroke-width: 2"/>
<rect x="550" y="150" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
stroke: black; fill:#0000ff"/>
<text x="590" y="165" style="font-family:verdana, arial, sans-serif;
font - size: 14; fill: black; stroke: none">The value of 1 Data Set is 12.0</text>
<path d="M300,300 L405,155 A180,180 0 0,0 134,232 Z" style="fill: #ffd700;stroke: black; stroke-width: 2"/>
<rect x="550" y="180" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
stroke: black; fill:#ffd700"/>
<text x="590" y="195" style="font-family:verdana, arial, sans-serif;
font - size: 14; fill: black; stroke: none">The value of 2 Data Set is 23.0</text>
<path d="M300,300 L134,232 A180,180 0 1,0 480,300 Z" style="fill: #ff6347;stroke: black; stroke-width: 2"/>
<rect x="550" y="210" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
stroke: black; fill:#ff6347"/>
<text x="590" y="225" style="font-family:verdana, arial, sans-serif;
font - size: 14; fill: black; stroke: none">The value of 3 Data Set is 45.0</text>
<text x="550" y="480" style="font-family: verdana, arial, sans-serif;font-size: 14;
font-weight: bold;fill: #FF0000; stroke: black;
stroke-width: 1">my name</text>
</svg>While returning the document u would have to encode the content using base64 or url encoder, then decode it after the xml is parsed.
-
WebCenter Sites : Consume Web Services and apply templates
Hi,
What is the best approach to consume Web Services or REST Service with Sites?
The idea is to consume some eServices personalized for a connected user and apply different presentation templates for those services to add to Sites pages.
Any Best practices here ?
Regards
JoFor consuming SOAP services inside a delivery template, there used to be the webservices:invoke tag but it was deprecated in version 7.6, and was generally not recommended to use anyway. There are no new tags for consuming SOAP or REST webservices, customers asking to do that are generally advised to reuse the existing libraries and write their client code in java, for example directly in an element/template or custom tag that you use in elements/templates. For performing simple REST queries you could use ics.ReadPage or httpclient.
Sites (was CS) comes with jars for handling SOAP and REST services, such as saaj, xmlbeans, jaxrpc, and jersey. You can use these, but if you run into bugs or limitations with the provided versions be aware that upgrading these jars may break Sites. And similarly, upgrading Sites may change these jars and so break your client code.
Phil -
Web service design trade-offs (TCP read mode vs headers)
If I use HTTP headers, I can stimulate and monitor my LV RT code from a web browser while my PC-based LV code is also talking to the LV RT app. Sometimes, however, the header is the only part that is returned by the web service. In order to fix this occasional nuisance, the headers can be eliminated so that the Read TCP data in Immediate mode doesn't exit when only the header has been returned. Unfortunately, the browser interface (in native, non-JavaScript mode) doesn't work any longer so hitting a simple URL request is useless.
Has anyone found a way to get reliable comms with HTTP headers turned on without having to parse the entire return string line-by-line?Zack.L wrote:
Hi Andy,
Sorry, forgot to post the Source that's use by both AL1.1.4 and AL2.0.1.
Source
begin
insert into scott.json_demo values(:title,:description);
end;
it's failing during the insert?
Yes, it failed during insert using AL2.0.1.
So the above statement produces the following error message:
The symbol "" was ignored.
ORA-06550: line 2, column 74:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-idThis suggests to me that an unprintable character (notice how there is nothing between the double quotes - "") has worked its way into your PL/SQL Handler. Note how the error is reported to be a column 74 on line 2, yet line 2 of the above block should only have 58 characters, so at a pure guess somehow there's extra whitespace on line 2, that is confusing the PL/SQL compiler, I suggest re-typing the PL/SQL handler manually and seeing if that cures the problem.
Maybe you are looking for
-
Still pausing and slow to load pages
I've upgraded to Safari 3.1.1, but I still get long (many second) pauses as pages load. It can take 20-40 seconds to load up the home page for a site like www.imdb.com, 20 seconds for CNN, etc. The blue progress bar will just pause for long periods b
-
How do I get middle-click back button to open in a background tab?
When I middle-click on the back button a new tab loads with the contents of the previous page. How can I get this tab to load in the background?
-
i have a 1tb time capsule and since activating iCloud my back up fails, insufficent disc space, however I have only used 653GB on my iMAC HD, any suggestions welcome
-
I have a problem displaying images in my applets. I am using SDK 1.4. I have run the policytool programme as explained in the the java tutorials. But my problem is that when I try a code like: import javax.swing.*; public class MyApplet extends JAppl
-
Hi, Is there any journal entry template up-loader available for HFM 11.1.1.3.0.956. In earlier versions the journal entry template shipped with HFM, but this might not be the case with the version 11.1.1.3.0.956. Please suggest. Regards, sanjeev