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 Development

Here 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

Similar Messages

  • How to install and consume GroupWise Web Service (SOAP)

    Hello! I'm Razvan, programmer from Romnia, and I am new to GroupWise development.
    I am asking if anyone could help me with a C# Visual Studio 2010 example of how to install and consume GroupWise Web Service (SOAP).
    The documentation from novell site didn't help me, i didn't understant much of it.
    All I need is either a link to a documented GroupWise C# developer step-by-step tutorial, or some code examples.
    Can you please show me some code examples in C# with:
    1)loging in using a username and a password,
    2)retrieving contact list,
    3)retrieving appointment list,
    4)sending a mail,
    5)setting an appointment
    I don't know how to use "groupwise.wsdl" and customise it so that it points to our GroupWise server.
    Please, I really need this because I am working at a project right now which involves GroupWise integration.
    I hope I haven't disturbed anyone with my simple question.
    I know this might be a very simple question given the complexity of the other posts here, but that's why I really hope I will get an answer soon.
    Thank you very much!
    Signature:
    How old is the Orthodox faith?
    How old is the orthodox faith?

    Just a comment.
    The value for the version element should be "1.02"
    not "1.2".
    Preston
    >>> On Tuesday, March 01, 2011 at 8:06 AM,
    TheRomanian<[email protected]> wrote:
    > I have great news! After strong documentation yesterday and today, I've
    > just made a successfull example that actually connects to our GroupWise
    > server.
    >
    > I made it in PHP.
    >
    > I need an ASP.NET + C# application, but now is very simple to convert
    > it. I post the PHP code here for other people who in future might be
    > interested in finding out.
    >
    > So a simple PHP GroupWise Login code using "groupwise.wsdl" web
    > service:
    >
    >
    > require_once('./GWService/GroupwiseService.php');
    > require_once('FB.class.php');
    >
    > $classmap = array(
    > 'Authenication' => 'Authenication',
    > 'PlainText' => 'PlainText',
    > 'loginRequest' => 'loginRequest',
    > 'loginResponse' => 'loginResponse',
    > 'logoutRequest' => 'logoutRequest',
    > 'logoutResponse' => 'logoutResponse',
    > 'UserInfo' => 'UserInfo',
    > );
    >
    > $gwservice = new GroupwiseService(
    > "./WSDL/groupwise.wsdl",
    > array(
    > "location" => "http://11.150.40.78:8756/soap",
    > *Your GroupWise server IP:
    > and PORT*
    > "classmap" => $classmap,
    > "trace" => true)
    > );
    >
    > // do login
    > $pt = new PlainText();
    > $pt‑>username = *"YOUR GROUPWISE USERNAME"*;
    > $pt‑>password = *"YOUR GROUPWISE PASSWORD"*;
    >
    > $lr = new loginRequest();
    > $lr‑>auth = $pt;
    > $lr‑>language = "en";
    > $lr‑>version = "1.2";
    > $lr‑>application = "phpClient";
    >
    > $lres = $gwservice‑>loginRequest($lr);
    > //print_r($lres);
    >
    >
    > I Hope this will help others.
    >
    > ‑‑
    > Signature:
    >
    > How old is the Orthodox Faith?
    > 'How old is the orthodox faith?'
    > (http://www.orthodoxphotos.com/history.shtml)

  • Create new mailbox via Groupwise web service (SOAP)

    Good evening!
    I'm new to Groupwise integration via SOAP and was looking through the web service API at this page.
    Unfortunately, I was not able to find a method that would allow me to create a new mailbox. Do you have any info if this is even doable via the Groupwise web services? If so, what method should I be using?
    Kind regards
    Hubbovich

    That is only possible programmatically through
    the Admin API.
    Preston
    >>> On Sunday, May 29, 2011 at 12:36 PM,
    Hubbovich<[email protected]> wrote:
    > Good evening!
    >
    >
    > I'm new to Groupwise integration via SOAP and was looking through the
    > web service API at 'this page'
    >
    (http://developer.novell.com/document...ex.html?page=/
    > documentation/gwsoap/gwwbserv/data/b8cg4px.html).
    >
    > Unfortunately, I was not able to find a method that would allow me to
    > create a new mailbox. Do you have any info if this is even doable via
    > the Groupwise web services? If so, what method should I be using?
    >
    > Kind regards
    >
    > Hubbovich

  • Groupwise Web service Problem

    Hello,
    i try to use the novell groupwise web service with coldfusion
    8. It´s not possible to resgister this service in Coldfusion
    Adminstrator. I get allways an error if i register this service.
    This also happens by many other services like Innovaphones
    VOIP Soap.
    If i use theses services in Flex there´s no problem.
    I think, coldfusion has problems with some definitions in the
    wsdl-file. Is it possible, to get some informations whats wrong,
    when i register the service?
    Regards
    Thomas

    Hi Keith,
    The issue may be due to Federal Information Processing Standard (FIPS) was enabled on SSRS server. Please refer to the following steps to fix the issue:
    Use Notepad to open the web.config file of Report Server and Report Manager. In SSRS 2012, the default location is: C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer
    (Note: Please backup the file before modify it.)
    Add the following <machineKey> section in the <system.web> section:
    <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" decryption="3DES"/>
    Reference: http://support.microsoft.com/kb/911722/en-us
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • 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 Kumar

    Rajiv,
    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 advance

    Hi 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

  • 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,
    Mike

    Mike,
    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,
    Johan

    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

  • 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?
    Thanks

    So 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.

  • 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

  • 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 advise

    Hello 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...

Maybe you are looking for

  • Eyedropper issue with text color (CS6 / Win7)

    Hello there, I'm dealing with many bugs with my CS6 (same as my colleagues), but all of them are already here, so no need to create new topics. But this one is kind of new to me and I didn't find it here. Problem is picking-up a color for text from v

  • MacBook spillage!!

    okay so I have recently spilt a medium amount of nail polish remover on my mac book pro and it instantly turned off. I turned it back on and everything was working fine for a few minutes before cutting out. Now as I try to turn it back on its not wor

  • CSS and IE7 Issues

    I have made a horizontal nav bar out of an un-ordered list, and have use a 1 pixel boader between links instead od the pipe ( | ) character but in IE7 the padding acts different than in Firefox and Safari. With this code the padding looks equal on bo

  • Cannot navigate to settings on Apple TV

    When I turn on the Apple TV, "computer" is highlighted, and I cannot navigate to settings. I have changed the battery on the remote, held down menu and rewind, and menu and right. Nothing has worked so far. The remote does seem to be working because

  • Camera in AE!

    MMy camera is not working something about AE it won't take a picture at all. Please help! Thank you