Problem with accessing a web service from outside world
Hello SAP experts
I have a custom BAPI for which I have created a webservice.
If I login as an admin to the BOX where I have installed this SAP server and open an internet explorer window and give the URL, I can access the web service without any problem. This is just a simple BAPI that searches for some data from a table based.
However, when I give the same URL from a different PC, it can open the web service and in the fields if I give the data and click on send button, it fails with an error '500 Internal Server Error '.
I looked for the details of this error on internet and it says that this is some general error and solutions that it suggested doesn't help my scenario.
Has anyone seen this problem before? Any help will be highly appreciated.
Tks
Ram
i have tried the stack trace in the catch but as i said on the statement where i made the object for the service the program just exits. it didn't return any exception or any output.
thanx for refering me any answer.......
Similar Messages
-
Problem in accessing a web service from a desktop client
hello,
i have deployed a webservice on JSAS 9.1 and i test it, its working fine.
then i create a client by using netbeans IDE6.0. the client is a simple java class and i make it webservice client. then after compling i run the client it works fine.
but when i try to run the .jar that the IDE has made after compling the client application, the program close on the statement where i made the Object of the service (i.e. CircleService service = new CircleService();)
try{
CircleService service = new CircleService();
Circle port = service.getCirclePort();
double r = 10.0;
double arearesult = port.area(r);
The webservice is properly deployed as i have tested it from the JSAS admin console.
Can anybody tell me whats the problem? Is there any security issue or someother issue.
nulli have tried the stack trace in the catch but as i said on the statement where i made the object for the service the program just exits. it didn't return any exception or any output.
thanx for refering me any answer....... -
Problem accessing https Web service from behind proxy
Hi all,
I have this constant timeout issue which occurs whenever I try to access the Web service from behind a proxy.
Find below the error logs -
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection timed out: connect
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
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 org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:136)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:100)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:129)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:389)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:87)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:144)
at org.apache.axis.client.Call.invokeEngine(Call.java:2688)
at org.apache.axis.client.Call.invoke(Call.java:2671)
at org.apache.axis.client.Call.invoke(Call.java:2357)
at org.apache.axis.client.Call.invoke(Call.java:2280)
at org.apache.axis.client.Call.invoke(Call.java:1741)
I am using Tomcat 5.0.19 . Could anyone suggest a possible solution to the same?
The system works fine when I use a http endpoint.Hi,
By default, your application tries to connect to the Net directly : if you have to specify a proxy, use either these lines in your code :
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", "proxy");
System.setProperty("http.proxyPort", "8080");
Or specify them in the command line with the "-D"option.
Ex : java .... -Dhttp.proxySet=true .... MyApp
Hope it helps.
See ya -
How to access a web service from a XLet
Hello,
I am new in software development to ITV and I dint find too many usefull information teaching how to access a web service from a XLet running in a STB. Are there anybody who can give me some help, maybe sample or tutorial?
Gratefull
Davidhi,
you can "borrow" the source code from [Yambo a free soft open source presentation engine (AKA XML microbrowser Xlet )|http://www.cineca.tv/labs/mhplab/index-en.html] both local and on a http remote connection.
hope it helps..
bye
andrea -
Access a web service from pl/sql
I am trying to access a web service from pl/sql. I have downloaded the code from
http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
But when I try to execute the sql, I am getting the following error:
SQL> @local.sql
Package created.
Package body created.
No errors.
BEGIN dbms_output.put_line(time_service.get_local_time('94065')); END;
ERROR at line 1:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1022
ORA-12545: Connect failed because target host or object does not exist
ORA-06512: at "WEB.DEMO_SOAP", line 71
ORA-06512: at "WEB.TIME_SERVICE", line 15
ORA-06512: at line 1
It is failing at:
resp := demo_soap.invoke(req,
'http://www.ripedev.com/webservices/LocalTime.asmx',
'http://ripedev.com/xsd/ZipCodeResults.xsd/LocalTimeByZipCode');
But in the examples that I got from downloading source code, site used was:
'http://www.alethea.net/webservices/LocalTime.asmx',
'http://www.alethea.net/webservices/LocalTimeByZipCode');
This site was not accessible. So I changed to the working site as follows, but still I
am getting the above error.
But I can access this site, if I type in the above address in the address bar of IE.
Can any body help?
I have oracle9i client installed on my machine and able to connect to server thru toad and sql plus.
or IF any body refers me to a good website for the topic of "using webservies from pl/sql" that would be great too!Here is the complete code:
time_service:
CREATE OR REPLACE PACKAGE time_service AS
FUNCTION get_local_time(zipcode IN VARCHAR2) RETURN VARCHAR2;
END;
CREATE OR REPLACE PACKAGE BODY time_service AS
-- Location of Web service definition
-- http://www.alethea.net/webservices/LocalTime.asmx?WSDL
-- http://www.ripedev.com/webservices/LocalTime.asmx?WSDL
-- http://www.xmethods.com/sd/2001/CurrencyExchangeService.wsdl
--'http://ripedev.com/xsd/ZipCodeResults.xsd/LocalTimeByZipCode style=document');
FUNCTION get_local_time(zipcode IN VARCHAR2) RETURN VARCHAR2 IS
req demo_soap.request;
resp demo_soap.response;
BEGIN
dbms_output.put_line('before new request..');
req := demo_soap.new_request('LocalTimeByZipCode',
'xmlns="http://ripedev.com/xsd/ZipCodeResults.xsd"');
dbms_output.put_line('before add param..');
demo_soap.add_parameter(req, 'ZipCode', 'xsd:string', zipcode);
dbms_output.put_line('before invoke..');
resp := demo_soap.invoke(req,
'http://www.ripedev.com/webservices/LocalTime.asmx',
'http://ripedev.com/xsd/ZipCodeResults.xsd/LocalTimeByZipCode');
dbms_output.put_line('before return..');
RETURN demo_soap.get_return_value(resp, 'LocalTimeByZipCodeResult',
'xmlns="http://www.ripedev.com/webservices/"');
END;
BEGIN
dbms_output.put_line('inside main time_service..');
END;
show errors
SET serveroutput ON
exec dbms_output.put_line(time_service.get_local_time('94065'));
Here is demo_soap.sql:
Rem
Rem $Header: soapdemo.sql 21-may-2002.13:48:17 rpang Exp $
Rem
Rem soapdemo.sql
Rem
Rem Copyright (c) 2002, Oracle Corporation. All rights reserved.
Rem
Rem NAME
Rem soapdemo.sql - <one-line expansion of the name>
Rem
Rem DESCRIPTION
Rem A PL/SQL demo package for making SOAP RPC calls.
Rem
Rem NOTES
Rem This demo package can only be used in oracle 9ir2. It utilizes 9iR2's
Rem XDB (XMLType and HttpUriType) and 9iR1's enhancements to UTL_HTTP to
Rem make SOAP RPC calls.
Rem
Rem MODIFIED (MM/DD/YY)
Rem rpang 05/21/02 - created
Rem
Rem A PL/SQL demo package that makes a SOAP RPC calls.
Rem
CREATE OR REPLACE PACKAGE demo_soap AS
/* A type to represent a SOAP RPC request */
TYPE request IS RECORD (
method VARCHAR2(256),
namespace VARCHAR2(256),
body VARCHAR2(32767));
/* A type to represent a SOAP RPC response */
TYPE response IS RECORD (
doc xmltype);
* Create a new SOAP RPC request.
FUNCTION new_request(method IN VARCHAR2,
namespace IN VARCHAR2)
RETURN request;
* Add a simple parameter to the SOAP RPC request.
PROCEDURE add_parameter(req IN OUT NOCOPY request,
name IN VARCHAR2,
type IN VARCHAR2,
value IN VARCHAR2);
* Make the SOAP RPC call.
FUNCTION invoke(req IN OUT NOCOPY request,
url IN VARCHAR2,
action IN VARCHAR2) RETURN response;
* Retrieve the sipmle return value of the SOAP RPC call.
FUNCTION get_return_value(resp IN OUT NOCOPY response,
name IN VARCHAR2,
namespace IN VARCHAR2) RETURN VARCHAR2;
END;
show errors
CREATE OR REPLACE PACKAGE BODY demo_soap AS
FUNCTION new_request(method IN VARCHAR2,
namespace IN VARCHAR2)
RETURN request AS
req request;
BEGIN
req.method := method;
req.namespace := namespace;
RETURN req;
END;
PROCEDURE add_parameter(req IN OUT NOCOPY request,
name IN VARCHAR2,
type IN VARCHAR2,
value IN VARCHAR2) AS
BEGIN
req.body := req.body ||
'<'||name||' xsi:type="'||type||'">'||value||'</'||name||'>';
END;
PROCEDURE generate_envelope(req IN OUT NOCOPY request,
env IN OUT NOCOPY VARCHAR2) AS
BEGIN
env := '<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body><'||req.method||' '||req.namespace||'
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">'||
req.body||'</'||req.method||'></SOAP-ENV:Body></SOAP-ENV:Envelope>';
END;
PROCEDURE show_envelope(env IN VARCHAR2) AS
i pls_integer;
len pls_integer;
BEGIN
i := 1; len := length(env);
WHILE (i <= len) LOOP
dbms_output.put_line(substr(env, i, 60));
i := i + 60;
END LOOP;
END;
PROCEDURE check_fault(resp IN OUT NOCOPY response) AS
fault_node xmltype;
fault_code VARCHAR2(256);
fault_string VARCHAR2(32767);
BEGIN
fault_node := resp.doc.extract('/soap:Fault',
'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/');
IF (fault_node IS NOT NULL) THEN
fault_code := fault_node.extract('/soap:Fault/faultcode/child::text()',
'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/').getstringval();
fault_string := fault_node.extract('/soap:Fault/faultstring/child::text()',
'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/').getstringval();
raise_application_error(-20000, fault_code || ' - ' || fault_string);
END IF;
END;
FUNCTION invoke(req IN OUT NOCOPY request,
url IN VARCHAR2,
action IN VARCHAR2) RETURN response AS
env VARCHAR2(32767);
http_req utl_http.req;
http_resp utl_http.resp;
resp response;
BEGIN
generate_envelope(req, env);
-- show_envelope(env);
http_req := utl_http.begin_request(url, 'POST','HTTP/1.0');
utl_http.set_header(http_req, 'Content-Type', 'text/xml');
utl_http.set_header(http_req, 'Content-Length', length(env));
utl_http.set_header(http_req, 'SOAPAction', action);
utl_http.write_text(http_req, env);
http_resp := utl_http.get_response(http_req);
utl_http.read_text(http_resp, env);
utl_http.end_response(http_resp);
resp.doc := xmltype.createxml(env);
resp.doc := resp.doc.extract('/soap:Envelope/soap:Body/child::node()',
'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"');
-- show_envelope(resp.doc.getstringval());
check_fault(resp);
RETURN resp;
END;
FUNCTION get_return_value(resp IN OUT NOCOPY response,
name IN VARCHAR2,
namespace IN VARCHAR2) RETURN VARCHAR2 AS
BEGIN
RETURN resp.doc.extract('//'||name||'/child::text()',
namespace).getstringval();
END;
END;
show errors -
Issue with accessing OES Web services
Hi,
I have a question regarding access OES web services from external application. I am trying to validate the OES WS for Authorization, but I am getting an error - "Error getting response; org.apache.commons.httpclient.NoHttpResponseException: The server failed to respond"
Is there any specific sequence which I need to follow while accessing this web service, such as first the user needs to be authenticated and then access can be determined or like?
Thanks in advance!!Hi Kevin,
Would you be able to tell me how you generate the web service client? And when you manage to generate the client, does it automatically generate <generated_name>_Stub.xml?
Thanks,
Alfonso Agustinus -
Problem with java based Web Services in ADF-.
I have developed a Web service based on the Java class generated through Business components. Steps are as below:-
1) Created a Read only View Object with EmpDeptViewObj name and has following query:-
“select e.EMPLOYEE_ID,e.FIRST_NAME,e.LAST_NAME,e.EMAIL,e.JOB_ID, d.DEPARTMENT_ID,d.DEPARTMENT_NAME
from HR.EMPLOYEES e,HR.DEPARTMENTS d where e.department_id=d.department_id
and d.DEPARTMENT_NAME=:1”
2) Created an AM. Added the above created View Object in it and then added the following custom method it in:-
public String[] getEmpDetailsAsString(String deptName)
EmpDeptViewObjImpl empDeptVOObj=this.getEmpDeptViewObj1();
empDeptVOObj.setWhereClauseParams(null);
empDeptVOObj.setWhereClauseParam(0,deptName);
empDeptVOObj.executeQuery();
int fetchedRowCount = empDeptVOObj.getRowCount();
EmpDeptViewObjRowImpl[] rows = new EmpDeptViewObjRowImpl[fetchedRowCount];
String[] temp=new String[fetchedRowCount];
RowSetIterator rowIter = empDeptVOObj.createRowSetIterator("rowIter");
if (fetchedRowCount > 0)
rowIter.setRangeStart(0);
rowIter.setRangeSize(fetchedRowCount);
for (int count = 0; count < fetchedRowCount; count++)
rows[count]=(EmpDeptViewObjRowImpl)rowIter.getRowAtRangeIndex(count);
temp[count]=rows[count].getFirstName();
rowIter.closeRowSetIterator();
return temp;
public EmpDeptViewObjRowImpl[] getEmpDetailsAsRowImplObj(String deptName)
EmpDeptViewObjRowImpl[] rows=null;
if(deptName!=null)
EmpDeptViewObjImpl empDeptVOObj=this.getEmpDeptViewObj1();
empDeptVOObj.setWhereClauseParams(null);
empDeptVOObj.setWhereClauseParam(0,deptName);
empDeptVOObj.executeQuery();
int fetchedRowCount = empDeptVOObj.getRowCount();
rows = new EmpDeptViewObjRowImpl[fetchedRowCount];
RowSetIterator rowIter = empDeptVOObj.createRowSetIterator("rowIter");
if (fetchedRowCount > 0)
rowIter.setRangeStart(0);
rowIter.setRangeSize(fetchedRowCount);
for (int count = 0; count < fetchedRowCount; count++)
rows[count]=(EmpDeptViewObjRowImpl)rowIter.getRowAtRangeIndex(count);
rowIter.closeRowSetIterator();
return rows;
public EmpDeptBean[] getEmpDetailsBasedOnBean(String deptName)
EmpDeptViewObjImpl empDeptVOObj=this.getEmpDeptViewObj1();
empDeptVOObj.setWhereClauseParams(null);
empDeptVOObj.setWhereClauseParam(0,deptName);
empDeptVOObj.executeQuery();
int fetchedRowCount = empDeptVOObj.getRowCount();
EmpDeptBean empDeptRow[]=new EmpDeptBean[fetchedRowCount];
EmpDeptViewObjRowImpl[] rows = new EmpDeptViewObjRowImpl[fetchedRowCount];
RowSetIterator rowIter = empDeptVOObj.createRowSetIterator("rowIter");
if (fetchedRowCount > 0)
rowIter.setRangeStart(0);
rowIter.setRangeSize(fetchedRowCount);
for (int count = 0; count < fetchedRowCount; count++)
rows[count]=(EmpDeptViewObjRowImpl)rowIter.getRowAtRangeIndex(count);
empDeptRow[count].setDEPARTMENTID(rows[count].getDepartmentId());
empDeptRow[count].setDEPARTMENTNAME(rows[count].getDepartmentName());
empDeptRow[count].setFIRSTNAME(rows[count].getFirstName());
empDeptRow[count].setLASTNAME(rows[count].getLastName());
empDeptRow[count].setJOBID(rows[count].getJobId());
empDeptRow[count].setEMPLOYEEID(rows[count].getEmployeeId());
empDeptRow[count].setEMAIL(rows[count].getEmail());
rowIter.closeRowSetIterator();
return empDeptRow;
3) And then generated the Web Service from Application module.
Problem here is I am unable to return multiple columns to the xml generated. And only getEmpDetailsAsString and getEmpDetailsAsRowImplObj. And getEmpDetailsBasedOnBean method is not even getting published in end point.
Please help me to solve this problem.
Thanks in Advance
~Vikram
Message was edited by:
VikramCould you please paste your WSDL?
-
Problem with document/literal web services
Hi,
I need to publish a document\literal WSDL for a web service on my OC4J 10.1.2.2 because my app has an interface with a .NET system.
I generated the WSDL with JDEV 10.1.3.3 and tried to deploy it on an OC4J 10.1.2 using JDEV 10.1.2.
The deployment worked fine but when I'm trying to access the web service with the generated stub I'm getting the following message:
"These methods do not conform to the restrictions imposed by the web service implementation"
and then a list of these methods.
Later I tried to remove the parameters from the methods and regenerated the WSDL and it worked fine, but I need the methods with the parameters.
What can I do?
ThanksJason, have you made any progress with CF7 and WS Security?
It doesn't seem like enough information on this is available. Is it
even possible? and how? -
Sample code to access BAPI Web services from JAVA required
Hi All,
I am a java developer. I am new to SAP. I just want to know how to use the web services from ABAP
I got the WSDL, and able to convert the WSDL into java classes using java2wsdl command.
Now i want to know how to use these classes, in my java class. i want to know two things
1) How to get authentication or session or token to use the service
2) How to consume BAPI services by using above session or token.
Any help, really appreciated. Plz help me if any one knows.
Thanks alot,
MohanTriplehhh wrote:
Hi,
I have a web application developed with java,jsp and javascript and server used is weblogic.
Now this application is running fine on my PC. I assume from this that there is no client side Java. Is this right?
So what steps are required so that I can access the application from other PCs also.If there is no client side Java then you have to do nothing other than make sure your PC can be reached from the other PCs. i.e. no firewalls blocking the access and routing available between the client PC and the server PC.
I don't see what this has to do with JNLP. Am I missing something? -
A problem with building a web service with netbeans
always a problem occurs when i try to build a web service server side.
build is perfect .but when i said run the project there is an error occurs:
"Deployment error:null. See the server log file for details."
error link goes me to this row in the build-impl.xml file of the project:
<nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>
i am waiting for your help.Being a total novice on the https/SSL configuration side of things, I've finally managed to dig down to the fact that our external partner of course needs to have a certificate installed in order to run https.
I guess the browser did not prompt and ask for acceptance of this, because it was already verified through one of the standard issuers - VeriSign.
So was then able to export the certificate through IE's Properties>Certificate>Details>Copy To File...
Will then try to import this into the correct domain on the WebLogic server.
(A quick test of the web service from the EM console worked fine. Strange then that executing the service through a partner link in bpel does not work, but I guess it may have to do with a local bpel being exposed as a web service in itself, and that security on both sides is called for... maybe... :-) )
-Haakon- -
How to access/invoke Web Service from BPM Process
The following steps required to attach and invoke web service method from process:
1) Add a module in the catalog for ex WebServiceMO
2) Add WebService Catalog component demoWebService in WebServiceMO
3) Put ur WSDL address in WSDL address field like "http://localhost:8080/test/test?wsdl"
4) Click next to introspect the web service it will import required files and setting from the url to your project
5) Now for invoking webservice just call the method for ex.
@return as String[]
getTestStringList(TestInterfaceService, out @return : @return)
logMessage "web service calll result >>"+length(@return)+">>>"+@return[0]
Here @ return is the return from webservice call.
this way u can access web service from BPM process.
Edited by: Anurag Yadav on Jul 17, 2009 2:19 PMI have a web service which does not return any value but when I introspect the web service, I have an out parameter to it.. Not sure why?
For e.g.
TestServiceListener.addTestNotes(TestNotes : testNotes, out TestNoteResponse : testNoteResponse);
So here I see an out parameter, but my web-service has no out parameter...
Any idea why is this happening? -
Accessing XI web service from portal as client
Hi all
I need to access a web service which has been created on XI
server. I want to acess it from enterprise portal as a web service client. please provide related links to achieve this.
thanks in advance
vaishaliVaishali,
never did this before, but some general ideas:
Do you have an WSDL for that web service? Then simply use your NWDS and select New --> Portal Service --> From WSDL (or similar). What I mean is the following: NWDS can read WSDL files and will automatically generate a proxy for you that actually generates an ordinary portal service. This portal service then can be called by standard means in SAP EP.
Regards,
Dominik -
Problem with attachment in web service
I'm writing a WebService under WebLogic 9.2 . My WebService API needs to recive and return an attachment. I'm tring to use a javax.activation.DataHandler object for the attachment, but for some reason in the WSDL file that being created, the DataHandler isn't being recognize and the "http://www.bea.com/servers/wls90/wsee/attachment" namespace is being associated with it (I'm using "jwsc" in the build.xml).
Does anyone encounter with problem ? and does the DataHandler is the right object to use for attachment (i want to avoid using base-64 String)?duplicate problem with a secured web service
-
Problem in call onpremise web service from o365 using jquery ajax
I am trying
to consume an onpremise web service from the o365 site page using
jquery ajax and it's giving me following error:<o:p></o:p>
"Error:
Operation aborted<o:p></o:p>
Here is the
code:<o:p></o:p>
<o:p></o:p>
jQuery.support.cors
= true;<o:p></o:p>
$.ajax<o:p></o:p>
({ <o:p></o:p>
type: "POST",
<o:p></o:p>
url: 'http://**************/WebService.asmx/CreateFolder',
<o:p></o:p>
data: "{'PartId':'"+partnerid+"'}",
<o:p></o:p>
contentType: "application/jsonp; charset=utf-8",
<o:p></o:p>
dataType: "jsonp",
<o:p></o:p>
username: "*****************",
<o:p></o:p>
password: "******************",<o:p></o:p>
success:
function (msg) { $("#divResult").html("Success"); },
<o:p></o:p>
error:
function (xhr, status, error){ console.log(error);
console.log(status); }
<o:p></o:p>
});<o:p></o:p>
Any
help would be greatly appreciated.Thanks.<o:p></o:p>Where exactly you are trying to create folder
This will work on both Office 365 and on prem
http://www.c-sharpcorner.com/UploadFile/0e18a8/create-a-folder-in-document-library-in-sharepoint-2013-using/
var context = SP.ClientContext.get_current();
//gets the current context
var web = context.get_web();
//gets the web object
var list = web.get_lists();
//gets the collection of lists
var targetList;
var itemCreation;
function createFolder() {
targetList = list.getByTitle("MyDocumentLibrary");
itemCreation =
new SP.ListItemCreationInformation();
itemCreation.set_underlyingObjectType(SP.FileSystemObjectType.folder);
itemCreation.set_leafName("MyCustomFolder");
var folderItem = targetList.addItem(itemCreation);
folderItem.update();
context.load(folderItem);
context.executeQueryAsync(onFolderCreationSuccess, onFolderCreationFail); -
HELP!!! Problem of Calling external Web Service from a Java Stored Procedur
1.I read the topic on http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html about Calling external Web Service from a Java Stored Procedur.
2.After I import .jar to Oracle what is required by the topic,som error occued.
Like: ORA-29521: javax/activation/ActivationDataFlavor class not found,
ORA-29545: badly formed class.
3.These is not enough .jar required on the topic? What can I do for ORA-29545: badly formed class?
Thany you!Try this
Re: HELP! Loading Java Classes into Oracle ERROR
Maybe you are looking for
-
I have a window in my form that is suppose to open when a checkbox is marked. It does this by having a WHEN-CHECKBOX-CHANGED trigger on the checkbox item. In its PL/SQL block it has an if statement that says if the checkbox is marked then open the wi
-
I was wondering if there was a way to center text vertically in a text field in forms 6i. I have a banner at the top of my form as a text item, and I need the value(s) to be centered horizontally(which I have already done) and vertically which I am w
-
Reg: Problem in Creating Service Call
Hi All, I have a requirement where I have to create a Service Call through a BDOC for which the data will be given through a IDOC. I am using the BADI's CRMXIF_ORDER_MAP for passing the data from the incoming IDOC to the BDOC. I am able to save the d
-
HT4623 i have sim activation problem in my i phone after updating
i have sim activation problem in my i phone after updating
-
Picture previews do not open in photoshop
Since the update with a preview of the image being shown in the chat, it's a complete pain in the ass to open any image sent to me in PS. What I want to be able to do is click the preview, it opens in Windows Photo Viewer then, Right click > Open Wit