Web Service Documentation EmployeeMasterDataReplicationRequest_In
Hello All,
I'm working in an integration between SAP HCM and Success Factors Employee Central (EC).
I want to review the documentation of the SAP HCM inbound service EmployeeMasterDataReplicationRequest_In but I'm not able to find it any where.
Could you please help me point where I can find it? I'm looking for the general documentation about Request/Response Messages and parameters.
Thanks!
Felipe
Hi,
Plese find below service market place link below
https://websmp209.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=501100035870000015092&_HIER_KEY=601100035870000179414&_HIER_KEY=601100035870000222244&_HIER_KEY=601100035870000235182&_HIER_KEY=701100035871000565647&_OBJECT=011000358700000709862011E&_SCENARIO=01100035870000000112&
Thanks,
Ramesh
Similar Messages
-
SAP ME 5.2 Web Services Documentation required
Hello Everyone,
With reference to the existing thread on the url SAP ME Webservice Documentation?,can i find the mentioned additional SAP 5.2 Web Services documentation,if so please share the link of the same.
Thanks,
Rajiv KumarRajiv,
This document is delivered within SDK training package for SAP ME.
Regards,
Sergiy -
SAP J2EE Engine 6.40 Web Services Documentation & Samples
Where can we find the J2EE Engine 6.40 as well as ABAP Web services documentation as well as the sample applications?
Thanks in advanceHi Vladimir
Please check the following links
J2ee engine webservices
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f76f9f90-0201-0010-bf84-d0409ea425f1
ABAP webservices
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
/people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
/people/thomas.jung3/blog/2005/05/09/abap-webservices-logon-language-processing
Hope it helps
Regards -
GroupWise 8 Web Services Documentation
We are in the process of updating the GroupWise 8 Web Services documentation. Until the GroupWise 8 changes have been merged into the current GroupWise 7 documentation, we thought it would be good to give you the updates for GroupWise 8.
You will find this update at: ftp://ftp.novell.com/outgoing/GW8WS.zip
Files or directories of interest:
GW8 - SOAP Documentation.pdf - Changes from GroupWise 7 to GroupWise 8.
WSDL and schemas\GW8 - GroupWise 8 WSDL and schemas
clients\Java\JAX-WS - Sample client of latest Java technology for Web Services
800\WSDL and schemas\GW8\Differences - GW703 and GW8 - Schema differences between GW7 and GW8
Missing at this time:
- Documentation on WSDL and schemas\GW8\archive.wsdl
Let me know if you have questions, comments, or suggestions.
Tim Draper
GroupWise DevelopmentHere is a response about the availability of the documentation:
The documentation is currently posted here:
http://developer.novell.com/document...a/bktitle.html
We're currently working with Richard Smith to get a link to this page from
Novell Developer Kit page
(http://developer.novell.com/wiki/ind..._Developer_Kit)
Hope that helps.
-Luke
>>> On Tuesday, January 05, 2010 at 4:29 AM, Preston
Stephenson<[email protected]> wrote:
> Sorry, the documentation went to a new writer.
> I'm try to track down the status of the document.
>
>>>> On Monday, January 04, 2010 at 7:26 AM,
> ecmwise<ecmwise@no‑mx.forums.novell.com> wrote:
>
>>>> Documentation on WSDL and schemas\GW8\archive.wsdl
>>
>> Is the documentation for archive.wsdl and archivexsd. now available?
>>
>> Best regards
>> Gregor -
MDM 5.5 SP04 Java API and Web Service Documentation
Is there documentation available that reflects the SP04 changes to the Java API, and the web services that are now available?
As of this morning, service marketplace contained spotty SP04 docs.
Thanks in advance,
MikeMike,
A cookbook would be wonderful (I think our developers would throw a party)!
An updated object model (as a preface to the user guide) for the legacy API (MDM4J.jar) AND the new "rebranded" API (mdm-*.jar) would also work.
I've been reduced to comparing the SP3 & SP4 javadocs
One fun approach that appears to be working for us, is to model each process using the DataManager, and try to duplicate that exactly via the corresponding API objects (e.g. the simple Connect-Find Table-Search Table-View Result Set-View Record-CheckOut/Upsert/Validate/CheckIn dance). New features in the DataManager reveal themselves a little more readily
Good luck,
...Dee -
Web Service documentation for all Web Services
Hi,
In March there was a documentation released named "Shop Floor web service field guide".
Unfortunately this only documents a few of the available Web-Services.
I would like to know where I can find:
1) Documentation for other web-services that were part of previous DataExchange XML.
Like BomProcessingInBinding, ItemProcessingInBinding.
2) Updated document for "Shop Floor web service field guide" since I only have the first version. Or information
if there has been no updating. Can't seem to find this document when searching in SAP Support Portal.
Br,
JohanHi,
Plese find below service market place link below
https://websmp209.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=501100035870000015092&_HIER_KEY=601100035870000179414&_HIER_KEY=601100035870000222244&_HIER_KEY=601100035870000235182&_HIER_KEY=701100035871000565647&_OBJECT=011000358700000709862011E&_SCENARIO=01100035870000000112&
Thanks,
Ramesh -
Discoverer web services documentation
Hi again,
is there any documentation we can read on using discoverer's web services?
Patch 5648158 by the way.
I'm trying to use them but some variables don't make since. For example:
<sKey xmlns:ns1="http://oracle.discoverer.applications.ws/IWsi.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns1:oracle_discoverer_applications_ws_model_bean_SessionKey">
<key xsi:type="xsd:string">String Value</key>
</sKey>
Where do I find the session key?
Also:
<SSOUsername xsi:type="ns1:oracle_discoverer_applications_ws_model_bean_SSOUsername">
<user xsi:type="xsd:string">String Value</user>
</SSOUsername>
<guid xsi:type="ns1:oracle_discoverer_applications_ws_model_bean_GUID">
<id xsi:type="xsd:string">String Value</id>
</guid>
The username is the one I created when I configured the web services as per the documentation? Where do I find the guid?
ThanksSo it sounds like you have already done the WSI setup for Discoverer because you get the list of services - right?
You're supposed to integrate the web services with an SSO user, which ideally would be the same userid you used when you set up the web services. When you do something like this:
http://myserver.mydomain.com:7778/discoverer/wsi
you should get prompted for your web services user. That is not SSO and you need to set up one of those too. Having enabled an SSO user, Discoverer demands that there be at least one Public connection against which some workbooks have been made available.
You cannot make the web services work unless you are running a full-blown application server, complete with SSO enabled for Discoverer with at least one Public connection. As far as I know, Private connections cannot be used, neither can direct logins.
If the above login works and you sucecssfuly authenticate the next thing you should see is a screen entitled wsi endpoint with a listing of the available services, such as getWorksheetList, login, getWorkbook and so on.
I will presume you are getting this far.
When you click on, for example, login, you should see something like this:
<aUserCredential xmlns:ns1="http://oracle.discoverer.applications.ws/IWsi.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns1:oracle_discoverer_applications_ws_model_bean_UserCredential">
<SSOUsername xsi:type="ns1:oracle_discoverer_applications_ws_model_bean_SSOUsername">
<user xsi:type="xsd:string">String Value</user>
</SSOUsername>
<guid xsi:type="ns1:oracle_discoverer_applications_ws_model_bean_GUID">
<id xsi:type="xsd:string">String Value</id>
</guid>
The one above is from my own installation which as you can see also has the references that you mentioned:
http://www.w3.org/2001/XMLSchema and GUID
Mine is integrated with BI Publisher and so BI Publisher is providing the information that is needed to then successfully log on. I am not sure exactly what values are being passed to the parameters because these happen behind the scenes.
Best wishes
Michael -
Jdeveloper Web Services Documentation
hi , i'm developing web services using jdeveloper 10g , these web services are an application modules web services , i'm writting a full java documentation for the methods in my application modules classes , when i generate the web service , the methods "service" documentation is not included in the generated wsdl file ,
how i can show this documentation in the wsdl file , to make it easier for those whose viewing the web page for that service to see a clead description of the service ????Hi,
any news on this since last year? Or any other solutions to do it automatically?
It would be essential to have the WSDL documented by automatic generation from javadoc or even from PL/SQL comments when using PL/SQL web services.
At least / besides, a tool/dialog in JDeveloper would be nice which substitutes manually inserting a lot of documentation tags.
Regards,
Patrik -
Web Services documentation - when ?
Last update I saw said the release date was 11/15 for the "Sun ONE Application Server Developer's Guide to Web Services" (3 weeks ago).
The Developer's Guide to Web Services is still under development. This guide will be available on docs.sun.com by 20 December 2002.
-
Invoking web services documented on OER via ODIStudio
Hi
using 11.1.1.6 version of odi studio and trying to call a secured webservice. I am getting access denied error in doing so.
I thought to try the same using soapUI and got the same error. So, I switched the authentication type to 'Preemptive' in soapUI and had the same username, pwd and it worked.
Not sure what should be changed in odiStudio to be able to invoke the same webservice. Please adviseHello Both,
Thank you.
I ran following command from SQL Plus window after connecting to DB..
SQL> @[%NLS_LANG%]
SP2-0310: unable to open file "[AMERICAN_AMERICA.WE8MSWIN1252]"And also I have checked actual data using DUMP function, it looks like data stored is wrong.
I have updated one field in SAP such that it only contains German character ä. When I query corresponding data from Oracle I got following output..
SELECT xmlresponse.Notes,
dump(xmlresponse.Notes,1010) dump_text
FROM webservice_log,
Xmltable(Xmlnamespaces
('http://www.w3.org/2003/05/soap-envelope' AS "env",
'http://sap.com/xi/CRM/Global2' AS "nm",
'urn:sap.com:proxy:DCT:/1SAI/TAS57DF0B317943DEAE3C49:702' AS "prx"
'/env:Envelope/env:Body/nm:CustomerCRMByIDResponse/BusinessPartner'
PASSING xml_response
columns
NOTES VARCHAR2(4000) PATH 'TextCollection/Text/TextContent/Text'
) XMLRESPONSE;
/* Output */
NOTES -- DUMP_TEXT
ä Typ=1 Len=4 CharacterSet=AL32UTF8: 195,131,194,164But decimal notation for German character ä is different!
SELECT DUMP('ä',1010) dump_text from dual;
/*Output*/
DUMP_TEXT
Typ=96 Len=2 CharacterSet=AL32UTF8: 195,164Regards,
Hari -
Using utl_dbws to call web service
We're calling a web service using utl_dbws and getting a response but the problem is the parameters. I haven't been able to find much documentation about how to use the utl_dbws package and have only one example to work from so could do with some expert help.
The following code calls the webservice:
procedure call_web_service(p_application_key in number,
out_success_message out varchar2)
is
v_service utl_dbws.service;
v_call utl_dbws.call;
v_service_qname utl_dbws.qname;
v_port_qname utl_dbws.qname;
v_operation_qname utl_dbws.qname;
v_string_type_qname utl_dbws.qname;
v_return anydata;
v_send_data anydata;
v_return_string varchar2 (100);
v_return_length number;
v_parameter_string varchar2(32767);
v_params utl_dbws.anydata_list;
v_interview_xml xmltype;
v_policy_number varchar2(14);
-- return parameters
v_interviewId varchar2(1000);
v_statusType varchar2(1000);
v_error_reason varchar2(1000);
begin
message_handler.set_module_name('ostp_to_xpb.call_web_service');
message_handler.set_current_process('retrieve generated xml');
begin
select upload_xml, extractvalue(upload_xml, '/interview/externalReferenceNumber') policy_number
into v_interview_xml, v_policy_number
from xpb_upload_data
where application_key = p_application_key
and extractvalue(upload_xml, '/interview/externalReferenceNumber') is not null;
--dbms_output.put_line('xml retrieved');
exception
when no_data_found then
v_success_message := 'No xml found for application_key = '||p_application_key;
raise v_procedure_error;
end;
message_handler.set_current_process('call web service');
-- create service
v_service_qname := utl_dbws.to_qname (null, 'xpertBridge');
v_service := utl_dbws.create_service (v_service_qname);
-- create call
v_port_qname := utl_dbws.to_qname (null, 'xpertBridgePort');
v_operation_qname :=
utl_dbws.to_qname
('http://m0154ukdox1/xpertBridgeEDSLV/services/xpertBridge',
'orcaAppUpload'
v_call := utl_dbws.create_call (v_service, v_port_qname, v_operation_qname);
-- set endpoint
utl_dbws.set_target_endpoint_address
(v_call,
'http://m0154ukdox1/xpertBridgeEDSLV/services/xpertBridge'
-- set type of input and output parameters
v_string_type_qname :=
utl_dbws.to_qname ('http://www.w3.org/2001/XMLSchema', 'string');
utl_dbws.add_parameter (v_call,
'orcaXml',
v_string_type_qname,
'ParameterMode.IN'
utl_dbws.add_parameter (v_call,
'interviewId',
v_string_type_qname,
'ParameterMode.OUT'
utl_dbws.add_parameter (v_call,
'status',
v_string_type_qname,
'ParameterMode.OUT'
utl_dbws.add_parameter (v_call,
'errorReason',
v_string_type_qname,
'ParameterMode.OUT'
utl_dbws.set_return_type (v_call, v_string_type_qname);
-- convert xmltype to string for call
select xmlserialize(document v_interview_xml)
into v_parameter_string
from dual;
v_params (1) := anydata.convertvarchar(v_parameter_string);
-- call
v_return := utl_dbws.invoke (v_call, v_params);
-- values which can be returned are Success / MessageError / ApplicationError
v_return_string := v_return.accessvarchar2;
dbms_output.put_line ('Message returned is: ' || nvl(v_return_string, 'No success message returned'));
-- retrieve out parameters
v_interviewId := v_params(2).accessvarchar2;
dbms_output.put_line ('Message returned is: ' || nvl(v_interviewId, 'No interviewId returned'));
v_statusType := v_params(3).accessvarchar2;
dbms_output.put_line ('Message returned is: ' || nvl(v_statusType, 'No status type returned'));
v_error_reason := v_params(4).accessvarchar2;
dbms_output.put_line ('Message returned is: ' || nvl(v_error_reason, 'No error reason returned'));
-- release call
utl_dbws.release_call ( v_call );
-- release services
utl_dbws.release_service ( v_service );
message_handler.set_module_finish;
exception
when others then
out_success_message := message_handler.formatted_error_message;
end call_web_service;
Here is an excerpt from the WSDL relating to the call being made:
<xs:element name="orcaAppUpload">
<xs:annotation>
<xs:documentation xml:lang="en">Message payload XML</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orcaXml" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="orcaAppUploadResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="interviewId" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Interview identifier used to access the interview from UI</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="status" type="tns:StatusType"/>
<xs:element name="errorReason" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Only included if an error has occured </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="StatusType">
<xs:restriction base="xs:string">
<xs:enumeration value="Success"/>
<xs:enumeration value="MessageError">
<xs:annotation>
<xs:documentation xml:lang="en">MessageError arises if the request payload was
rejected by xpertBridge. This might be because it does not validate against the
expected schema. Alternatively, a business rule is not satisfied.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ApplicationError">
<xs:annotation>
<xs:documentation xml:lang="en">ApplicationError would indicate application or system
error or exception occured in xpertBridge while processing the request.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:schema>
<wsdl:message name="orcaAppUploadReq">
<wsdl:part name="orcaAppUpload" element="tns:orcaAppUpload"/>
</wsdl:message>
<wsdl:message name="orcaAppUploadResp">
<wsdl:part name="orcaAppUploadResponse" element="tns:orcaAppUploadResponse"/>
</wsdl:message>
<wsdl:portType name="xpertBridgePort">
<wsdl:operation name="orcaAppUpload">
<wsdl:documentation>Upload (typically paper) application from ORCA/Ingenium</wsdl:documentation>
<wsdl:input message="tns:orcaAppUploadReq"/>
<wsdl:output message="tns:orcaAppUploadResp"/>
</wsdl:operation>
</wsdl:portType>
etc.
The error being returned is the following:
ostp_to_xpb.call_web_service.call web service.ORA-29532: Java call terminated by uncaught Java exception: unexpected element name: expected=interviewId, actual=status
Initially I started the params at params(0) but when I received the response above I thought it might solve the problem by starting at 1 - try anything :-) but still had the same response.
I'm now out of ideas!UTL_DBWS is not part of XDB, XDB is more about being the web service, rather than calling a web service. Here's an example of using UTL_HTTP to test a XML DB Database Native Web Service which may help
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jun 17 08:23:14 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> spool password.log
SQL> --
SQL> connect sys/oracle as sysdba
Connected.
SQL> --
SQL> def USERNAME=DBNWS
SQL> --
SQL> def PASSWORD=DBNWS
SQL> --
SQL> def HOSTNAME=&1
SQL> --
SQL> DROP USER &USERNAME CASCADE
2 /
old 1: DROP USER &USERNAME CASCADE
new 1: DROP USER DBNWS CASCADE
User dropped.
SQL> grant connect, resource to &USERNAME identified by &PASSWORD
2 /
old 1: grant connect, resource to &USERNAME identified by &PASSWORD
new 1: grant connect, resource to DBNWS identified by DBNWS
Grant succeeded.
SQL> begin
2 dbms_network_acl_admin.drop_acl('localhost.xml');
3 end;
4 /
PL/SQL procedure successfully completed.
SQL> begin
2 dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for &HOSTNAME', '&USERNAME', true, 'connect');
3 dbms_network_acl_admin.assign_acl('localhost.xml', '&HOSTNAME');
4 end;
5 /
old 2: dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for &HOSTNAME', '&USERNAME', true, 'connect');
new 2: dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for localhost', 'DBNWS', true, 'connect');
old 3: dbms_network_acl_admin.assign_acl('localhost.xml', '&HOSTNAME');
new 3: dbms_network_acl_admin.assign_acl('localhost.xml', 'localhost');
PL/SQL procedure successfully completed.
SQL> COMMIT
2 /
Commit complete.
SQL> GRANT XDB_WEBSERVICES TO &USERNAME
2 /
old 1: GRANT XDB_WEBSERVICES TO &USERNAME
new 1: GRANT XDB_WEBSERVICES TO DBNWS
Grant succeeded.
SQL> GRANT XDB_WEBSERVICES_OVER_HTTP TO &USERNAME
2 /
old 1: GRANT XDB_WEBSERVICES_OVER_HTTP TO &USERNAME
new 1: GRANT XDB_WEBSERVICES_OVER_HTTP TO DBNWS
Grant succeeded.
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> create or replace function GET_SQRT (INPUT_VALUE number) return number
2 as
3 begin
4 return SQRT(2);
5 end;
6 /
Function created.
SQL> select GET_SQRT(2)
2 from dual
3 /
GET_SQRT(2)
1.41421356
SQL> VAR URL VARCHAR2(4000)
SQL> --
SQL> BEGIN
2 :url := 'http://&USERNAME:&PASSWORD@&HOSTNAME:' || dbms_xdb.getHttpPort() || '/orawsv/&USERNAME/GET_SQRT';
3 end;
4 /
old 2: :url := 'http://&USERNAME:&PASSWORD@&HOSTNAME:' || dbms_xdb.getHttpPort() || '/orawsv/&USERNAME/GET_SQRT';
new 2: :url := 'http://DBNWS:DBNWS@localhost:' || dbms_xdb.getHttpPort() || '/orawsv/DBNWS/GET_SQRT';
PL/SQL procedure successfully completed.
SQL> print url
URL
http://DBNWS:DBNWS@localhost:80/orawsv/DBNWS/GET_SQRT
SQL> --
SQL> set long 100000 pages 0 lines 256
SQL> --
SQL> select httpuritype( :url || '?wsdl' ).getXML() from dual
2 /
<definitions name="GET_SQRT" targetNamespace="http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT" xmlns="http://schemas.xmlsoap.org/wsdl/
" xmlns:tns="http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://
schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT" elementFormDefault="qualified">
<xsd:element name="SNUMBER-GET_SQRTInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="INPUT_VALUE-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GET_SQRTOutput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RETURN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="GET_SQRTInputMessage">
<part name="parameters" element="tns:SNUMBER-GET_SQRTInput"/>
</message>
<message name="GET_SQRTOutputMessage">
<part name="parameters" element="tns:GET_SQRTOutput"/>
</message>
<portType name="GET_SQRTPortType">
<operation name="GET_SQRT">
<input message="tns:GET_SQRTInputMessage"/>
<output message="tns:GET_SQRTOutputMessage"/>
</operation>
</portType>
<binding name="GET_SQRTBinding" type="tns:GET_SQRTPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GET_SQRT">
<soap:operation soapAction="GET_SQRT"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
</binding>
<service name="GET_SQRTService">
<documentation>Oracle Web Service</documentation>
<port name="GET_SQRTPort" binding="tns:GET_SQRTBinding">
<soap:address location="http://localhost:80/orawsv/DBNWS/GET_SQRT"/>
</port>
</service>
</definitions>
SQL> set serveroutput on
SQL> --
SQL> DECLARE
2 V_SOAP_REQUEST XMLTYPE := XMLTYPE(
3 '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4 <SOAP-ENV:Body>
5 <m:SNUMBER-GET_SQRTInput xmlns:m="http://xmlns.oracle.com/orawsv/&USERNAME/GET_SQRT">
6 <m:INPUT_VALUE-NUMBER-IN>2</m:INPUT_VALUE-NUMBER-IN>
7 </m:SNUMBER-GET_SQRTInput>
8 </SOAP-ENV:Body>
9 </SOAP-ENV:Envelope>');
10 V_SOAP_REQUEST_TEXT CLOB := V_SOAP_REQUEST.getClobVal();
11 V_REQUEST UTL_HTTP.REQ;
12 V_RESPONSE UTL_HTTP.RESP;
13 V_BUFFER VARCHAR2(1024);
14 BEGIN
15
16 V_REQUEST := UTL_HTTP.BEGIN_REQUEST(URL => :URL, METHOD => 'POST');
17 UTL_HTTP.SET_HEADER(V_REQUEST, 'User-Agent', 'Mozilla/4.0');
18 V_REQUEST.METHOD := 'POST';
19 UTL_HTTP.SET_HEADER (R => V_REQUEST, NAME => 'Content-Length', VALUE => DBMS_LOB.GETLENGTH(V_SOAP_REQUEST_TEXT));
20 UTL_HTTP.WRITE_TEXT (R => V_REQUEST, DATA => V_SOAP_REQUEST_TEXT);
21
22 V_RESPONSE := UTL_HTTP.GET_RESPONSE(V_REQUEST);
23 LOOP
24 UTL_HTTP.READ_LINE(V_RESPONSE, V_BUFFER, TRUE);
25 DBMS_OUTPUT.PUT_LINE(V_BUFFER);
26 END LOOP;
27 UTL_HTTP.END_RESPONSE(V_RESPONSE);
28 EXCEPTION
29 WHEN UTL_HTTP.END_OF_BODY THEN
30 UTL_HTTP.END_RESPONSE(V_RESPONSE);
31 END;
32 /
old 5: <m:SNUMBER-GET_SQRTInput xmlns:m="http://xmlns.oracle.com/orawsv/&USERNAME/GET_SQRT">
new 5: <m:SNUMBER-GET_SQRTInput xmlns:m="http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT">
<?xml version="1.0" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GET_SQRTOutput xmlns="http://xmlns.oracle.com/orawsv/DBNWS/GET_SQRT">
<RETURN>1.41421356237309504880168872420969807857</RETURN>
</GET_SQRTOutput>
</soap:Body>
</soap:Envelope>
PL/SQL procedure successfully completed.
SQL> set serveroutput on
SQL> --
SQL>
SQL> -
Consuming a web service in ABAP exception and error
Hi experts,
I have succesfully implemented this example web service http://www.webservicex.net/airport.asmx?WSDL from http://www.webservicex.net/airport.asmx and everything works perfect so I know it is possible.
But my requirement is to implement the following web service: http://ws1.webservices.nl/business/soap_doclit?wsdl it is a document/literal soap web service and WS-I Basic Profile 1.0 compliant. When I try to create a proxy object I get the following errors:
- Exception occurred in library handler
- Incorrect value: Unknown Namespace http://schemas.xmlsoap.org/wsdl
I already found that library handler exception might have something to do with http bindings, I found note 1403271 but as my system is running on release 702 level 0008 this note is obsolete.
Now 2nd error, incorrect value I don't really understand.. I also think the web service is SOAP 1.1 and not 1.2 because that should also give problems according to this topic: Proxy object to consume web service - can anyone verify to be sure? I'm not that familiar with WSDL files but does anyone know what I can test and what I can remove from the web service?
The web service documentation is found here: https://webview.webservices.nl/documentation/files/interfaces/soap/soap-txt.html#SOAP_Interface.Differences_between_SOAP_interfaces
There are also other versions such as RPC/Encoded and one without a header but ALL versions give the exact same error.
Thx!check the beginning of your WSDL file
just after the first line <xml> you should have
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsa="http://www.w3.org/2005/08/addressing"
followed by the namespaces related to your web service if required.
SAP does all the job (generate the web service client) but any very little error in the file (or element not recognized) leads to this message "exception occurred in library handler" and it is not easy to know exactly what is the error... -
11g Native Web Services Core Dump ( qmuwsPrintPackWSDL() )
I know that native PL/SQL web services are newer functionality, but I have not been able to find any information on the following issue on MetaLink or here on the forums. When creating 11g native web services when attempting to retrieve the WSDL documents from the server the document is only partially served (estimated at about 2/3rds) or not at all (blank document returned).
Banner: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
The alert log gains this entry:
<msg time='2009-03-30T13:23:21.843-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20' module=''
pid='16144'>
<txt>Exception [type: ACCESS_VIOLATION, UNABLE_TO_READ] [ADDR:0x98] [PC:0x37FAE2B, _qmuwsPrintPackWSDL()+1031]
</txt>
</msg>
<msg time='2009-03-30T13:23:21.906-04:00' org_id='oracle' comp_id='rdbms'
msg_id='1205222838' type='INCIDENT_ERROR' group='Access Violation'
level='1' host_id='TEST_HOST1' host_addr='10.38.11.20'
prob_key='ORA 7445 [qmuwsPrintPackWSDL()+1031]' upstream_comp='' downstream_comp=''
ecid='' errid='62733' detail_path='c:\app\diag\rdbms\orcl\orcl\trace\orcl_s001_16144.trc'>
<txt>Errors in file c:\app\diag\rdbms\orcl\orcl\trace\orcl_s001_16144.trc (incident=62733):
ORA-07445: exception encountered: core dump [qmuwsPrintPackWSDL()+1031] [ACCESS_VIOLATION] [ADDR:0x98] [PC:0x37FAE2B] [UNABLE_TO_READ] []
</txt>
</msg>
<msg time='2009-03-30T13:23:21.953-04:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgexProcessError:1094:3370026720' type='TRACE' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20'>
<txt>Incident details in: c:\app\diag\rdbms\orcl\orcl\incident\incdir_62733\orcl_s001_16144_i62733.trc
</txt>
</msg>
<msg time='2009-03-30T13:23:23.250-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20' module=''
pid='3120'>
<txt>Trace dumping is performing id=[cdmp_20090330132323]
</txt>
</msg>
<msg time='2009-03-30T13:23:26.093-04:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgrimswi_sweep_incident:1855:4220681759' type='ERROR' group='ami_comp'
level='8' host_id='TEST_HOST1' host_addr='10.38.11.20'>
<txt>Sweep Incident[62733]: completed
</txt>
</msg>
<msg time='2009-03-30T13:23:44.500-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='TEST_HOST1' host_addr='10.38.11.20' module=''
pid='6724'>
<txt>found dead shared server 'S001', pid = (19, 3)
</txt>
</msg>The trace files contain the following:
Trace file c:\app\diag\rdbms\orcl\orcl\trace\orcl_s001_16144.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows NT Version V5.2 Service Pack 2
CPU : 16 - type 586, 4 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:10902M/24571M, Ph+PgF:8218M/26299M, VA:349M/2047M
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 19
Windows thread id: 16144, image: ORACLE.EXE (S001)
*** 2009-03-30 13:23:21.828
*** SESSION ID:(129.4177) 2009-03-30 13:23:21.828
*** CLIENT ID:() 2009-03-30 13:23:21.828
*** SERVICE NAME:(SYS$USERS) 2009-03-30 13:23:21.828
*** MODULE NAME:() 2009-03-30 13:23:21.828
*** ACTION NAME:() 2009-03-30 13:23:21.828
Exception [type: ACCESS_VIOLATION, UNABLE_TO_READ] [ADDR:0x98] [PC:0x37FAE2B, _qmuwsPrintPackWSDL()+1031]
Incident 62733 created, dump file: c:\app\diag\rdbms\orcl\orcl\incident\incdir_62733\orcl_s001_16144_i62733.trc
ORA-07445: exception encountered: core dump [qmuwsPrintPackWSDL()+1031] [ACCESS_VIOLATION] [ADDR:0x98] [PC:0x37FAE2B] [UNABLE_TO_READ] []I am at a loss on quickly resolving this issue. I will be attempting to find a solution via an SR, but I am not sure how responsive that will be. Any help is appreciated.
SR Number: 7504349.992Quick test for 11.1.0.7.0 (linux_x64) does not show a problem
SQL> connect sys/oracle as sysdba
Connected.
SQL> --
SQL> def USERNAME=WEB_API
SQL> --
SQL> def PASSWORD=WEB_API
SQL> --
SQL> DROP USER &USERNAME CASCADE
2 /
old 1: DROP USER &USERNAME CASCADE
new 1: DROP USER WEB_API CASCADE
DROP USER WEB_API CASCADE
ERROR at line 1:
ORA-01918: user 'WEB_API' does not exist
SQL> grant connect, resource to &USERNAME identified by &PASSWORD
2 /
old 1: grant connect, resource to &USERNAME identified by &PASSWORD
new 1: grant connect, resource to WEB_API identified by WEB_API
Grant succeeded.
SQL> begin
2 dbms_network_acl_admin.drop_acl('localhost.xml');
3 end;
4 /
begin
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "/sys/acls/localhost.xml"
ORA-06512: at "XDB.DBMS_XDB", line 337
ORA-06512: at "SYS.DBMS_NETWORK_ACL_ADMIN", line 428
ORA-06512: at line 2
SQL> begin
2 dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for 127.0.0.1', '&USERNAME', true, 'connect');
3 dbms_network_acl_admin.assign_acl('localhost.xml', '127.0.0.1');
4 end;
5 /
old 2: dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for 127.0.0.1', '&USERNAME', true, 'connect');
new 2: dbms_network_acl_admin.create_acl('localhost.xml', 'ACL for 127.0.0.1', 'WEB_API', true, 'connect');
PL/SQL procedure successfully completed.
SQL> COMMIT
2 /
Commit complete.
SQL> GRANT XDB_WEBSERVICES TO &USERNAME
2 /
old 1: GRANT XDB_WEBSERVICES TO &USERNAME
new 1: GRANT XDB_WEBSERVICES TO WEB_API
Grant succeeded.
SQL> GRANT XDB_WEBSERVICES_OVER_HTTP TO &USERNAME
2 /
old 1: GRANT XDB_WEBSERVICES_OVER_HTTP TO &USERNAME
new 1: GRANT XDB_WEBSERVICES_OVER_HTTP TO WEB_API
Grant succeeded.
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> var url varchar2(700)
SQL> --
SQL> set pages 0 long 10000
SQL> --
SQL>
SQL> CREATE OR REPLACE TYPE ACCOUNT_O AS OBJECT
2 (
3 ACCOUNT_ID NUMBER(9, 0),
4 ACCOUNT_NUMBER VARCHAR2(100),
5 ACCOUNT_NAME VARCHAR2(50),
6 ACTIVE NUMBER(1, 0),
7 DEACTIVE_DATE DATE,
8 START_DATE DATE,
9 END_DATE DATE,
10 ROLLOVER_ACCOUNT_NUMBER VARCHAR2(100),
11 ROLLOVER_ACCOUNT_NAME VARCHAR2(50),
12 ROLLOVER_SPEED_CODE VARCHAR2(10),
13 LAST_UPDATE_DATE DATE
14 )
15 /
Type created.
SQL> CREATE OR REPLACE TYPE ACCOUNT_SK AS OBJECT( ACCOUNT_ID NUMBER(38) )
2 /
Type created.
SQL> CREATE OR REPLACE PACKAGE ACCOUNT_API AS
2 FUNCTION "NEW"(ACCOUNT_ID NUMBER,
3 ACCOUNT_NUMBER VARCHAR2,
4 ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
5 ACTIVE NUMBER DEFAULT NULL,
6 DEACTIVE_DATE DATE DEFAULT NULL,
7 START_DATE DATE DEFAULT NULL,
8 END_DATE DATE DEFAULT NULL,
9 ROLLOVER_ACCOUNT_NUMBER VARCHAR2 DEFAULT NULL,
10 ROLLOVER_ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
11 ROLLOVER_SPEED_CODE VARCHAR2 DEFAULT NULL,
12 LAST_UPDATE_DATE DATE DEFAULT NULL)
13 RETURN ACCOUNT_SK;
14 PROCEDURE "UPDATE"(ACCOUNT_ID NUMBER,
15 ACCOUNT_NUMBER VARCHAR2,
16 ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
17 ACTIVE NUMBER DEFAULT NULL,
18 DEACTIVE_DATE DATE DEFAULT NULL,
19 START_DATE DATE DEFAULT NULL,
20 END_DATE DATE DEFAULT NULL,
21 ROLLOVER_ACCOUNT_NUMBER VARCHAR2 DEFAULT NULL,
22 ROLLOVER_ACCOUNT_NAME VARCHAR2 DEFAULT NULL,
23 ROLLOVER_SPEED_CODE VARCHAR2 DEFAULT NULL,
24 LAST_UPDATE_DATE DATE DEFAULT NULL);
25 PROCEDURE "DELETE"(ACCOUNT_ID NUMBER);
26 FUNCTION "GET"(ACCOUNT_ID NUMBER) RETURN ACCOUNT_O;
27 END ACCOUNT_API;
28 /
Package created.
SQL> BEGIN
2 :url := 'http://&USERNAME:&[email protected]:' || dbms_xdb.getHttpPort() || '/orawsv/&USERNAME/ACCOUNT_API';
3 end;
4 /
old 2: :url := 'http://&USERNAME:&[email protected]:' || dbms_xdb.getHttpPort() || '/orawsv/&USERNAME/ACCOUNT_API';
new 2: :url := 'http://WEB_API:[email protected]:' || dbms_xdb.getHttpPort() || '/orawsv/WEB_API/ACCOUNT_API';
PL/SQL procedure successfully completed.
SQL> print url
http://WEB_API:[email protected]:80/orawsv/WEB_API/ACCOUNT_API
SQL> --
SQL> select httpuritype( :url || '?wsdl' ).getXML() from dual
2 /
<definitions name="ACCOUNT_API" targetNamespace="http://xmlns.oracle.com/orawsv/
WEB_API/ACCOUNT_API" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://
xmlns.oracle.com/orawsv/WEB_API/ACCOUNT_API" xmlns:xsd="http://www.w3.org/2001/X
MLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/WEB_API/ACCOUNT_
API" elementFormDefault="qualified">
<xsd:element name="UPDATEInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="START_DATE-DATE-IN" minOccurs="0" maxOccurs="1" t
ype="xsd:date"/>
<xsd:element name="ROLLOVER_SPEED_CODE-VARCHAR2-IN" minOccurs="0" ma
xOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NUMBER-VARCHAR2-IN" minOccurs="0
" maxOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0"
maxOccurs="1" type="xsd:string"/>
<xsd:element name="LAST_UPDATE_DATE-DATE-IN" minOccurs="0" maxOccurs
="1" type="xsd:date"/>
<xsd:element name="END_DATE-DATE-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:date"/>
<xsd:element name="DEACTIVE_DATE-DATE-IN" minOccurs="0" maxOccurs="1
" type="xsd:date"/>
<xsd:element name="ACTIVE-NUMBER-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:double"/>
<xsd:element name="ACCOUNT_NUMBER-VARCHAR2-IN" type="xsd:string"/>
<xsd:element name="ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0" maxOccurs
="1" type="xsd:string"/>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="UPDATEOutput">
<xsd:complexType>
<xsd:sequence>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CACCOUNT_SK-NEWInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="START_DATE-DATE-IN" minOccurs="0" maxOccurs="1" t
ype="xsd:date"/>
<xsd:element name="ROLLOVER_SPEED_CODE-VARCHAR2-IN" minOccurs="0" ma
xOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NUMBER-VARCHAR2-IN" minOccurs="0
" maxOccurs="1" type="xsd:string"/>
<xsd:element name="ROLLOVER_ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0"
maxOccurs="1" type="xsd:string"/>
<xsd:element name="LAST_UPDATE_DATE-DATE-IN" minOccurs="0" maxOccurs
="1" type="xsd:date"/>
<xsd:element name="END_DATE-DATE-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:date"/>
<xsd:element name="DEACTIVE_DATE-DATE-IN" minOccurs="0" maxOccurs="1
" type="xsd:date"/>
<xsd:element name="ACTIVE-NUMBER-IN" minOccurs="0" maxOccurs="1" typ
e="xsd:double"/>
<xsd:element name="ACCOUNT_NUMBER-VARCHAR2-IN" type="xsd:string"/>
<xsd:element name="ACCOUNT_NAME-VARCHAR2-IN" minOccurs="0" maxOccurs
="1" type="xsd:string"/>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="NEWOutput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RETURN" type="tns:ACCOUNT_SKType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CACCOUNT_O-GETInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="GETOutput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RETURN" type="tns:ACCOUNT_OType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DELETEInput">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID-NUMBER-IN" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DELETEOutput">
<xsd:complexType>
<xsd:sequence>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ACCOUNT_SKType">
<xsd:sequence>
<xsd:element name="ACCOUNT_SK">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ACCOUNT_OType">
<xsd:sequence>
<xsd:element name="ACCOUNT_O">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ACCOUNT_ID" type="xsd:double"/>
<xsd:element name="ACCOUNT_NUMBER">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="100"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ACCOUNT_NAME">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ACTIVE" type="xsd:double"/>
<xsd:element name="DEACTIVE_DATE" type="xsd:date"/>
<xsd:element name="START_DATE" type="xsd:date"/>
<xsd:element name="END_DATE" type="xsd:date"/>
<xsd:element name="ROLLOVER_ACCOUNT_NUMBER">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="100"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ROLLOVER_ACCOUNT_NAME">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ROLLOVER_SPEED_CODE">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="LAST_UPDATE_DATE" type="xsd:date"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
<message name="UPDATEInputMessage">
<part name="parameters" element="tns:UPDATEInput"/>
</message>
<message name="UPDATEOutputMessage">
<part name="parameters" element="tns:UPDATEOutput"/>
</message>
<message name="NEWInputMessage">
<part name="parameters" element="tns:CACCOUNT_SK-NEWInput"/>
</message>
<message name="NEWOutputMessage">
<part name="parameters" element="tns:NEWOutput"/>
</message>
<message name="GETInputMessage">
<part name="parameters" element="tns:CACCOUNT_O-GETInput"/>
</message>
<message name="GETOutputMessage">
<part name="parameters" element="tns:GETOutput"/>
</message>
<message name="DELETEInputMessage">
<part name="parameters" element="tns:DELETEInput"/>
</message>
<message name="DELETEOutputMessage">
<part name="parameters" element="tns:DELETEOutput"/>
</message>
<portType name="ACCOUNT_APIPortType">
<operation name="UPDATE">
<input message="tns:UPDATEInputMessage"/>
<output message="tns:UPDATEOutputMessage"/>
</operation>
<operation name="NEW">
<input message="tns:NEWInputMessage"/>
<output message="tns:NEWOutputMessage"/>
</operation>
<operation name="GET">
<input message="tns:GETInputMessage"/>
<output message="tns:GETOutputMessage"/>
</operation>
<operation name="DELETE">
<input message="tns:DELETEInputMessage"/>
<output message="tns:DELETEOutputMessage"/>
</operation>
</portType>
<binding name="ACCOUNT_APIBinding" type="tns:ACCOUNT_APIPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/ht
tp"/>
<operation name="UPDATE">
<soap:operation soapAction="UPDATE"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
<operation name="NEW">
<soap:operation soapAction="NEW"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
<operation name="GET">
<soap:operation soapAction="GET"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
<operation name="DELETE">
<soap:operation soapAction="DELETE"/>
<input>
<soap:body parts="parameters" use="literal"/>
</input>
<output>
<soap:body parts="parameters" use="literal"/>
</output>
</operation>
</binding>
<service name="ACCOUNT_APIService">
<documentation>Oracle Web Service</documentation>
<port name="ACCOUNT_APIPort" binding="tns:ACCOUNT_APIBinding">
<soap:address location="http://127.0.0.1/orawsv/WEB_API/ACCOUNT_API"/>
</port>
</service>
</definitions>But I think you said it was intermittant -
How to implement web service client timeout
I'm trying to implement a web service client using JAX-RPC specification and the client is generated by clientgen utility. We are using weblogic8.1(sp5).
How do I control the connection timeout and data transmission timeout? I have tried:
BindingInfo.setTimeout() method and stub._setProperty("weblogic.webservice.rpc.timeoutsecs", "1" /* secs */);
and they don't seem to be working...
I have searched the web service documentation and didn't found any mentioning on this. Can someone shred some light on this?
Thanks.
Ren
nullHi,
I had a problem too for setting the timeout of a webservice client. but i didn't find any thing on this.
But there is a work around for this see if it suits you but for this you have to use Apache AXIS webservice api to generate the client in that Api you have the Stub.timeOut() function to over come this problem
Cheers !!
Vivek:-) -
Web Service Task - that accepts XmlNode Input
I'm creating an SSIS package that uses a web service method called "GetReportResults" ). The input parameters are:
username (string)
password (string)
reportid (int)
templateValues (xmlnode)
When I run the package, how do I input the values for the xmlnode? The web service documentation shows an example that says I need to pass in the templateValues (filters) like this for the xmlnode:
<FilterItems>
<FilterItem FilterItemId="62898" FieldTitle="Date Modified" Operator="GreaterThan" Value="" IsTemplate="true" />
<FilterItem FilterItemId="62899" FieldTitle="Date Modified" Operator="LessThan" Value="" IsTemplate="true" />
<FilterItem FilterItemId="62900" FieldTitle="Date Modified" Operator="GreaterThanOrEqualTo" Value="8/13/2013 12:00 AM" IsTemplate="false" />
<FilterItem FilterItemId="62901" FieldTitle="Status" Operator="DoesNotContain" Value="" IsTemplate="true" />
</FilterItems>
How do I go about setting this up so that when the package runs the templateValues are automatically input? Is there some sort of XML task that will accomplish this? If so, how would I implement this.I did find find this in the web service documentation:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0.0">
<xs:element name="FilterItems">
<xs:complexType>
<xs:sequence>
<xs:element name="FilterItem" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<!-- Set the inner text to the appropriate value -->
<xs:simpleContent id="Value">
<xs:extension base="xs:string">
<!--
You must use either the FilterItemId or the FieldTitle
-->
<xs:attribute name="FilterItemId" type="xs:integer" use="optional"/>
<xs:attribute name="FieldTitle" type="xs:string" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Maybe you are looking for
-
I also am having a problem with the songs I purchased using the laptop not showing on the desk top itunes, even though it is authorized to do so. The new songs did show up on the iPad iTunes, however. Have no idea why. I thought this happened auto
-
Unable to acces share folder in windows xp pro from windows 7 proff
after typing backslash back slash computer name in run , I am getting authentication windows . after giving credentials am getting the same window with blank password ( seems like wrong password ) but I can connect to this machine by remote desktop
-
One USB port isn't working...
Hey, I just realised that one of my USB ports isn't working when I plugged in my mouse... Should I be very concerned about this? I live in a really remote community (ie no stores anywhere closer than a 3 hour plane ride away) and can't bear the thoug
-
OEM 10g Oracledbconsole problems in a Windows XP Pro environment
I just figured why the new Oracle 10g OEM for windows(Windows XP Pro in my case) will not start up and the OracleDBConsole process fails with a return code of 2( Agent process exited abnormally during initialization). I had my internet service connec
-
Hello, I have completed a logo in Illustrator CS6 for my business to be used for printing and a website I am trying to build. I have made the art board fit to the logo and saved a jpg version in the Save For Web option but have noticed the white art