Providing or cousuming a web service
Hi all i have scenario.
one asp.net website send me one vender number and i have to give detail of vender on that page.
i want to use web service WSDL file so how can i do this.
also give me some screen short for providing and consuming web service in netweaver
one asp.net website send me one vender number and i have to give detail of vender on that page.
i want to use web service WSDL file so how can i do this.
asp.net ---> XI -
> target
For asp.net ---> XI communication you need to define an OutBound Message Interface in IR
For XI ---> Target communication you need to define an Inbound Message Interface in IR...
Now in ID once all the objects are created for this scenario (RD, ID, SA, RA, CCs)...you need to create a wsdl file using the function from Tools ---> Define Webservice...this should have reference to the Outbound MI of IR....now once done you will get the wsdl file...give this to the asp.net application developers and ask them to include it in their coding...
If your Target is a SOAP application then get their wsdl file and import it under External Definitions in IR and create the Inbound Message interface based on this imported wsdl.....in the receiver SOAP channel include the target URL from this wsdl file....
To know more check these:
Re: Tools....>Define Web service
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
Hope i got your requirement right!
Regards,
Abhishek.
Similar Messages
-
Does OVM 3.0x provides management web service or API?
Hi
I thought OVM 2.20 provided Oracle VM Manager Web Services API Reference.
Where can we find the same thing for OVM 3.0x?
Thanks.J.S.Park wrote:
Where can we find the same thing for OVM 3.0x?Oracle VM 3.0 doesn't have a Web Services API. The full Java/Python API and programmers documentation is still being developed and has not been released yet. -
Error generating Web service /BIC/CQZDS_WEB00001000 how to over come this?
HI,
Experts,
I have created Web service source system by taking: target system BI and source system XI.
After creation of Info objects i have created data source in RSA1 there will no error displayed while CHECK but while activating the data source it was displaying errors like:
1) Error generating Web service /BIC/CQZDS_WEB00001000
2) Error when activating DataSource ZDS_WEBSERVICE BIDCLNT100
what will be the reason for this error plezase provide me good idea or provide step by step web service scenarious.
Thank you,
Shabeer Ahmed.Hi
Web AS 6.40 you can create a Web Service Proxy directly in Transaction SE80. Create a new package and right click on it. Choose Create -> Enterprise service / Web service -> Proxy object. Now you can choose how you want to provide the WSDL Source.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80fa3dff-ce76-2a10-3f94-f3df8f2db5a2 -
PL SQL Web Service with XML output - Remove the declaration from the proces
Using JDeveloper to create PL/SQL web services it inserts the generic declaration
<?xml version="1.0" encoding="UTF-8" ?>. I want to remove this line from the payload.
Here is the entire payload. Why is this inserted and how do I get rid of it.
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.sql.SQLException: java.sql.SQLException: ORA-04068: existing state of packages has been discarded ORA-04063: package body "FDC_API.PVR_IPS_TICKET" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1</faultstring>
<faultactor>/pvr_ora-pvr_tickets-context-root/Pvr2ips</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>rvice, my payload has theWe can generate jaxws from 11.1.2.0 onwards using This is now provided by the TopLink web service provider builder, which can be via the TopLink DBWS provider wizard from JDeveloper since the 11.1.2.0.0 release
1.4.4 Database Web Services (DBWS)
http://docs.oracle.com/cd/E23943_01/doc.1111/e26045/general.htm#CHDIEEHG
Hope that heps
Regards,
Sunil P -
Consuming RepositoryFrameworkWS web service in WebDynpro for ABAP
HI All,
I would like to consume the below web service in Web Dynpro ABAP provided by SAP from Web Services Navigator.
RepositoryFrameworkWS
Using this web service I would like to write a file in KM repository. I am new to Web Dynpro ABAP and I am not sure how to use the below methods. The below methods will be shown once we import the Web Service on to SE80.
Please help writing the code for following methods in Web Dynpro ABAP.
CREATE_DOCUMENT
GET_CONTENT_NEXT_CHUNK
GET_CONTENT_FIRST_CHUNK
SET_CONTENT
Thanks
KrishHi,
I am able to call the service and create a document in KM . I am providing userid and password in HTTP destination as this service requires basic authentication. Right now I am giving the userid and password in SM59. But I want to pass the userid and password from program itself for logged in user. Please help me with the code for this.
Thanks
SK -
Not able to create Web Service Model in Visual Composer
Hi All,
I am trying to create a Web Service model in VC but I am not able to do so.
When I am clicking on Create button its saying Invalid URL.I have tried a lot of web service URL.
Can any one provide me some valid web service URLs or can anyone tell me what could be the problem.
Sometimes it gives "Bad or missing XML"
Please help
Regards
Roshni
Edited by: Roshni Verma on Jan 15, 2010 3:09 PMHi Roshni,
Check the below wiki for web services.
http://wiki.sdn.sap.com/wiki/display/VC/WebservicesforVisual+Composer
Use the web services from www.webservicex.net
Kind Regards
Basheer -
Consuming a Web Service using JSP and servlet
I have created a Web Service in Netbeans IDE 5.5. I developed a JSP to provide input to the Web Service, and a servlet that will pass the input to the web service through a request and outputs the result.
I am getting the following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet TestServlet threw exception
root cause
java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
root cause
com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: test.org.TestServlet/service@Field-Injectable Resource. Class name = test.org.TestServlet Field name=[email protected]@@@ into class test.org.TestServlet
root cause
javax.naming.NamingException [Root exception is java.lang.reflect.InvocationTargetException]
root cause
java.lang.reflect.InvocationTargetException
root cause
javax.xml.ws.WebServiceException: java.io.FileNotFoundException: http://localhost:8080/TestWebApplication/TestWSService?wsdl
root cause
java.io.FileNotFoundException: http://localhost:8080/TestWebApplication/TestWSService?wsdl
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server Platform Edition 9.0_01 logs.
Any hints???You probably should post to either the NetBeans website mailing list, or the Sun forum that supports the Sun Application Server, as the error is the result of a configuration error of one or both of these products. A file can't be found:
java.io.FileNotFoundException: http://localhost:8080/TestWebApplication/TestWSService?wsdl
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server Platform Edition 9.0_01 logs.
These forums are for support of the Java language. -
JAX-WS PL/SQL Web Service with JDeveloper (Weblogic problem)
Hello,
does anyone know how to create a JAX-WS webservice based on a pl-sql package using JDeveloper? Maybe it is possible with a newer version of JDeveloper 11.1.2.3, currently I'm using 11.1.1.6 which only offers a JAX-RPC for PlSql Web services.
I'm facing a problem right now trying to deploy an jax-rpc web service on Weblogic 10.3.4. Actually it seems to be an WebLogic problem because weblogic doesn't support the older standard (JAX-RPC). So I've extended the weblogic domain using Fusion Middleware Configuration Wizard like described for example here . Unfortunately it doesn't help. Deploying my applicaiton on a forms11g (11.1.1.4) domain (which goes hand in hand with the weblogic domain (?)) is successful. But anyway I can't call the WSDL or test the web service using weblogic console. Other services (jax-ws) work without any problem on the same forms domain.
I would appreciate any hint, how to automatically produce an jax-ws web service from an plsql package or how to run a jax-rpc web service on weblogic 10.3.4. It's Weblogic Basic Server actually, but I'm of the opinion it doesn't play a role in my case.
Thank you in advance for your hints.
Kind regards,
Anton
Edit: I would appreciate any hint how to check if a weblogic domain supports jax-rpc (if extended correctly). Thanks.We can generate jaxws from 11.1.2.0 onwards using This is now provided by the TopLink web service provider builder, which can be via the TopLink DBWS provider wizard from JDeveloper since the 11.1.2.0.0 release
1.4.4 Database Web Services (DBWS)
http://docs.oracle.com/cd/E23943_01/doc.1111/e26045/general.htm#CHDIEEHG
Hope that heps
Regards,
Sunil P -
Web Service Call from SAP DS 4.2
Hello all,
Thank you for any insight you can provide:
When calling a web service from a function call in SAP DS 4.2, it constantly provides an XML formatting error. We can call the web service fine through SOAPUI.
Here is what SAP DS sends back as the error message:
I believe the issue is highlighted
Error importing XML Schema from file
adapter_schema_in.xsd:
XML parser failed: Error namespace 'http://businessobjects.com/service/RTJob_DMO_Address_Cleanse/input'
is referenced without import declaration
at line 11, Char 119 in
xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:aw_RTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input="http://businessobjects.com/service/RTJob_DMO_Address_Cleanse/input"
xmlns:diws="http://www.businessobjects.com/diwebservice" targetNamespace="http://www.businessobjects.com/diwebservice"
xsd:import namespace='http://businessobjects.com/service/RTJob_DMO_Address_Cleanse/input'
schemaLocation='C:\ProgramData\SAP BusinessObjects\Data Services\ext\webservice\DataServices_ServerRTJob_DMO_Address_CleanseRTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input0.xsd'
xsd:element name="RTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input"
xsd:complexType
xsd:sequence
xsd:element ref="aw_RTJob_DMO_Address_Cleanse_Input_Realtime_DMO_Address_Cleanse_Input:AddressCleanseRequest"
/xsd:sequence
/xsd:complexType
/xsd:element
/xsd:schema
. Validate your XML Schema using external schema validators (found at w3.org).
How do we get around that issue, it shouldn't be passing that.
This happens when running the job from the Admin Console as well as the Designer
Again, thank you for any help.
RyanUpdate:
Still having the issue, now manifesting trying to create/reimport a nested schema.
Local Error Message
Citrix Error Message
XML Files attached as text files
Version of Designer: 14.2.2.446
Version of Job Server: 14.2.2.527
Version of Job Engine: 14.2.2.527 -
Hi,
I want to test my file to soap scenario, for that i need some generic url's . Can body provide me the generic web services .
Thanks & regards,
VenkatIn addtion to Amir replied u can also go for HTTP to SOAP scenarion using this url for WS http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=18
take the WSDL from the above url.
Save it on Desktop
Import it in IR.
use it in Inbound interface.
thanks
Farooq. -
Hi,
I would like have knowledge about Webservice in SAP ??? Is this the rite area to ask...if yes please provide an insight about Web Service development in ABAP..how effective is t....If not the rite palce please tell in which specifc forum i shoud ask this questin????
Thanks,
ABAPer 007Hi,
The SOA forum deals with web services. However i think that since SOA deals with many parts of SAP (eg. ABAP or Java) so a single forum may not be able to solve all your ABAP webservice related queries.
Web services in ABAP can be also handled by a ABAPer since it will be he/she who will be involved in ABAP services.
You can also look in SAP NW BPM or CE forum, since that also deals with a lot of web services.
It can help you to answer some of your queries also.
If you know more about how to on abap web service creation. Please reply. -
Hello there,
We are trying to provide a web service in our organization to an external vendor to access our CRM Systems to get some information. The business functionality is enclosed in a RFC. Now i need to provide it as a web Service. I would like to know the answers for the following,
1. How do i create a provide Web Service? (If there is any step by step guide, it will be ideal).
2. What information does the external vendor need to access my web Services?
3. What is the general security constraints we need to look into?
We are in NW 7.0 with CRM 5.2.
Thanks in advance............
Regards,
PrabaharHi Prabahar
I hope this link will be good enough to solve your queries. http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
Regards
Mitesh -
Web services generated from proxy
Hi,
We have few webservices generated through SE80 from a proxy interface, so that an external web service can directly reach them.
I mean to say, that the wsdl we generated is provided to the external web service.
My question is that when the message direclty flows to the R/3 system via the proxy, do we have any means to monitor them??
How do we do the error handling in those cases?
Thanks,
John
Edited by: Mike Pokraka on Jul 31, 2008 9:09 AMHello John,
Go through these imp blogs:
Proxy Generation
http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
ABAP Proxy Runtime
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
To activate ABAP proxies
How do you activate ABAP Proxies?
Detailed step-by-step solution for ABAP proxies in XI
ABAP Proxies in XI(Client Proxy)
ABAP Server proxies
ABAP Server Proxies
do we have any means to monitor them??
How do we do the error handling in those cases?
Debugging of Inbound ABAP proxies
XI: Debug your inbound ABAP Proxy implementation
File to R/3 via ABAP Proxy
File to R/3 via ABAP Proxy
How to push data from BI to XI using proxy
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
How to push data into BW from XI using proxy
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21dfa9929c9
How do you activate ABAP Proxies?
Thanks,
Satya Kumar
<removed by moderator>
Edited by: Mike Pokraka on Jul 31, 2008 9:09 AM -
Oracle Database 2003 Beta Program: Web services features
We are currently recruiting for the Oracle Database 2003 Beta Program, including database web services features (database as web service provider and database as web service consumer)
To learn more about this program, including how to apply, send me an email @ [email protected]
KuassiWe are currently recruiting for the Oracle Database 2003 Beta Program, including database web services features (database as web service provider and database as web service consumer)
To learn more about this program, including how to apply, send me an email @ [email protected].
Kuassi -
Calling Web services using SOAP
Hi,
I am trying to execute a function through a webservice using a SOAP
package and am getting the following error:ORA-30625: method dispatch
on NULL SELF argument is disallowed. I think this is to do with one of
the parameters being null but dont know how to fix this. Following is
the function:
CREATE OR REPLACE FUNCTION ILACPMSPRC.GET_GREETING_fnc (p_name IN
VARCHAR2
--, p_date VARCHAR2
, p_age VARCHAR2 )
RETURN NUMBER
AS
l_request soap_api_pkg.t_request;
l_response soap_api_pkg.t_response;
l_price NUMBER;
-- DBMS_OUTPUT.ENABLE(20000);
BEGIN
DBMS_OUTPUT.ENABLE(20000);
DBMS_OUTPUT.PUT_LINE('BEGIN');
-- Set proxy details if no direct net connection.
--UTL_HTTP.set_proxy('myproxy:4480', NULL);
--UTL_HTTP.set_persistent_conn_support(TRUE);
-- Set proxy authentication if necessary.
--soap_api.set_proxy_authentication(p_username => 'myusername',
-- p_password => 'mypassword');
l_request := soap_api_pkg.new_request(p_method => 'ns1:validate',
p_namespace => 'xmlns:ns1="http://
impl.webservice.validation.workmgt.cb.irishlife.ie/xsd"');
-- parameter 1 is name
soap_api_pkg.add_parameter(p_request => l_request,
p_name => 'workType',
p_type => 'xsd:string',
p_value => p_name);
-- parameter 2 is date
soap_api_pkg.add_parameter(p_request => l_request,
p_name => 'workItemNo',
p_type => 'xsd:string',
p_value => 'ABC');
--p_value => '2007-01-01T00:00:00Z');
-- parameter 3 is age
soap_api_pkg.add_parameter(p_request => l_request,
p_name => 'indexName',
p_type => 'xsd:string',
p_value => p_age);
l_response := soap_api_pkg.invoke(p_request => l_request,
p_url => 'http://
10.253.55.139:7400/axis2/services/ValidationService',
p_action => 'http://
10.253.55.139:7400/axis2/services/ValidationService/validate');
if l_response.doc is not null then
dbms_output.put_line('the doc is not null');
end if;
DBMS_OUTPUT.PUT_LINE ( 'p_name = ' || p_name );
HERE l_price := soap_api_pkg.get_return_value(p_response =>
l_response,
p_name =>
'validateResponse',
p_namespace =>
'xmlns:ns1="http://impl.webservice.validation.workmgt.cb.irishlife.ie/
xsd"');
if l_price is null then
dbms_output.put_line('opps, the price is null');
end if;
DBMS_OUTPUT.PUT_LINE('PRICE:'||l_price);
RETURN l_price;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(SQLCODE || ', ' || SQLERRM);
RETURN NULL;
END GET_GREETING_fnc;
Where HERE is marked is where the problem lies...the package body is
here:
CREATE OR REPLACE PACKAGE BODY SOAP_API_PKG AS
-- Name : http://www.oracle-base.com/dba/miscellaneous/soap_api
-- Author : DR Timothy S Hall
-- Description : SOAP related functions for consuming web services.
-- Ammedments :
-- When Who What
-- =========== ========
=================================================
-- 04-OCT-2003 Tim Hall Initial Creation
-- 23-FEB-2006 Tim Hall Parameterized the "soap" envelope tags.
-- 08-JUN-2006 Tim Hall Add proxy authentication functionality.
g_proxy_username VARCHAR2(50) := NULL;
g_proxy_password VARCHAR2(50) := NULL;
PROCEDURE set_proxy_authentication(p_username IN VARCHAR2,
p_password IN VARCHAR2) AS
BEGIN
g_proxy_username := p_username;
g_proxy_password := p_password;
END;
FUNCTION new_request(p_method IN VARCHAR2,
p_namespace IN VARCHAR2,
p_envelope_tag IN VARCHAR2 DEFAULT 'SOAP-ENV')
RETURN t_request AS
l_request t_request;
BEGIN
l_request.method := p_method;
l_request.namespace := p_namespace;
l_request.envelope_tag := p_envelope_tag;
RETURN l_request;
END;
PROCEDURE add_parameter(p_request IN OUT NOCOPY t_request,
p_name IN VARCHAR2,
p_type IN VARCHAR2,
p_value IN VARCHAR2) AS
BEGIN
p_request.body := p_request.body||'<'||p_name||' xsi:type="'||
p_type||'">'||p_value||'</'||p_name||'>';
DBMS_OUTPUT.PUT_LINE ( 'p_request.body = ' || p_request.body );
END;
--PROCEDURE add_parameter(p_request IN OUT NOCOPY t_request,
-- p_name IN VARCHAR2,
-- p_type IN DATE,
-- p_value IN VARCHAR2) AS
--BEGIN
-- p_request.body := p_request.body||'<'||p_name||' xsi:type="'||
p_type||'">'||p_value||'</'||p_name||'>';
--END;
--PROCEDURE add_parameter(p_request IN OUT NOCOPY t_request,
-- p_name IN VARCHAR2,
-- p_type IN INTEGER,
-- p_value IN VARCHAR2) AS
--BEGIN
-- p_request.body := p_request.body||'<'||p_name||' xsi:type="'||
p_type||'">'||p_value||'</'||p_name||'>';
--END;
PROCEDURE generate_envelope(p_request IN OUT NOCOPY t_request,
p_env IN OUT NOCOPY VARCHAR2) AS
BEGIN
p_env := '<'||p_request.envelope_tag||':Envelope xmlns:'||
p_request.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/"
' ||
'xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">' ||
'<'||p_request.envelope_tag||':Body>' ||
'<'||p_request.method||' '||p_request.namespace||' '||
p_request.envelope_tag||':encodingStyle="http://schemas.xmlsoap.org/
soap/encoding/">' ||
p_request.body ||
'</'||p_request.method||'>' ||
'</'||p_request.envelope_tag||':Body>' ||
'</'||p_request.envelope_tag||':Envelope>';
END;
PROCEDURE show_envelope(p_env IN VARCHAR2) AS
i PLS_INTEGER;
l_len PLS_INTEGER;
BEGIN
i := 1; l_len := LENGTH(p_env);
WHILE (i <= l_len) LOOP
DBMS_OUTPUT.put_line(SUBSTR(p_env, i, 60));
i := i + 60;
END LOOP;
END;
PROCEDURE check_fault(p_response IN OUT NOCOPY t_response) AS
l_fault_node XMLTYPE;
l_fault_code VARCHAR2(256);
l_fault_string VARCHAR2(32767);
BEGIN
dbms_output.put_line('midas8-1');
l_fault_node := p_response.doc.extract('/'||
p_response.envelope_tag||':Fault',
'xmlns:'||
p_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/
envelope/');
dbms_output.put_line('midas8-2');
IF (l_fault_node IS NOT NULL) THEN
dbms_output.put_line('midas8-3');
l_fault_code := l_fault_node.extract('/'||
p_response.envelope_tag||':Fault/faultcode/child::text()',
'xmlns:'||
p_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/
envelope/').getstringval();
dbms_output.put_line('midas8-4');
l_fault_string := l_fault_node.extract('/'||
p_response.envelope_tag||':Fault/faultstring/child::text()',
'xmlns:'||
p_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/
envelope/').getstringval();
dbms_output.put_line('midas8-5');
--RAISE_APPLICATION_ERROR(-20000, l_fault_code || ' - ' ||
l_fault_string);
END IF;
END;
FUNCTION invoke(p_request IN OUT NOCOPY t_request,
p_url IN VARCHAR2,
p_action IN VARCHAR2)
RETURN t_response AS
l_envelope VARCHAR2(32767);
l_http_request UTL_HTTP.req;
l_http_response UTL_HTTP.resp;
l_response t_response;
BEGIN
dbms_output.put_line('Invoking request');
dbms_output.put_line('url :'||p_url);
dbms_output.put_line('action :'|| p_action);
generate_envelope(p_request, l_envelope);
show_envelope(l_envelope);
l_http_request := UTL_HTTP.begin_request(p_url, 'POST','HTTP/1.0');
dbms_output.put_line('midas1');
IF g_proxy_username IS NOT NULL THEN
DBMS_OUTPUT.PUT_LINE('PROXY USERNAME IS NOT NULL');
UTL_HTTP.set_authentication(r => l_http_request,
username => g_proxy_username,
password => g_proxy_password,
scheme => 'Basic',
for_proxy => TRUE);
END IF;
UTL_HTTP.set_header(l_http_request, 'Content-Type', 'text/xml');
UTL_HTTP.set_header(l_http_request, 'Content-Length',
LENGTH(l_envelope));
UTL_HTTP.set_header(l_http_request, 'SOAPAction', p_action);
UTL_HTTP.write_text(l_http_request, l_envelope);
dbms_output.put_line('midas2');
l_http_response := UTL_HTTP.get_response(l_http_request);
dbms_output.put_line('midas3');
UTL_HTTP.read_text(l_http_response, l_envelope);
dbms_output.put_line('midas4');
UTL_HTTP.end_response(l_http_response);
dbms_output.put_line('midas5');
l_response.doc := XMLTYPE.createxml(l_envelope);
dbms_output.put_line('midas6');
l_response.envelope_tag := p_request.envelope_tag;
dbms_output.put_line('midas7');
l_response.doc := l_response.doc.extract('/'||
l_response.envelope_tag||':Envelope/'||l_response.envelope_tag||':Body/
child::node()',
'xmlns:'||
l_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/
envelope/"');
-- show_envelope(l_response.doc.getstringval());
dbms_output.put_line('midas8');
check_fault(l_response);
dbms_output.put_line('midas9');
RETURN l_response;
END;
FUNCTION get_return_value(p_response IN OUT NOCOPY t_response,
p_name IN VARCHAR2,
p_namespace IN VARCHAR2)
RETURN VARCHAR2 AS
BEGIN
-- RETURN p_response.doc.extract('//'||p_name||'/
child::text()',p_namespace).getstringval();
dbms_output.put_line('function');
dbms_output.put_line(p_name);
DBMS_OUTPUT.PUT_LINE (p_response.doc.extract('//'||p_name||'/
child::text()', p_namespace).getstringval());
RETURN p_response.doc.extract('//'||p_name||'/child::text()',
p_namespace).getstringval();
END;
END SOAP_API_PKG;
Any help greatly appreciated!!Hello,
I have not looked in detail to you code but I would like to point out that Oracle provides utilities to call Web Services from the database, using a DB package and/or Java in the DB.
Have you looked to the documentation about:
- Developing a Web Service Client in the Database
regards
Tugdual Grall
Maybe you are looking for
-
Why has my phone deleted all my messages
i went to send a messgae my phone restarted automatically and when i turned it back on ALL my messages had been deleted. I have tried to reset and restart my iphone but nothing worked. Why did this happen ? and can i get them back ?
-
It is self explanitory When I try to go online it keeps saying it is in the offline mode and won't go online I have tried several times .Firefox is my main internet site and the earlier ones do work like a dream .
-
Could not connect to DbaaS Service using the given user name and password.
I'm not able to create Java Cloud Service (Oracle Java Cloud - Virtual Image Services) for my newly created Oracle Database Cloud Service instance. It fails with "Incorrect values entered Could not connect to DbaaS Service using the given user name a
-
Install http server to access localhost
Can someone recommend a light http server that I can install on my iphone and ipad to access local files please. SingerInMe.com is a web application that allows the user to access local audio files and play in syn with the lyrics. The user needs to p
-
Oracle reports in pdf format on web
What are the steps involved in calling the oracle reports from web and work with ASP application in the pdf format.If you have some details on that or if there is any book/online resource I can look at please respond. Thanks