Publish PLSQL as Web Service Fails

Hi!
I'm trying to publish PLSQL as a Web Service using the latest JDeveloper (JDeveloper 11g Release 2 (11.1.2.0.0)) and it fails on generating it.
Is this a bug? Does anyone can do this? Or I'm doing something wrong?
Database $version is:
<?xml version="1.0" ?>
<!DOCTYPE main [
<!ELEMENT main (DATA_RECORD*)>
<!ELEMENT DATA_RECORD (BANNER?)+>
<!ELEMENT BANNER (#PCDATA)>
]>
<main>
<DATA_RECORD>
<BANNER>Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi</BANNER>
</DATA_RECORD>
<DATA_RECORD>
<BANNER>PL/SQL Release 10.2.0.4.0 - Production</BANNER>
</DATA_RECORD>
<DATA_RECORD>
<BANNER>CORE&#9;10.2.0.4.0&#9;Production</BANNER>
</DATA_RECORD>
<DATA_RECORD>
<BANNER>TNS for Solaris: Version 10.2.0.4.0 - Production</BANNER>
</DATA_RECORD>
<DATA_RECORD>
<BANNER>NLSRTL Version 10.2.0.4.0 - Production</BANNER>
</DATA_RECORD>
</main>
this is the error
oracle.jdeveloper.webservices.tools.WsdlValidationException: oracle.j2ee.ws.common.tools.api.ValidationException: Error in database webservices assembly
Error in database webservices assembly
     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:1116)
     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.processDbEndpoint(WsaAdaptor.java:599)
     at oracle.jdeveloper.webservices.tools.WebServiceTools.processDbEndpoint(WebServiceTools.java:689)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at oracle.jdeveloper.webservices.tools.WebServiceTools$1.invoke(WebServiceTools.java:132)
     at $Proxy47.processDbEndpoint(Unknown Source)
     at oracle.jdeveloper.webservices.model.plsql.generator.PlsqlConfigureGenerator.createPortTypes(PlsqlConfigureGenerator.java:293)
     at oracle.jdeveloper.webservices.model.generator.ConfigureServiceGenerator.action(ConfigureServiceGenerator.java:66)
     at oracle.jdeveloper.webservices.model.plsql.generator.PlsqlConfigureGenerator.action(PlsqlConfigureGenerator.java:105)
     at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error in database webservices assembly
     at oracle.j2ee.ws.tools.wsa.db.WSADBPlugin.processDBEndpoint(WSADBPlugin.java:207)
     at oracle.j2ee.ws.tools.wsa.Util.processDBEndpoint(Util.java:1221)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at oracle.jdevimpl.webservices.util.Debug.invoke(Debug.java:343)
     at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:217)
     at $Proxy48.processDBEndpoint(Unknown Source)
     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.processDbEndpoint(WsaAdaptor.java:588)
     ... 14 more
Thanks in advance

Hi! Sorry for the delay...
I've checked the directory on the link that you mentioned, and it doesn't have any PLSQL package. Only jar's, namely runtime2.jar and translator.jar.. I've checked both jar's for the PLSQL package and I couldn't find it.
I'll check out the version of the database. I'll get back to you as soon as I have more information...
Thanks
Edited by: Tiago Soares on May 10, 2010 4:26 PM

