Problem with MDM web services and webdynpro

Hi MDMguru,
I have created web services from SDN example: it reads the MDM version.
If I use J2ee Navigator Web Services and I try  mywebservices, it works very well.
I have created a webdynpro (from this SDN Example https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf).
I have followed step by step the example.
But when run webdynpro and it calls my webservices it not works because it throws this exception:
javax.xml.rpc.soap.SOAPFaultException: Exception in method getVersion. , Debug ,  , com.enel.sap.ws.component.WSComponent.VersionMDM , sap.com/tcwddispwda , J2EE_GUEST
Can someone help me?

It appears that %ROWTPYE is not supported directly, and that we need to create a TYPE to wrap the return data
Thanks to Marc Thompson for the details (http://marc-on-oracle.blogspot.co.uk/2007/12/11g-database-installation-and-native.html)
PD

Similar Messages

  • Problems with OC4J Web services and Flex SOAPEncoder

    Hello!
    I got a problem trying to execute a web service running in
    Oracle OC4j 10.1.3.3, and a client side with Flex3. I generated the
    scripts for using the web service using Flex builder 3, but it's
    not making a valid call to web service. I debugged the call
    operation to the Flex SOAPEncoder which seems to generate an
    invalid soap message. The SOAPEncoder generates the following
    message;
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <tns:getDocuments xmlns:tns="
    http://modultek.atonpdm.document/">
    <tns:getDocuments>
    <tns:String_1>service manual</tns:String_1>
    </tns:getDocuments>
    </tns:getDocuments>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Where the correct working soap message should be;
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <tns:getDocuments xmlns:tns="
    http://modultek.atonpdm.document/">
    <tns:String_1>service manaual</tns:String_1>
    </tns:getDocuments>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Problem in the first message is that Flex SOAPEncoder
    generates an extra <tns:getDocuments> child tag, and Oracle
    app server can't handle it.
    Has someone any idea why SOAPEncoder is generating the extra
    operation tag, and is this behaviour configurable somehow or is the
    soapencoder broken?
    The wsdl is included in the following;
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap12="
    http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:mime="
    http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="
    http://modultek.atonpdm.document/"
    name="DocumentOperationsService" targetNamespace="
    http://modultek.atonpdm.document/">
    - <types>
    - <schema xmlns="
    http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="
    http://schemas.xmlsoap.org/soap/encoding/"
    targetNamespace="
    http://modultek.atonpdm.document/"
    elementFormDefault="qualified">
    - <complexType name="SimpleDocumentDM">
    - <sequence>
    <element name="docGroupDesc" type="string"
    nillable="true" />
    <element name="docRev" type="string" nillable="true"
    />
    <element name="docId" type="string" nillable="true" />
    <element name="docGroup" type="string" nillable="true"
    />
    <element name="docDesc1" type="string" nillable="true"
    />
    <element name="docDesc2" type="string" nillable="true"
    />
    <element name="docCode" type="string" nillable="true"
    />
    <element name="docDesc3" type="string" nillable="true"
    />
    <element name="docDesc4" type="string" nillable="true"
    />
    </sequence>
    </complexType>
    <element name="getDocuments" type="tns:getDocuments"
    />
    - <complexType name="getDocuments">
    - <sequence>
    <element name="String_1" type="string" nillable="true"
    />
    </sequence>
    </complexType>
    <element name="getDocumentsResponse"
    type="tns:getDocumentsResponse" />
    - <complexType name="getDocumentsResponse">
    - <sequence>
    <element name="return"
    type="tns:CollectionOfSimpleDocumentDM" nillable="true" />
    </sequence>
    </complexType>
    - <complexType name="CollectionOfSimpleDocumentDM">
    - <sequence>
    <element name="item" type="tns:SimpleDocumentDM"
    minOccurs="0" maxOccurs="unbounded" />
    </sequence>
    </complexType>
    <element name="getSimpleDocumentInformation"
    type="tns:getSimpleDocumentInformation" />
    - <complexType name="getSimpleDocumentInformation">
    - <sequence>
    <element name="String_1" type="string" nillable="true"
    />
    </sequence>
    </complexType>
    <element name="getSimpleDocumentInformationResponse"
    type="tns:getSimpleDocumentInformationResponse" />
    - <complexType
    name="getSimpleDocumentInformationResponse">
    - <sequence>
    <element name="return" type="tns:SimpleDocumentDM"
    nillable="true" />
    </sequence>
    </complexType>
    </schema>
    </types>
    - <message name="DocumentOperations_getDocuments">
    <part name="parameters" element="tns:getDocuments" />
    </message>
    - <message
    name="DocumentOperations_getDocumentsResponse">
    <part name="parameters"
    element="tns:getDocumentsResponse" />
    </message>
    - <message
    name="DocumentOperations_getSimpleDocumentInformation">
    <part name="parameters"
    element="tns:getSimpleDocumentInformation" />
    </message>
    - <message
    name="DocumentOperations_getSimpleDocumentInformationResponse">
    <part name="parameters"
    element="tns:getSimpleDocumentInformationResponse" />
    </message>
    - <portType name="DocumentOperations">
    - <operation name="getDocuments">
    <input message="tns:DocumentOperations_getDocuments"
    />
    <output
    message="tns:DocumentOperations_getDocumentsResponse" />
    </operation>
    - <operation name="getSimpleDocumentInformation">
    <input
    message="tns:DocumentOperations_getSimpleDocumentInformation" />
    <output
    message="tns:DocumentOperations_getSimpleDocumentInformationResponse"
    />
    </operation>
    </portType>
    - <binding name="DocumentOperationsSoapHttp"
    type="tns:DocumentOperations">
    <soap:binding style="document" transport="
    http://schemas.xmlsoap.org/soap/http"
    />
    - <operation name="getDocuments">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getSimpleDocumentInformation">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="DocumentOperationsService">
    - <port name="DocumentOperationsBean"
    binding="tns:DocumentOperationsSoapHttp">
    <soap:address location="
    http://procyon:8888/atonpdm/DocumentOperationsBean"
    />
    </port>
    </service>
    </definitions>
    Best regards, Janne

    I am having the exact same problem. The SOAPEncoder is adding
    an additional tag and the server thinks the envelope is not
    properly formatted and therefore does not know what to do with it.
    Is there any fix for this yet? Or has it even been reported as a
    bug?

  • Problem with Native Web Services and %ROWTYPE

    Hi,
    I have a simple stand-alone function which takes a varchar2 IN argument, uses the IN argument to retrieve data from a single table, and returns the data as TableName%rowtype.
    Accessing the generated WSDL from a browser using http://host:port/orawsv/FUNCTION?wsdl results in the following :
    <?xml version="1.0" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Error processing input</faultstring>
    <detail>
    <OracleErrors xmlns="http://xmlns.oracle.com/orawsv/faults">
    </OracleErrors>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    I can see a successfully generated WSDL for a similar function which returns XMLType
    Is %rowtype supported as a return argument ?
    And on a related note, is ref cursor supported as a return argument in a stored procedure ?
    Thanks,
    Pete
    PS - version details as follows ...
    "BANNER"
    "Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production"
    "PL/SQL Release 11.2.0.1.0 - Production"
    "CORE     11.2.0.1.0     Production"
    "TNS for Linux: Version 11.2.0.1.0 - Production"
    "NLSRTL Version 11.2.0.1.0 - Production"
    Edited by: user13046122 on 31-Aug-2012 01:48

    It appears that %ROWTPYE is not supported directly, and that we need to create a TYPE to wrap the return data
    Thanks to Marc Thompson for the details (http://marc-on-oracle.blogspot.co.uk/2007/12/11g-database-installation-and-native.html)
    PD

  • MDM web services and the MDM BP services

    Hi *,
    I need to know what is the difference between the standard MDM web services and the MDM BP services.  How do I decide which set to use?
    - Kris

    Sorry but what are BP services? Do you mean Business package?
    If yes the approaches are completely different - you use Web Services when you have to customise the application and build your logic/functionality into the app. CRUD operations are procided by Web Services - you need to form your wrapper application from scratch and develop!
    With BP - it involves least development effort bearing in mind that its all standard content and not yet completely customizable. So based on your requirements plan whether to go for Business Package or Web Services or Java API completely...

  • Problem with RESTful web service

    I am running into a problem with Flex Web Services (REST) in trying to get the proper format returned. I can see that the HTTP header is set to
    Accept: */*;
    rather than
    Accept: application/xml
    when sending the request. The web service was generated via the web services HTTP data services wizard. I edited it to set the resultFormat to xml
        // Constructor
        public function _Super_UsersService()
            // initialize service control
            _serviceControl = new mx.rpc.http.HTTPMultiService();
             var operations:Array = new Array();
             var operation:mx.rpc.http.Operation;
             var argsArray:Array;
             operation = new mx.rpc.http.Operation(null, "getUsers");
             operation.url = "http://localhost:8888/users";
             operation.contentType = "";
             operation.method = "GET";
             operation.resultFormat = "xml";
             //operation.serializationFilter = serializer0;
             operation.properties = new Object();
             operation.properties["xPath"] = "/";
             operation.resultType = valueObjects.Users;
             operations.push(operation);
             _serviceControl.operationList = operations; 
             model_internal::initialize();
    How does one configure the accept header?

    Hi,
    I have posted a simple application with the RESTful reference:
    http://apex.oracle.com/pls/apex/f?p=13758
    I can give you full privileges on this so you can look at the WEB service reference. Shall I send to you separately for login user?
    It is using the RESTful service: http://apex.oracle.com/pls/apex/nd_pat_miller/demo/employee/{deptno}
    This RESTful service tests fine when I test from within the RESTful web service module of the Workspace.
    I based this on the Video demo tutorial for RESTful web service that Oracle published for 4.2 release. The video seemed to exclude the {deptno} in the URL but when I try that, it doesn't work either.
    This is the error I am getting when I run this on my Apex environment: (it, of course, will not run the web service in the apex.oracle.com environment)
    class="statusMessage">Bad Request</span>                                         
    </h3>                                         
    </div>                                         
    </div>                                         
    <div id="xWhiteContentContainer" class="xContentWide">                                         
    <div class="xWhiteContent">                                         
    <div class="errorPage">                                         
    <p>                                         
    <ul class="reasons"><li class="badRequestReason"><span class="target" style="display:none;">uri</span><span class="reason">Request path contains unbound parameters: deptno</span></li>                                    
    </ul>Thanks,
    Pat
    Edited by: patfmnd on May 8, 2013 3:33 AM

  • Problem with Oracle Web Service Proxies reusing classes and exceptions

    We have an application that have many web services and we're having a really hard time working with Oracle Web Service Proxy. We have many web services that share the same classes for parameters and exceptions. When we generate de proxy classes, it generates a lot of _LiteralSerializer classes. Because I'm reusing the same classes and exceptions it generates the same _LiteralSerializer classes for this classes and they get replaced. For Example
    I have classes A and B and Web Services X and Y that use this classes. When I generate the 2 proxies it generates A_LiteralSerializer and B_LiteralSerializer on the 2 proxies and they get replaced and I get "No serlalizers for A class or B class". This problems repeats a lot of times and this problem is a huge risk for our project. We're using JDeveloper 10.1.3.4.
    Is there a way to avoid this with Oracle Web Service Proxies?
    Regards,
    Néstor

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

  • Problem with CFMX web service function return

    I made a post yesterday about a web service function I was
    writing, as it turns out my post was extremly incorrect for my
    problem. With this web service function I can return an array just
    fine, I can return one instance of an object just fine, however,
    when I try to return an array of the object I keep getting the
    error:
    Could not perform web service invocation "SelectGames"
    because AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]];
    nested exception is: coldfusion.xml.rpc.CFCInvocationException:
    [org.apache.axis.AxisFault : ; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]]
    faultActor: faultNode: faultDetail: {
    http://xml.apache.org/axis/}stackTrace:
    AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modifie..
    which basically means that the CF server needs restarted.
    However if I restart the CF server, no matter how many times I am
    still getting this error. If I change up my web service function to
    return just a normal array of integers or strings, or I change it
    to return one instance of the arbritrary complex type it all works
    just fine. I am still a little new on this subject and any
    enlightenment would be great. If anyone has found a way around this
    please let me know.
    Here is my complex type:
    <cfcomponent>
    <cfproperty name="Game_id" type="numeric">
    <cfproperty name="gameDate" type="date">
    <cfproperty name="Starttime" type="string">
    <cfproperty name="Place" type="string">
    <cfproperty name="Level" type="string">
    <cfproperty name="Sport" type="string">
    <cfproperty name="Gender" type="string">
    <cfproperty name="Opponent" type="string">
    <cfproperty name="Type" type="string">
    <cfproperty name="Link" type="string">
    </cfcomponent>
    I loop trhough a query and set a cfobject of the types above,
    then I append that object to an array and try t o return the array.
    Here is the basics of the loop:
    <cfset theArray = arrayNew(1)>
    <cfobject component = "games" name = "test>
    <cfloop query ...>
    <!--- set values to test ---->
    <cfset arrayApend(theArray, test)>
    </cfquery>
    <cfreturn theArray>
    my return type is array, I think the problem is I need to
    specify the return type to be an array of arbritray complex types
    which is impossible to do in CF. Anyone find a way to get around
    this?? Any feed back at all would be greatly appreciated.

    Yes, I have tried it and return type any does not work in
    this situation since this function is being consumed by a web
    service. It needs to be in the form of an array of arbritrary type
    that is defined in a cfc file. Since this is WSDL the returntype
    has to be specified to every last bit.

  • Basic auth with RESTful WEb service and Web Service reference

    Hi, All,
    We have made much progress on getting an application working wtih RESTful web services but now are trying to figure out how to lock down a RESTful Web service while making it available for a particular application.
    We are using one of the sample 'emp' table web services that come with Apex 4.2 and are trying to apply Basic Auth to the WEb Service via Weblogic filter defined in the web.xml file. That works fine. I now get challenged when I try to go to :
    https://wlogic.edu/apex/bnr/ace/hr/empinfo/
    And when I authenticate to that challenge I am able to get the data. (we are usiing LDAP authentication at the Weblogic level)
    However, I am not sure how to get same basic authentication to work with the Web Service reference in my application. I see the error message in the application when I try to call that Web Service:
    401--Unauthorized<
    And I see:
    "The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials"
    How do I provide the credentials in the Web REference or do I provide credentials in the Application?
    Web service works fine if I remove the RESTful web service basic auth from the Web.xml file.
    Should we NOT use Weblogic basic auth and instead use basic auth from Workspace RESTful web service definition. If so, how do we implement THAT basic auth in the Web Service definition and in the Web SErvice Reference on the application?
    Thanks,
    Pat

    What I mean is diid you try to use the PL/SQL package for APEX webservice. Here is an example I use (modified and shortened, just to show how much better this is than to use it from the application).
    CREATE OR REPLACE PACKAGE webservice_pkg
    IS
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
    END webservice_pkg;
    CREATE OR REPLACE PACKAGE BODY webservice_pkg
    IS
       PROCEDURE set_credentials (
          p_workspace     IN   VARCHAR2,
          p_app_id        IN   NUMBER,
          p_app_session   IN   VARCHAR2,
          p_app_user      IN   VARCHAR2
       IS
          v_workspace_id   NUMBER;
       BEGIN
          SELECT workspace_id
            INTO v_workspace_id
            FROM apex_workspaces
           WHERE workspace = p_workspace;
          apex_util.set_security_group_id (v_workspace_id);
          apex_application.g_flow_id := p_app_id;
          apex_application.g_instance := p_app_session;
          apex_application.g_user := p_app_user;
       END set_credentials;
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
       IS
          v_envelope          VARCHAR2 (32000);
          v_server            VARCHAR2 (400);
          v_url               VARCHAR2 (4000);
          v_result_url        VARCHAR2 (1000);
          v_collection_name   VARCHAR2 (40)    := 'PDF_CARD';
          v_message           VARCHAR2 (4000);
          v_xmltype001        XMLTYPE;
       BEGIN
          v_url := v_server || '.myserver.net/services/VisitCardCreator?wsdl';
          FOR c IN (SELECT *
                      FROM DUAL)
          LOOP
             v_envelope :=
                   '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" '
                || 'xmlns:bran="http://www.myaddress.com">'
                || CHR (10)
                || '<soapenv:Header/><soapenv:Body>'
                || CHR (10)
                || '<parameter:'
                || 'some_value'
                || '>'
                || CHR (10)
                || '<bran:templateID>'
                || p_id
                || '</bran:templateID>'
                || '</soapenv:Body>'
                || CHR (10)
                || '</soapenv:Envelope>';
          END LOOP;
          set_credentials (p_workspace, p_app_id, p_app_session, p_app_user);
          BEGIN
             apex_web_service.make_request
                                         (p_url                  => v_url,
                                          p_collection_name      => v_collection_name,
                                          p_envelope             => v_envelope
             p_message := 'Some message.';
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message :=
                      v_message
                   || '</br>'
                   || 'Error running Webservice Request. '
                   || SQLERRM;
          END;
          BEGIN
             SELECT    v_result_url
                    || EXTRACTVALUE (VALUE (t),
                                     '/*/' || 'Return',
                                     'xmlns="http://www.myaddress.com"'
                    xmltype001
               INTO v_result_url,
                    v_xmltype001
               FROM wwv_flow_collections c,
                    TABLE
                        (XMLSEQUENCE (EXTRACT (c.xmltype001,
                                               '//' || 'Response',
                                               'xmlns="http://www.myaddress.com"'
                        ) t
              WHERE c.collection_name = v_collection_name;
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message := v_message || '</br>' || 'Error reading Collection.';
          END;
       EXCEPTION
          WHEN OTHERS
          THEN
             p_message := v_message || '</br>' || SQLERRM;
       END create_webservice;
    END webservice_pkg;
    /If you use it this way, you will find out what the problem is much faster.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Problem with OBIEE Web Service getHTMLForReport() Method

    Hello, I´m trying to develop an example using the OBIEE Web Services and I have a problem with the method “getHTMLForReport(String pageID,String pageReportID,String sessionID)” (http://download.oracle.com/docs/cd/E12103_01/books/AnyWebServ/AnyWebServ_Methods8.html).
    The problem is the next one: In the pageReportID parameter should contain a character string ID returned by the addReportToPage() method, but the addReportToPageMethod is a void method. (http://download.oracle.com/docs/cd/E12103_01/books/AnyWebServ/AnyWebServ_Methods4.html#wp1008810)
    Which is the value of the pageReportID parameter?
    Thank you.

    Yes, there seems to be a bug in the oracle documentation. Basically, the second parameter of the addReportToPage() method is a free text. You can put "report101" as value of second parameter. Then you have to use the same string in the getHTMLForReport()method.
    For example ..
    addReportToPage(pageId, "report2", reportRef, "Jaggi Di Report", null, null, sessionID);
    getHtmlForReport(pageId, "report2", sessionID);
    Regards
    Jagdeep Singh

  • What is problem with my web services application?

    Hi Everyone, I have a question for you.
    I created a web service, and tried to call its method within a JSF application (developed by JSC2). Following is what I got:
    1) It works with TravelWS example.
    2) It works if I called my web services' methods from a standalone Java program.
    3) It does NOT work if I call it within my JSF applicationBean1() or JSP pages.
    4) After adding my own web services into my JSF through JSC IDE, I tested my methods provided by web services. Two of them are working. But rest of them do not.
    If it is the problem of my web service, why my standalone Java program works?
    If it is the problem of my JSF application configuration, why TravelWS example works?
    What can the problem be? Can someone give me some suggestions?
    Any help is appreciated.

    Thanks both of you for the response.
    Here is my situation. The web service is developed by another team. And we are trying to call their methods in our JSF application. From the example provided by the web service team, I need to do following in my JSF code:
    myWebServiceLocator locator = new myWebServiceLocator();
    locator.setMyWebServiceSoapEndpointAddress( "http://mywebserviceurl./axis/services/myWebServiceSoap" );
    locator.setMaintainSession( true );
    this.myWebService = locator.getMyWebServiceSoap();
    The problem is that the locator above extends org.apache.axis.client.Service, however, the JSF generated client creates a javax.xml.rpc.Service object. I guess this might cause my problem.
    How to solve this?

  • Problem with a  web service with Jbuilder 2005 and Weblogic 8.1

    Hi,
    i�m trying to create a web-service using Jbuilder 2005 Enterprise and Weblogic 8.1. It is a very simple web-service, come kinda "Hello World".
    In the last step, after deploying my "ApplicatioModule1", i get this error:
    "Unable to connect to server t3://localhost:7001 as user weblogic.
    Reason: javax.naming.CommunicationException. Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:291)
         at weblogic.jndi.Environment.getContext(Environment.java:164)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:143)
         at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(MBeanHomeTool.java:157)
         at weblogic.Deployer.runBody(Deployer.java:555)
         at weblogic.utils.compiler.Tool.run(Tool.java:146)
         at weblogic.utils.compiler.Tool.run(Tool.java:103)
         at weblogic.Deployer.main(Deployer.java:399)
    Check option -adminurl, -username and -password. "
    I dont know why i get this error. I think the weblogic server is properly configured and running.
    Anybody can help me?? Thx.

    i have found the solution to the problem myself. I only had to execute this command file startWebLogic.cmd which is placed in this default installation directory C:\bea\user_projects\domains\mydomain in order to put the server listening to ports.
    i hope anybody with the same problem could fix it by reading this post.

  • Problem with Adaptive Web Service model

    Hi All,
    I am trying to create a model using Adaptive Webservice.
    While I am deploying the application I am getting the following warning message.
    I cheked the web serivice throw WSNavigator, It is working properlty.Nov 27, 2008 3:34:56 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
    [040]Deployment finished with warning
    Settings
    SDM host : infpu05445
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/286355/LOCALS1/Temp/temp62998testw.ear
    Result
    => deployed with warning : file:/C:/DOCUME1/286355/LOCALS1/Temp/temp62998testw.ear
    Finished with warnings: development component 'testw'/'local'/'LOKAL'/'0.2008.11.27.15.34.48':
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/testw and wait. Reason: Clusterwide exception: server ID 12403050:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application ''local/testw'' for startup. Reason=Clusterwide exception: Failed to start dependent library ''tc/wd/wslib'' of application ''local/testw''. Status of dependent component:  STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
         at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1490)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:231)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:179)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:317)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:227)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4684)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4589)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4562)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : Got problems during deployment
    Can you all please let me know is the problem with model creatuion or Web Service configuration.
    Thanks,
    Archana.

    It seams that the component 'tc/wd/wslib' is not well deployed on your server. You should redeploy it on your server.
    -Go to nwds, Development infrastructure perspective
    -Expand the FRAMEWORK item, there is the 'tc/wd/wslib' normally
    Deploy :
    -Open the menu Window > Show view > Other and open the Undeploy View
    -In the undeploy view expand the FRAMWORK item and locate the tcwdwslib (it ther is no such application, then go directly to deploy steps after)
    -Add the to the undeploy list (+ button)
    -Click undeploy (blue button near + button
    When it is undeployed, you can redploy it:
    -In the Componenet Browser, locate the 'tc/wd/wslib' in the FRAMWORK as befor
    -Right-click and click Deploy and click OK
    If it not working, try the same (undeploy/dredploy) with 'tc/wd/wslib/api'
    Check also that the dependencies of your project should have 'tc/wd/wslib/api' and not tc/wd/wslib/
    Hope it will help you
    Quentin

  • Problem with a Web Service execution of a Matlab converted program

    Hello,
    I need my Java Web service to call a program developed in Matlab. I've created a C++ shared library from my test.m file using the cpplib wrapper, with the following command: mcc -W cpplib:libtest -T link:lib test.m
    I've then created another file which I called another.cpp to use the shared library. I've done so using the following two commands:
    g++ -c -I/usr/local/matlab/extern/include -I. another.cpp
    g++ -O -o another another.o -L. -ltest
    Until this point, everything is ok and I've obtained my compiled file "another". However, when I try to execute the file, the system requests for some shared libraries, which should be pointed out through the LD_LIBRARY_PATH environment variable. Everything works fine changing the variable in the shell. I can execute "another" without any problem. The problem arises when I try to execute the file through my Web Service. I started by developing a script which would export the LD_LIBRARY_PATH and execute "another". The idea was to have the Web Service call the script, but it didn't work. I've tried to solve the LD_LIBRARY_PATH problem by using the following command:
    g++ -O -L. -o another another.o -Wl,-rpath=/usr/local/matlab/bin/glnx86 -Wl,-rpath=/usr/local/matlab/sys/os/glnx86,-rpath=. -ltest
    This allows me to have an executable "another" with no other shared library needs... However, whenever I compile my "another" with "-Wl...", my Web service just does not execute the file. The problem still remains! Just to be sure, I have executed successfully other c++, using the same compiler, or scripts files from my Web service. But for Matlab programs, I need to use the libraries I referred above in "-Wl".
    I've been with this problem for quite a while now, and I still haven't found a way of solving it. Can anyone help me?
    Thank you,

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

  • Problem with enabling Web Services on LaserJet Pro MFP M127fw

    12:25 AM    
    I have a problem with enabling the HP Web Services. When I push the application button on the printer, the monitor shows "connecting..." and then nothing is happen or an error apear thet my device could not connect to servers. I can't print information sheet on web services panel to get the claim code and add my device in www.hpconnected.com .  My device is connected to the internet with no problem by a wireless  Dlink Router. I also changed my device IP  from 192.168.1.11 to 192.168.1.55 manually,  and I change Preferred DNS Address to 8.8.8.8 and Alternate DNS Address to 8.8.4.4 and nothings happen.   I can see the menu but I can not enable the HP Web Services in there. no proxy. no firewall.  I do not know what can I do for solveing this problem. Please help me. 

    Hi @AlirezaP
    Welcome to the HP Support Forums. I gather that you are getting a connection error message when trying to enable the web services for your Laserjet Pro M172fw printer.
    As you have already tried setting the manual IP address and manual DNS servers, please call HP’s Cloud Services at 1-855-785-2777 if you live in the USA/Canada region. If you live outside the USA/Canada region please click here to find the Technical Support number for your country/region.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Problem with ABAP Web service

    Hello Experts,
    Some unusual thing is happening.
    Till this time my scenario was HTTP to RFC. So i have imported RFC in XI and its structure was perfact.
    Tables having cardinality as 1...1, and fields were having cardinalities as 0....1.
    Now we have planned to switch to the proxies and ABAP Web services. I have created the ABAP Web service with the same function module and imported it into the External definations.
    When i am trying to use it into the mapping, Table cardinalities are 1....1 and fields are also having cardinalities as 1...1.
    Now because of that i hv to map all the fields with some constants, but m not comfortable with it as there are nearly 1000 fields.
    Do anyone of you have any idea what might be the problem? or how can i solve it.
    Hope the question is clear.
    Please help in this problem.
    Thanks,
    Hetal

    Hello Hetal,
    This is happening because when you genarte the Webservice out of a Function Module, all the fields in your are mendatory in the generated WSDL.
    This can be avoided. The WSDL that you have generated for your webservice, can be manually edited in Stylus studio etc to change the cardinality and make it optional. We also did the same in one of our scenario and it is working fine.
    As you are mapping these fields with constants, so it doen't make a difference if those are optional too.
    Just edit the WSDL/xsd and reimport it.
    Thanks
    -Kulwant

Maybe you are looking for