Failed to publish a web service

Hi, I am not able to publish a web service today morning
The error thrown is
Service call failed. Error 400 (Bad Request) when requesting /webservicegroups/aeb419ce7f9f46b3a560536ea34a1416/modelpackages/
Please help me with this.

There could be many causes for this error. Two most common causes in my experience:
1. There is a split module between web-service input and web-service output path.
2. If doing text analytics, forgetting to just pick the label column as an output as the output (you may need to insert a project columns module to do this).  -- otherwise the web-service would have to be able to return thousands of hashed values.
Are you running into either of these issues?
Thanks!
-Luis
Luis Cabrera. Program Manager -- Azure Machine Learning @luisito_cabrera Disclaimer: This post is provided "AS IS" with no warranties, and confer no rights.

Similar Messages

  • Error while trying to publish a web service in UDDI client

    hi
      i m getting this error when trying to publish my web service in UDDI client.I have
    configured my uddi client using Visual Administrator.I created a  local test registry.The name of my  registry is QuickCarRentalRegistry_Local.I created this at admin level.I also tried at level 1 Tier.But it was giving the same error.
    The error is "<b> Internet Explorer Script Error</b>".my ie version is 7.0
    In my alert window it displays error: 'ur_txt' is undefined.
    Regards
    mythri.

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • InvalidCategory error when publishing a Web Service

    I am using EM to deploy an EAR file and publish a Web Service, which is a simple Java class. But I got following error:
    The application was deployed successfully, but an error occurred while publishing the web services. You can attempt to re-publish the services from the deployed application. [UDDI SOAP Fault - errno= 20000 ; errCodeE_invalidCategory ; faultcode=Client; faultstring=Client Error; faultactor=null]
    Could someone please explain why I hit this error, and what do I need to change to fix it?
    Thanks.

    Hello,
    First, I would like to thank you for your help.
    Below is the SOAP envelope (request) that was created by the Application Express engine based on the Web service reference definition.
    Input parameters:
    Obra: 35078
    Processo: 2073/DCEOD/I/1960
    Morada: BECO BUGIO
    <?xml version='1.0' encoding='UTF-8'?><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">
         <SOAP-ENV:Body><ns1:ObterResultadosEmObjecto xmlns:ns1="urn:webservices.x-arq.mind.pt/urn:webservices.x-arq.mind.pt/ResultadosPesquisa.xsd"><ns1:Obra>35078</ns1:Obra><ns1:Processo>2073/DCEOD/I/1960</ns1:Processo><ns1:Morada>BECO BUGIO</ns1:Morada></ns1:ObterResultadosEmObjecto></SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    From Portugal,
    Helder Dinis

  • Problem running report with BI Publisher and Web Service

    Hello,
    I actually try to run a Bi Publisher report via the Web Service.
    I use the following documents:
    - http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
    - "How to integrate Oracle BI Publisher via Web Services in Oracke Forms"
    Everything works fine. But when I try to copy it on local computer the file is 0 length. I use the "getReportBytes" method.
    Here is the code I tried with:
    String userName = “Administrator”;
    String passWord = “Administrator”;
    System.out.println(”calling ” + myPort.getEndpoint());
    System.out.println(myPort.validateLogin(userName,passWord));
    ReportRequest repReq = new ReportRequest();
    ReportResponse repRes = new ReportResponse();
    repReq.setAttributeFormat(”pdf”);
    repReq.setAttributeLocale(”en-US”);
    repReq.setAttributeTemplate(”World Sales”);
    repReq.setReportAbsolutePath(”/Sales Manager/World Sales/World Sales.xdo”);
    repRes = myPort.runReport(repReq,userName,passWord);
    System.out.println(repRes.getReportContentType());
    byte[] binaryBytes = repRes.getReportBytes();
    OutputStream out = new FileOutputStream(”D:
    out.pdf”);
    out.write(binaryBytes);
    out.close();
    System.out.println(”Success for Run Report”);
    Thanks in advance.

    Hi,
    I assume that you use 10.1.3.4. If not, my hint is not relevant for you ....
    There's a new parameter in the web service API to set the Chunk-Size. Unfortunaltely is the default value not so, that the behaviour is like in older releases (no chunk-size ... the whole document at once). If you set the chunk size to -1, you should get your document. So try to add
    repRequest.setSizeOfDataChunkDownload(-1);
    regards
    Rainer

  • Report published as web service with parameters

    Post Author: kevinzebeste
    CA Forum: Publishing
    hi,I have a problem in a report published as web service.indeed, the report has a parameter, a date.Client side I do this://I create the parameter             ParameterFields paramFields = new ParameterFields();            ParameterField paramField = new ParameterField();            ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();            paramField.Name = "date";            paramDiscreteValue.Value = "10/10/2006";            paramField.CurrentValues.Add(paramDiscreteValue);            paramFields.Add(paramField);//I add the parameter into the crVievwer            crystalReportViewer.ParameterFieldInfo = paramFields;//I call the web service to get data            crystalReportViewer.ReportSource = "http://localhost/WebService/Rapport1Service.asmx"; Server Side :Now, I want to get back the parameter in the web service (in Rapport1Service.asmx, so server-side) to be able to call my storedprocedure with the good parameter, this one which was put on the client side (10/10/2006).I tried to do crystalReportViewer.ReportSource = "http://localhost/WebService/Rapport1Service.asmx?date=22/10/2006" on the client side but no way. i don't find a solution, is there any way to make this possible ?Moreover, i have one database for each user, so i need to pass the user name, password and account too..

    Post Author: kevinzebeste
    CA Forum: Publishing
    I have found a solution.
    I  create a web service in which i return a dataset, filled with the data wanted.the web service take as parameter: the report name we want, the parameter(s), and the username and password (to check if the user has right to access to data.)After that, I fill the report, client side, with the datasen given. i don't know if it's the best solution but it works !

  • Publishing a Web Service

    Hello experts,
    Could anyone give me a step by step guide on how to properly publish a web service in SAP. I've been trying to expose various BAPI's / RFC, but when I attempt to call them in Microsoft Visual Studio via the wsdl, I get a 503 error - server unavailable.
    I think I am missing some level of configuration when creating the SAP web service. Any help gratefully appreciated.

    Hi,
    Use the SEARCH button here on SDN, there have been already several blogs explaining how to publish web services.
    By the way, SAP is a software vendor. You have to tell which SAP software product and release you are using...
    Regards,
    Olivier

  • Error in AXIS2 when i try publish ODI web services

    Hi people,
    I&acute;m configured AXIS2 into OC4J (SOA Suite 10.1.3.1) and when i try to publish ODI web services using a odi-public-ws.aar file on AXIS2, show me a "Faulty Services" message and when i click on details link show me a Java message (below):
    {color:#ff0000}*This Web axisService has deployment faults*{color}
    Error: java.lang.NoSuchMethodError: javax.wsdl.Operation.getExtensionAttributes()Ljava/util/Map;
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations(WSDL11ToAxisServiceBuilder.java:1295) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType(WSDL11ToAxisServiceBuilder.java:592) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:469) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:363) at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:248) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:356) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:67) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436) at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734) at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134) at com.evermind.server.http.HttpApplication.(HttpApplication.java:738) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414) at com.evermind.server.Application.getHttpApplication(Application.java:545) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909) at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645) at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290) at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270) at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177) at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450) at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998) at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131) at java.lang.Thread.run(Thread.java:595)
    Wow, a lot of lines ! No problem, i can identify problem when try generate a WSDL file ... it&acute;s correct ? (Please correct me if i have a incorrect reasoning).
    Can a JDK Version too ? I&acute;m using a JDK 1.5.0_06. According by manual instructions version of JDK can be 1.4.2 or later version....
    Help me ! :-)
    Thanks for your attention !!

    Roberto and all,
    I installed Tomcat and published ODI web service and it was done sucessfully.
    Why OC4J this simple activity doesn´t have any success ? I'm still curious what's difference between OC4J and Tomcat and why it does not allow this simple task when is completed in a such simple way... Oracle support analyst recommended that I use the OC4J but did not explain the reason, what are the advantages and benefits compared to Tomcat...
    Sincerelly, i´m not too sure if i should go ahead with OC4J.
    Thanks for your attention !
    Best Regards,
    João.

  • How to integrate Oracle BI Publisher via Web Services in Oracle Forms.

    hi
    I hope you fine and happy. I think you hear about the new reporting tool (Oracle BI Publisher).
    Really it is a great tool. I need someone help me; How I can integrate Oracle BI Publisher via Web Services in Oracle Forms.
    I got the guidelines of this integration process from ORACLE.
    But, when I compile the script of publicreportserviceclient.callRunReport - the script running the report -, I get some errors in PL/SQL compiler
    http://www.oracle.com/technology/products/xml-publisher/index.html

    ==========================
    PL/SQL CODE:
    ==========================
    DECLARE
         RAISEDEXCEPTION ORA_JAVA.JOBJECT;
    REPORT_PATH VARCHAR2(200);
    PARAM_NAME VARCHAR2(200);
    PARAM_VALUE VARCHAR2(200);
    UN VARCHAR2(200);
    PW VARCHAR2(200);
    FORMAT VARCHAR2(200);
    TEMPLATE VARCHAR2(200);
    OUT_FILE VARCHAR2(200);
    OBJ ORA_JAVA.JOBJECT;
    BEGIN
    OBJ := PUBLICREPORTSERVICECLIENT.NEW();
    REPORT_PATH := '/LEARN/EMPLOYEES/EMPLOYEES.XDO';
    PARAM_NAME := 'P_DEPTNO';
    PARAM_VALUE := '50';
    UN := 'Administrator';
    PW := 'Administrator';
    FORMAT := 'PDF';
    TEMPLATE := 'Simple';
    OUT_FILE := 'C:\DevSuiteHome_1\j2ee\home\default-web-app\' || 'TEST';
    --PUBLICREPORTSERVICECLIENT.CALLRUNREPORT(OBJ,:REPORT_PATH,PARAM_NAME,:PARAM_VALUE,UN,PW,:FORMAT,:TEMPLATE,OUT_FILE);
    PublicReportServiceClient.callRunReport( REPORT_PATH,
    PARAM_NAME,
    PARAM_VALUE,
    UN,
    PW,
    FORMAT,
    TEMPLATE,
    OUT_FILE);
    WEB.SHOW_DOCUMENT('HTTP://127.0.0.1:8889/j2ee/' || 'TEST');
    END;
    ==========================
    JAVA CODE FOR callRunReport FUNCTION:
    ==========================
    public void callRunReport (String reportPath, String[] paramName, String[] paramValue, String
    username, String password, String format, String template, String outFile)
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort =
    new bip_webservice.proxy.PublicReportServiceClient();
    // Calling runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportPath);
    repRequest.setAttributeTemplate(template);
    repRequest.setAttributeFormat(format);
    repRequest.setAttributeLocale("en-US");
    repRequest.setSizeOfDataChunkDownload(-1);
    if (paramName != null)
    ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
    String[] values = null;
    for (int i=0; i<paramName.length; i++)
    paramNameValue[i] = new ParamNameValue();
    paramNameValue.setName(paramName[i]);
    values = new String[1];
    values[0] = paramValue[i];
    paramNameValue[i].setValues(values);
    repRequest.setParameterNameValues(paramNameValue);
    else
    repRequest.setParameterNameValues(null);
    ReportResponse repResponse = new ReportResponse();
    repResponse = myPort.runReport(repRequest,username,password);
    byte[] baReport = repResponse.getReportBytes();
    FileOutputStream fio = new FileOutputStream(outFile);
    fio.write(baReport);
    fio.close();
    } catch (Exception ex) {
    ex.printStackTrace();

  • Failed to start Apache Web Service

    I hava KDE. When I start the laptop, it goes to a black screen with a mouse pointer (kde mouse pointer). Everytime I have to press Ctrl+Alt+F1 to go to tty1 and I see this message
    Failed to start Apache Web Service
    and it suggest to see "systemctl status httpd.service". After I restart kdm.service in tty1, everything is ok. Here is the output of  "systemctl status httpd.service".
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
       Active: failed (Result: exit-code) since Thu 2014-06-05 09:54:01 IRDT; 14min ago
      Process: 806 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
    Jun 05 09:54:01 localhost apachectl[806]: httpd: Syntax error on line 59 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_default.so into server: /etc/httpd/modules/mod_authn_default.so: cannot open shared object file: No such file or directory
    Jun 05 09:54:01 localhost systemd[1]: httpd.service: control process exited, code=exited status=1
    Jun 05 09:54:01 localhost systemd[1]: Failed to start Apache Web Server.
    Jun 05 09:54:01 localhost systemd[1]: Unit httpd.service entered failed state.

    It looks like you didn't merge pacnew files (correctly) after upgrading apache.
    mod_authn_default.so is removed, have a look at http://httpd.apache.org/docs/2.4/upgrading.html

  • Ws-basic username inside pl/sql procedure published as web service

    I'm new to jdeveloper, but been working with Oracle for 13 years...
    We have used Jdevelper to expose a pl/sql procedure as a web service using the "Publish as web service..." wizard. We then used Web Services Manager in server agent mode to protect that web service using ws-basic header auth. OWSM does a lookup on the user supplied credentials against our active directory ldap server to determine if the user should be able to call the service. That all works, EXCEPT...
    The problem is that the stored procedure runs a query against data protected by virtual private database and extensive audit logs. We need access to the ws-basic credential from within oracle so that we can set the session context and pull the end-user's id for auditing purposes.
    Right now, all we know inside the stored procedure is the oracle username used to connect to the database. This is of course different from the one used to authenticate our user in the OWSM layer.
    The pl/sql procedure does not have a parameter to specify the user name, and even if it did, there is no way for us to verify that any user supplied parameter matches the credentials used in OWSM.
    So, I assume, I need to modify the code generated by the "Publish as web service" wizard and somehow pull the ws-basic credentials (just username) and push them into the Oracle session_context.
    Anyone have any sample code or advice on how to get access to ws-basic credentials or even any of the metadata on a certificate supplied to OWSM for authentication/authorization?

    I change p_action value ( before p_action => 'alta' ) now ( p_action => '"alta"' )
    res := Xxm_Web_Service_Client_Pkg.invoke(p_init_msg_list => FND_API.G_TRUE,
    p_url => 'http://198.137.253.178:7777/event/DefaultSystem/clienteService_RS',
    p_action => '"alta"',
    x_return_status => l_return_Status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    x_req => req)
    And the invokation an ESB service from a PLSQL procedure began to work fine !!!
    Thanks for all answers
    Thans Peter !!!
    Claudio

  • Publish ColdFusion Web Service with Complex Return Type

    Hi,
    I am working on a project to publish couple ColdFusion
    webservices. The cosumer of those webservices is a Java
    application.
    One of my webservice need return an object. Here are demo
    codes:
    The returned ojbect is AddressRespond
    AddressRespond.cfc:
    <cfcomponent>
    <cfproperty name="addresses" type="Address[]" />
    <cfproperty name="myLearnException" type="MyException"
    />
    </cfcomponent>
    Address.cfc:
    <cfcomponent>
    <cfproperty name="city" type="string" />
    <cfproperty name="state" type="string" />
    </cfcomponent>
    MyException.cfc:
    <cfcomponent>
    <cfproperty name="code" type="string" />
    <cfproperty name="reason" type="string" />
    </cfcomponent>
    If the webservice "cosumer" is a ColdFusion application,
    there is no any problems. But the Java application doesn't
    understand the type of addresses in the WSDL file which is
    gernerated by ColdFusion:
    <complexType name="Address">
    <sequence>
    <element name="city" nillable="true"
    type="xsd:string"/>
    <element name="state" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="MyException">
    <sequence>
    <element name="code" nillable="true"
    type="xsd:string"/>
    <element name="reason" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="AddressRespond">
    <sequence>
    <element name="addresses" nillable="true"
    type="tns1:ArrayOf_xsd_anyType"/>
    <element name="MyException" nillable="true"
    type="impl:MyException"/>
    </sequence>
    </complexType>
    Could anybody give me any idea on how to resolve this
    problem?
    Thanks!

    The web service is actually the function, not the cfc and you
    didn't show a function.
    My own opinion is that since webservices by definition should
    be available to any calling app (cold fusion, .net, flash, etc),
    whatever gets returned from the method should be as universally
    recognizable as possible. This generally means text, numbers,
    boolean, or xml.

  • Publishing as web service an application that connects with Oracle 8i

    Hi.
    I have to execute a stored procedure in a 8i database (database migration or upgrade is not a possibiity). I have to incorporate this into an ADF 11g App and I've tried it making another project and using the 10g jdbc driver which allows me to execute that SP.
    When I execute SP call, everything is OK, but when I try to call from the main app, there are conflicts with 11g driver and execution fails, because, I think, in the classpath is first 11g driver reference and it uses this river class instead 10g drivers.
    Now I'm trying with a separate app which just call the SP. I put the same code, and again when I run it as standalone app everything is OK, but when I deploy it as a web service and run it from WS test it doesn't work and again results in the same error above.
    java.lang.ArrayIndexOutOfBoundsException: 7
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:989)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at credito.wsutil.stage.SCL.execSpCartera(SCL.java:80)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstance
    Resolver.java:101)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstance
    Resolver.java:83)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:152)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethod
    Handler.java:264)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTub
    e.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:24
    9)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap
    ter.java:453)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:250
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd
    apter.java:140)
    at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServl
    etAdapter.java:298)
    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:2
    11)
    at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:297)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:87)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3590)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any suggestions or another way to accomplish this functionality?
    Regards,
    DEMR

    Hi,
    This was what I did when I was trying to run Hibernate on Weblogic, it was conflicting with different versions of antlr.* packages in Weblogic. Then I added these lines for making Weblogic to use Hibernate's antlr libs instead of installed on Weblogic.
    So, I thought that it might help to solve your problem if Oracle drivers conflict with drivers pre-installed in Weblogic.
    Also can you please try to add in your weblogic-application.xml, if it still does not solve your problem unfortunately I don't know any other way to solve your problem.
    <prefer-application-packages>
      <package-name>oracle.jdbc.*</package-name>
    </prefer-application-packages> Edited by: Onur Aktaş on 30.Eyl.2009 08:31

  • Workshop 10.1 WSDL - cannot publish generated Web service

    I'm trying to create a Web service starting from a WSDL using the doc Web Service Development Starting Points ([url http://edocs.bea.com/wlw/docs101/guide/webservices/conWebServiceDevelopmentCycle.html]http://edocs.bea.com/wlw/docs101/guide/webservices/conWebServiceDevelopmentCycle.html) .
    I create a Web service project, import my WSDL into my src directory, click on the WSDL and select Web Services > Generate Web Service.
    Workshop generates the implementation class and the JAR file, just like the doc describes.
    When I try to publish it to my server in the IDE< however, I get an error :
    Error with publish task 'WebServicesProjectBuildTask'.
    Web services in WLW101Example_WebServiceFromWSDL_JAXRPC have errors.
    java.lang.UnsupportedMethodException: Method not implemented.
    Error(s) occurred during publish assembly. No modules will be published.
    The operation in the WSDL has been implemented, and the class is pretty simple :
    package com.kohls.services;
    import javax.jws.WebService;
    import weblogic.jws.*;
    import com.kohls.is.soa.x09.meta.*;
    * KohlsDynamicWsPortTypeImpl class implements web service endpoint interface KohlsDynamicWsPortType */
    @WebService(serviceName = "KohlsDynamicWS",
                targetNamespace = "http://www.kohls.com/is/soa/0.9/meta",
                endpointInterface = "com.kohls.services.KohlsDynamicWsPortType")
    @WLHttpTransport(contextPath = "is/soa/0.9", serviceUri = "meta", portName = "KohlsDynamicWsBinding")
    public class KohlsDynamicWsPortTypeImpl implements KohlsDynamicWsPortType
      public KohlsDynamicWsPortTypeImpl()
      public com.kohls.is.soa.x09.meta.KohlsMessageDocumentType process(com.kohls.is.soa.x09.meta.KohlsMessageDocumentType Message)
        KohlsMessageDocumentType message = null;
        message = new KohlsMessageDocumentType();
        MessageHeaderType        header  = new MessageHeaderType();
        MessagePayloadType       payload = new MessagePayloadType();
        message.setHeader(header);
        message.setPayload(payload);
        return message;
    }The only thing unusual here is that the @WLHttpTransport annotation overrides the context, but I don't see that as a problem.
    Is there something simple I am missing here ? I guess I'm always surprised when Workshop cannot publish something it generates, but there is usually a reason - library setting or something.
    I'd appreciate any advice !
    Edited by ethan_kohls at 01/10/2008 11:59 AM

    Hi Ethan
    I tested it using Workshop10.0Mp1 and didn't see any issue with publish.
    Here are the steps I followed:
    1) Create a default webservice project with default facets.(no ear)
    2) Drop the business and meta folder and under project/src folder
    3) Create a test package under src
    4) Right click on the wsdl and choose generate webservice and create it under the test folder
    5) Replace the process method implementation with the one you have here
    6) Create a 10.0mp1 Workshop server (please make sure you create a workshop server and not wls server) and deploy the app to the server
    I was able to run the webservice successfully.
    Let me know if I am doing anything different from you.
    Vimala-

  • Need to publish SAP Web Service without Authintication

    Hello Everyone,
    I have created a web service for my XI congiguration scenario for my outbound interface. Now each time when client system (Non SAP System) tries to publish my SAP Web Service, it asks the authentication of credentials (SAP username & Password).
    We want to publish our SAP Web Service without Authintication.
    Please suggest us how can we do that?
    Regards,
    Pranil Shinde.

    Hi,
    The user authentication of the SOAP adapter is not part of the SOAP adapter but of the web container of the J2EE engine. The default authentication setting is defined in the web.xml descriptor file of the SOAP adapter web application. This setting may be modified from Visual Administrator with some restriction. Please refer to the security documentation for the J2EE engine fro the same.
    Regards,
    Swetha.

  • Create service definition failed while creating a Web Service

    Guru,
    I am trying to develop a Web Service in ECC 6.0 SR3, AIX 5.3+Oracle 10g.
    The followings are my steps:
    1. Create function module, e.g. Z_RFC_DEMO
    2. Activate this function module and also try to run it. It's working.
    3. Then use SE37, Utilities -> More Utilities -> Create Web Service -> From the Function Module, and filles what it really needs to fill. After clicking the complete button, it reports "No Vendor Specified".
    4. From SE80, when activate the Service Definition manually, it reports the same error.
    Is there any body can help me to solve this problem?
    Thanks Advance.

    Guy,
    Thanks for your reply.
    This problem has been solved. Since I haven't turned on everything that to use transaction SOAMANAGER needs. After complete the switch-on works, the problem never happens again.
    Thanks again.

Maybe you are looking for