Similar Messages

  • Publish PLSQL as web service wizard

    Is there a way to control naming of complex types in web services that are generated by “publish PLSQL as web service” wizard?
    I.E. for a type defined in the database called MY_TEST_TYPE the wizard generates something like MY_CONNECTION_MY_TEST_TYPEUser. I would like to see just MY_TEST_TYPE
    I know that this can be edited after the generation, but then benefits of managing 100% generated code would be lost.
    Thanks

    You may use properties file while generating Java classes via JPublisher wizard. You tell JPublisher wizard to omit schema (omit_schema_names parameter) names for your types, etc. You can read "About Properties Files" in JDeveloper help. Create a properties file and put all options in that file then use that file (somewhere in the wizard dialog - I do not remember) while generating Java classes via JPublisher wizard.
    The properties file example
    jpub.case=lower
    jpub.numbertypes=jdbc
    jpub.omit_schema_names
    jpub.methods=true
    Hope this helps.

  • Getting the Request Object in the EJB published as a Web Service

    Hi experts,
    I have a Portal Service that call a BAPI in a back-end system with the Connector Framework. I have a Portal Component that calls the Portal Service, passing the Locale (request.getLocale()) and the User (request.getUser()) object. It's work fine!
    I need to call the Portal Service by an EJB that is published as a Web Service. The connection between the EJB and Portal Service is ok, but I don't know how to get the Locale and the User object in the EJB to pass to the Portal Service.
    Is possible to get the request object from the HTTP SOAP Request?
    Thanks,
    Gustavo

    Hey Alice!
    The Feature Hashing module is actually a wrapper around
    Vowpal Wabbit's implementation of the murmurhash. Thus, it takes text in, and produces 2^N new features based on the text, where N is the bitsize specified in the module. These features (and not the original text!) should be used during model training.
    The Learner will then keep track of these features behind the scenes.
    When you publish your web service and these features are recomputed for new input text (same N), they are used as the features for scoring.
    Does that make sense?
    Regards,
    AK

  • [Integrated SOA Gateway] Publish Java based web service

    Welcome!
    Lately I have been trying to publish Java based web service through Integrated SOA Gateway. The documentation states that:
    +"Custom interface definitions can be created for various interface types including custom interface definitions for XML Gateway Map, Business Event, PL/SQL, Concurrent Program, Business Service Object, Java (except for Java APIs for Forms subtype) and Composite Service for BPEL type."+ (Integrated SOA Gateway Developer's Guide Release 12.1, "Creating and Using Custom Integration Interfaces")
    After familiarizing myself with $FND_TOP/bin/irep_parser.pl and $FND_TOP/bin/FNDLOAD tools, I have started coding my POJOs. Initially I have come up with three classes - request/response objects and service implementation. Service implementation has been annotated with "@rep:X" descriptors according to "Java Annotations" section of the documentation. While invoking $FND_TOP/bin/irep_parser.pl I have received errors about class resolution. My solution was to transform request and response types to static inner classes. This way I ended up with one *.java source file (see below).
    * Sample ISG Service.
    * @rep:scope public
    * @rep:product AP
    * @rep:displayname My Custom ISG Service.
    public class MyService {
    public static class Request {
    private String id;
    public void setId(String id) {
    this.id = id;
    public String getId() {
    return id;
    public static class Response {
    private String data;
    public void setData(String data) {
    this.data = data;
    public String getData() {
    return data;
    * Sample operation.
    * @param request Request Object.
    * @return Return Object.
    * @rep:displayname Test operation.
    * @rep:category BUSINESS_ENTITY SAMPLE_SERVICE
    public MyService.Response testOperation(MyService.Request request) {
    MyService.Response response = new MyService.Response();
    response.setData("Some Data");
    return response;
    ILDT file has been successfully created and uploaded. However, I could not see the "Generate WSDL" button on Integrated Repository website. Is there any particular interface or superclass that my service implementation should extend? I have reviewed "PurchaseOrderSDO" example posted in the developer's guide (page 407), but I couldn't come up with a working solution. Could you provide me with more detailed tutorial/example? Which documentation sections should I read again?
    After searching through forum, I have spotted $FND_TOP/bin/soagenerate.sh script, and thought that lack of "Generate WSDL" button was an EBS defect. After running the script, I have received an error:
    Error in Service Generation.
    ServiceGenerationError: Interface Type (JAVA) Interface SubType (null) is not supported.
    oracle.apps.fnd.soa.util.SOAException: ServiceGenerationError: Interface Type (JAVA) Interface SubType (null) is not supported.
         at oracle.apps.fnd.soa.provider.wsdl.ArtifactsFactory.getArtifactsGenerator(ArtifactsFactory.java:55)
         at oracle.apps.fnd.soa.provider.wsdl.WSDLGenerator.generateServiceWSDL(WSDLGenerator.java:128)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.generateSOAService(ServiceGenerator.java:75)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.generateSingleService(ServiceGenerator.java:88)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.main(ServiceGenerator.java:419)
    I would be grateful for any suggestions. Has anyone published Java based web service through ISG?
    Best regards,
    Lukasz

    I tried the following as per Oracle support and able to generate the wsdl though, but not invoke the webservices.
    1. Applied the patch 8607523
    2. Took the translator.jar file from the patch 8857799 and replaced the current translator.jar file
    3. Deploy the adapters.
    $FND_TOP/bin/txkrun.pl -script=CfgOC4JApp -applicationname=pcapps
    -oc4jpass=welcome -runautoconfig=No

  • Can we publish Flows as Web Services in SAP BODS ? How ?

    Hello Friends,
    Can we publish Flows as Web Services in SAP BODS ? How ?
    Best Regards,
    Bheem.

    Hello
    Batch jobs and real-time services can be published via the Data Services web service.  See the Integrator Guide for full details - http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_integrate_en.pdf
    Michael

  • Weblogic invoking web service failed due to socket timeout

    Hi,
    I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
    An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
    Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
    I have checked several parameters by WebLogic admin console and changed those values, but I still receive same errors.
    Regards,
    Fujio Sonehara

    Hey Eason,
    As I had previously mentioned, I have checked the FE server certs and have mentioned the signing algorithm it used to sign the certs, which was sha1DSA and not sha1RSA, I even checked my CA list of issued certs and have found all certs are signed the same.
    Signature algorithm: sha1DSA
    Signature Hash Algorithm: sha1
    Public Key:  RSA (1024 bit)
    I could run request and reinstall all day long it will still get the same certs signed with the algo..
    Doing some research I attempted to see if I could change the signing cert for a specific cert template that was being used to issue the Lync FE certs... however seems that from according to
    this, that I'd have to completely rebuild my CA before I'd be able to request and issue a cert with the proper signing algorithm?!
    This
    says its possible but not supported, what do I do in this situation? Is my only option to rebuild teh entire CA and cert infrastructure?
    I noticed my CSP is set to Microsoft Base DSS Cryptographic Provider, and under the CSP folder there is no "CNGHashAlgorithm" key so I'm using a "Next Gen CSP" apparently? Is this CSP good enough to support Lync...Straight up where is
    the Lync documentation on the CA setup requirements??
    This google link doesn't tell you how you should setup a CA for Lync, what settings need to set etc..

  • GetAndPublish web service failed due to an internal error

    Hello all,
    Been a little while, To start off we have no IP phones connected to Lync. We have a completely separate PBX and VoIP system.
    We have one FE server internally used to have internal users use Lync 2013 as a IM interface and Video conference. All users are running Lync 2013 with all the latest updates. Our Lync 2013 FE server is running on Windows 2008 R2 with all the latest updates.
    v I noticed in our event log the follow error v
    GetAndPublish web service failed due to an internal error. Request Details - Entity: [[email protected]], Device Id: [9A1A1E15-865F-5376-88CD-4384205012F9], Authenticated User: [sip:[email protected]]. Additional Context: [CA_Failure: InternalError] Cause:
    This is an unexpected failure Resolution: Re-start the web server. If you see this error continuously, examine the server traces and contact product support.
    I have googled and only came across technet forums that state checking certificate related issues.. or based around the IP Phones not authenticating. such as
    here, however this guy noted a certain algorithm required by the CA to work properly "RSASSA-PSS algorythm instead of RSAsha1". Now I'm not exactly sure how to check up on this, and I also don't get why everything seems to work fine but I keep
    getting these events populating.
    I also ran "Test-csclientauth" cmdlet on our FE server and came up with a failure much like on the link I provided above.
    Am I to assume these events are being populated because my Lync deployment was set up to use certs techincally not supported by Lync?

    Hey Eason,
    As I had previously mentioned, I have checked the FE server certs and have mentioned the signing algorithm it used to sign the certs, which was sha1DSA and not sha1RSA, I even checked my CA list of issued certs and have found all certs are signed the same.
    Signature algorithm: sha1DSA
    Signature Hash Algorithm: sha1
    Public Key:  RSA (1024 bit)
    I could run request and reinstall all day long it will still get the same certs signed with the algo..
    Doing some research I attempted to see if I could change the signing cert for a specific cert template that was being used to issue the Lync FE certs... however seems that from according to
    this, that I'd have to completely rebuild my CA before I'd be able to request and issue a cert with the proper signing algorithm?!
    This
    says its possible but not supported, what do I do in this situation? Is my only option to rebuild teh entire CA and cert infrastructure?
    I noticed my CSP is set to Microsoft Base DSS Cryptographic Provider, and under the CSP folder there is no "CNGHashAlgorithm" key so I'm using a "Next Gen CSP" apparently? Is this CSP good enough to support Lync...Straight up where is
    the Lync documentation on the CA setup requirements??
    This google link doesn't tell you how you should setup a CA for Lync, what settings need to set etc..

  • Call Webservice published by Biztalk web service wizard failed.

    Dears
    I have met an werid issue when call a webservice publish be biztalk.
    in fact I have publish three web services totally.  the problem is two of them are working, and third is not.
    this is the iis log captured. I found 500 error, has any one met this issue and know about the root cause?
    #Date: 2013-12-12 07:37:45
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
    2013-12-12 07:37:45 ::1 GET /EOrdering_Order_Proxy/ - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 1885
    2013-12-12 07:37:53 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 1763
    2013-12-12 07:38:01 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 64 5241
    2013-12-12 07:38:01 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 680
    2013-12-12 07:38:03 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 98
    2013-12-12 07:39:10 10.44.23.216 OPTIONS /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 - 200 0 0 0
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata - 80 - 10.44.23.216 - 500 0 0 8
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/$metadata - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 500 0 0 6
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 5
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx disco 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 22
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052)
    500 0 0 70
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx wsdl 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 435
    2013-12-12 07:39:10 10.44.23.216 POST /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 - 500 0 0 338
    2013-12-12 07:39:11 10.44.23.216 POST /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/mex - 80 - 10.44.23.216 - 500 0 0 679
    this issue is samiliar with
    http://social.msdn.microsoft.com/Forums/en-US/8984be48-3221-4ca7-9e60-00cc51e9d46a/request-format-is-unrecognized-for-url-unexpectedly-ending-in-metadata?forum=biztalkgeneral
    I also saw the event log metioned in that artilce. but I don't understand the root casue and solution. can anyone kindly help?

    This is the Event log detail, has any on met this issue before?
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 12/12/2013 4:21:56 PM
    Event time (UTC): 12/12/2013 8:21:56 AM
    Event ID: 7f0cb6e13bc8411e8f9ab5fa4d3c1a50
    Event sequence: 4
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/1/ROOT/EOrdering_Order_Proxy-1-130313101166971105
        Trust level: Full
        Application Virtual Path: /EOrdering_Order_Proxy
        Application Path: C:\inetpub\wwwroot\EOrdering_Order_Proxy\
        Machine name: CNSHABPMQADB01
    Process information:
        Process ID: 3660
        Process name: w3wp.exe
        Account name: SNCORP\sgbpm01
    Exception information:
        Exception type: InvalidOperationException
        Exception message: Request format is unrecognized for URL unexpectedly ending in '/_vti_bin/ListData.svc/$metadata'.
       at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
       at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Request information:
        Request URL: .......................
        Request path: /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata
        User host address: ::1
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: SNCORP\sgbpm01
    Thread information:
        Thread ID: 6
        Thread account name: SNCORP\sgbpm01
        Is impersonating: False
        Stack trace:    at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
       at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Custom event details:

  • PL/SQL  Web Service fails when deployed to WebLogic server

    I have a web service generated via JDeveloper from a PL/SQL package. It runs fine both when tested in JDeveloper and when the WAR file is manually deployed to the Integrated WebLogic Server. However, when the WAR file is deployed to our actual WebLogic server, it fails. Other existing web services that were not generated with the JDeveloper wizard work correctly. I am having trouble finding any references to this type of issue to solve it. Are there any ideas what might be causing the WSDL to fail?
    References:
    * JDeveloper 11.1.1.6.
    * No proxies are involved.
    * The PLSQL package is a basic function that returns varchar2 input fed in by one parameter:
    create or replace package body pkg_ws_test as
    function test_me (p_anything_in varchar2)
    return varchar2 is
    begin
    return p_anything_in;
    end test_me;
    end pkg_ws_test;
    * Top of error stack is as follows:
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://svr:8892/wsTest2-getSame-context-root/TestMePort?wsdl: HTTP connection error code is 500 at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at
    ...

    Hi,
    The below error trace you've provided doesn't confirm that Weblogic server has thrown the error.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://svr:8892/wsTest2-getSame-context-root/TestMePort?wsdl: HTTP connection error code is 500 at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at
    Please paste complete stacktrace of the error to check and also include the caused by section in the error.
    Thanks,
    Vijaya

  • Jdeveloper 11g R2 problem when publishing PL\SQL Web Service

    Hi Guys,
    I have been banging my head against the wall for the past few days trying to publish pl\sql package as a web service on a weblogic 10.3 but I keep running into the same problem.
    PL\SQL Package Source below
    create type dept_type as object
    (deptno NUMBER,
    dname VARCHAR2(50),
    loc varchar2(13),
    cr_date date)
    create type dept_list_table is table of dept_type
    purge recyclebin;
    create or replace package ws_package as
    procedure test_dept_table (pout out dept_list_table);
    end ws_package;
    show errors;
    create or replace package body ws_package as
    procedure test_dept_table (pout out dept_list_table) is
    all_depts dept_list_table := dept_list_table();
    dRecType dept_type;
    i number := 0;
    begin
    -- iterate through all depts
    for r_list in (select * from dept) loop
    i := i + 1;
    dRecType := dept_type(null, null, null, null);
    dRecType.deptno := r_list.deptno;
    dRecType.dname := r_list.dname;
    dRecType.loc := r_list.loc_id;
    dRecType.cr_date := sysdate;
    pout.extend;
    pout(i) := dRecType;
    end loop;
    end test_dept_table;
    end ws_package;
    show errors;
    I go and create PL\SQL Web Service using default settings in Jdeveloper 11g R2 but when I try and test this page I get the following response:
    Failed to invoke end component servqa.MyWebService1User (POJO), operation=testDeptTable -> Failed to invoke method -> java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00306: wrong number or types of arguments in call to 'TEST_DEPT_TABLE' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Anyone have any idea what the problem may be? Your help would be much appreceated!
    Bojan

    Hi Frank,
    I think the problem is in any procedure that has a COMPLEX TYPE as OUT parameter. So even if you strip down the procedure to just do nothing I still get the error as described in my top post. Passing complex parameters as IN parameter work fine its only when I have procedure with complex out when it errors. I also tried function that returns object parameter and that works fine too so not sure why this doesnt?
    create or replace package body ws_package as
    procedure test_dept_table (pout out dept_list_table) is
    begin
    -- iterate through all depts
    for r_list in (select * from dept) loop
    i := i + 1;
    end loop;
    end test_dept_table;
    end ws_package;
    Not sure if I am meant to do anything extra before I generate Web Service using JDeveloper if my procedure has got PL\SQL types as OUT parameters but as far as I know JDeveloper should do all the type conversions for you??
    Thanks
    Bojan

  • Generation Error - when trying to publish a Java web service

    Hi All,
    I keep getting the following Generation Error -- java.util.NoSuchElementException_ when I'm trying to create a Java Web Service using the jdeveloper wizard.
    I have 2 entities and 2 stateless session beans acting as their facades. One entity has a One-One(FK) relationship with the other entity. I test out the entities and session beans using the test client and the OC4J embedded container and everything seems to work. When I try to generate a Java WebService from one of the entities I keep getting the "Generation Error". Could someone please provide me with some insight into why I'm facing this problem, because it seemed fine when I published J2EE web services previously and now this happens and I cant seem to publish web services anymore. Everytime I keep getting the same GenerationError. Thanks in advance.

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

  • How to publish a SAP Web Service in SAP XI/PI 7.0

    Hi,
    First I've to say that I'n new in this deals with SAP Web Services and SAP XI/PI.
    I've created a Web Service with TX SE80 using a standard BAPI.
    I've created the Client Proxy with TX SE80.
    I've created a Logical Port wiht TX LPCONFIG.
    I've tried this is SOAMANAGER but I have this error...
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    I would like to publish this service in my SAP XI/PI 7.0
    How can I solve the error in SOAMANAGER?
    How can I publish de SAP WS that I've created in SAP XI/PI?
    Thanks a lot.
    Waiting for your news.
    Fernando.

    Hi Dimitri,
    I had the same problem:
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    And by following Nags hints I got solution:
    1, On the system where is your service provider, run transaction SICF
    2, Execute this transaction
    3, Go to node: default_host/sap/bc/srt/wsil
    4, Right click on "wsil" -> choose "Test service" - web browser should open with XML definition of service
    5, Find your service provider. In my case it looks like this:
    <service>
    <name>ZTEST_WS</name>
    u2212
    <wsdlNamespace>
    urn:sap-com:document:sap:soap:functions:mc-style/service
    </wsdlNamespace>
    <wsdlName>service</wsdlName>
    u2212
    <wsdl>
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    </wsdl>
    </service>
    5, Look for WSDL link -> in my case:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    I dont know why, but this link is different like WSDL link in service definition which I can see in SE80:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/sdef_ZTEST_WS/wsdl11/ws_policy/document?sap-client=800
    6, Use this link (from "wsil") instead of link from SE80 in SOAMANAGER to create logical port
    7, Yours logicall port should be created without errors.
    My question - have anybody idea, why this links are different and why only that second one works?
    Peter

  • Multiple calls to web service fails

    I designed the following program to stress test a web service I wrote. The problem is, if I attempt to call the web service more than twice, all subsequent calls fail with the following exception:
    spawned number 1
    Thread number 1 104
    spawned number 2
    Thread number 2 104
    spawned number 3
    System.Net.WebException: The operation has timed out
    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
    at System.Net.HttpWebRequest.GetRequestStream()
    at Slam.Work.WebCall(Int32 i) in c:\Users\AM\Documents\Visual Studio 2013\Proje
    cts\Slam\Slam\Program.cs:line 75
    Exception thrown for 3
    System.ArgumentNullException: Value cannot be null.
    Parameter name: destination
    at System.IO.Stream.CopyTo(Stream destination)
    at Slam.Work.WebCall(Int32 i) in c:\Users\AM\Documents\Visual Studio 2013\Proje
    cts\Slam\Slam\Program.cs:line 81
    Press any key to continue . . .
    Here is the program:
    using System;
    using System.Text;
    using System.Threading;
    using System.Net;
    using System.IO;
    namespace Slam
    class Program
    static void Main(string[] args)
    Work w = new Work();
    for (int x = 1; x < 4; x++)
    int y = x;
    w.WebCall(y);
    Thread.Sleep(1000);
    public class Work
    private string username = "*****";
    private string password = "*****";
    private string url = "https://192.168.1.23:9092/Api/WebI";
    public void WebCall(int i)
    Console.WriteLine("spawned number " + i);
    try
    var credentials = string.Join(":", username, password);
    var base64String = Convert.ToBase64String(Encoding.UTF8.GetBytes(credentials));
    var request = WebRequest.Create(url);
    request.Headers.Add(HttpRequestHeader.Authorization, string.Join(" ", "Basic", base64String));
    request.Method = WebRequestMethods.Http.Post;
    string fileName = @"c:\work\sample.txt";
    System.IO.Stream requestStream = null;
    using (var fileStream = File.OpenRead(fileName))
    request.ContentLength = fileStream.Length;
    ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
    try
    requestStream = request.GetRequestStream();
    catch (Exception e)
    Console.WriteLine(e);
    fileStream.CopyTo(requestStream);
    var response = request.GetResponse();
    Console.WriteLine("Thread number {0} {1}", i, response.ContentLength);
    fileStream.Close();
    requestStream.Close();
    catch (Exception g)
    Console.WriteLine("Exception thrown for " + i);
    Console.WriteLine(g);
    The program which is failing is the client not the service. Can someone please provide me with some direction as to why this always fails on the third call.

    Hi Steven,
    According to the second exception, the problem may be that the requestStream of the webservice call is null when the 3rd time the WebRequest send request to the webservice. Please debug the code and verify if it's this case. And it's better to tell us more
    about the content of the text file and what the webservice does when you send request to it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BI Publisher As a web service problem

    Hello every body,
    I work on University and we got an advice to use BI publisher as a report tool
    we want to use Public Report Web Service which is coming with BI Publisher server
    we need to create reports which contains a lot of parameters
    and those parameters are optional
    any note about how we can change the data source to work true with those optional parameters
    BR,
    Alaa

    let me give you an example
    I have information about students like its name,telephone,address and father status
    we need to give 100 student scholarship if those students live in city A and his father status dead
    and on the other side we need to give 50 student which is has a dead father
    so as we see we have two reports one with city and other without
    so city is optional parameter
    any solution please?
    BR,
    Alaa

  • Publisher report with web service data source timing out in browser

    I have a report which calls a web service. Depending on parameters passed the data can take 5+ minutes to return. The report often times out in the browser before data is returned.
    Is there a BI Publisher or OBIEE setting where i can extend the timeout setting?
    easy points!

    Think I found it in report data source settings, nevermind!

Maybe you are looking for

  • How to export antialiased images of PDF pages?

    Hello all: I recently upgraded to Acrobat XI, and I am surprised to see that you STILL cannot export (or Save As) PDF pages to images that are ANTIALIASED!? Does anyone have a simple answer for this that doesn't involve a workflow of more than 5 step

  • Report 10g  report output to email

    Hi All, report server 10g is setup with the mailServer plugin details. However when trying to send email I am getting REP-50159 error. The email server is configured with close relay meaning a username/password detail must be provided in order to rel

  • Goods consumption document posting date should be same as POD confirmation

    Hi friends, The scenario is like this --- The delivery is POD relevant, after delivery consignment lending happens {movement type 631}, then GI is done. But, only after POD confirmation this GI document comes into this document flow and it can be see

  • We 19  rest tool for idoc processing

    hi to all abap gurus i heard that we19 is test tool for idoc proceesing and it is also also used for idoc deletion . may i know what is idoc testing why it is required . can u pls explain n in detail ? and so many options are there in we19 tcode like

  • System generated value for a field and incrementing (using module pool pro)

    Hi, I'm getting system generated value for a field and incrementing (i.e done by coding) when i'm saving the screen or transaction (which is created using module pool programming) while modifying, saving its working fine, but when i'm going out of th