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.

Similar Messages

  • 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 RESTful web service with header value

    Hi,
    I am on Apex 4.2.2 and Listener 2.1 and the listener is on WEblogic.
    I succeeded to get a RESTful web service working in an application with no header to obtain a full set of data. The data set is very large, so I am now just trying to set up a web service to get a set of data based on a student ID.
    I followed the examples shown in the RESTful web service module of SQL Workshop and set up a handler of this type:
    https://ourweblogicserver/apex/bnr/ace/students/course_grades/{stid}
    The test for this handler succeeded both for JSON output and CSV output in the Workshop test environment.
    However, when I try it from a Web Service Reference that I created for my application following what looked like the same approach used on the example video, I get NO data back. If I put a 'stid' directly into a URL of a web browser and do the basic authentication I get the data!!
    This is what I have for the Web service reference:
    https://ourweblogicserver/apex/bnr/ace/students/course_grades/{stid}
    Basic auth set to Yes -- and this is working -- I am able to authenticate
    HTTP method Get
    output format Text
    no response Xpath
    no response namespace
    defaults for new record and parameter delimiter
    NO REST input parameters
    Output set for all the fields in the data set queried (same set of data as in my rest service which does not have any http header)
    REST HTTP Header : Name stid
    I there something I am missing. I am not sure how to troubleshoot this further.
    Pat

    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

  • Slow attachment upload with Exchange Web Services (Outlook 2011 for Mac?)

    We're experiencing slow attachment upload with Exchange Web Services versus MAPI, OWA, and Outlook Anywhere.  I'm not totally certain that it is Exchange Web Services or specifically Outlook 2011 for Mac.  I attempted to test with the Mac Mail
    App, but it makes it difficult to tell when the attachment has been uploaded and the file has been sent.  Here's what we're seeing (10mb file):
    MAPI / RPC/HTTPS / OWA: 10-15 seconds upload time
    Exchange Web Services (Outlook 2011 for Mac): 60-90 seconds upload time
    Thoughts? Any idea why we would see such a drastic difference in attachment upload time?  Any way to prove definitively that it is Exchange Web Services vs. Outlook 2011 for Mac?  We've tried it from multiple locations with multiple different machines,
    and although the upload times vary (some locations have more bandwidth etc) the ratios remain similar.

     
    Hi ,
    Does all the user occurred the issue ?
    If only special user, I recommend you do the following steps and test:
    1.Remove and re-add the email account and check if this helps to resolve the issue.
    To remove and add the email accounts:
    Open Outlook > GO to Tools > Accounts > Click on "Minus" symbol to remove and "Plus" to add an Email account.
    2.Creating a new user profile:
    http://support.microsoft.com/kb/2439218/
    3. If the issue persists, rebuild the data base and check the results:
    http://support.microsoft.com/kb/2360509
    You can also post it on Office for MAC forum  to get special support about the difference between Outlook and Outlook for MAC.
    http://www.microsoft.com/mac/support
    Wendy Liu
    TechNet Community Support

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

  • 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

  • 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

  • Web Services with JBuilder

    I've created a web service with jbuilder.I've deployed it in weblogic server 7. Jbuilder also creates a client jar file necessary where I want to call my web service. Imagine I want to call my webservice from a .NET platform. How I have to do it? I don't understand how I can create a generic web service that I can call from a J2EE platform or .NET platform...
    Any explanation to clarify my ideas?
    Thanks!

    All you need to do to access the web service from a .NET client is to point to the WSDL file generated by JBuilder. Visual Studio .NET will generate all the necessary classes from the WSDL file. You will be able to use these generated client classes to access your Java Web Service

  • Problem consuming web service with basic authentication

    Hello,
    I've set up a web service with basic authentication. Although I have to log in before being able to open the overview page of the web service in the Web Service Navigator, the response I get after sending a request is:
    Authority check failed
    I get this response in the Web Service Navigator as well as when consuming the web service via standalone proxy classes.
    The following is strange, too: It is not possible to change  authentication in the generated logical port. It is set to "none". I changed it via the XML file where I added the properties "AuthenticationMethod" (value "BasicAuth") and "AuthenticationMechanism" (value "HTTP"). But I got the above response anyway.
    Thanks for your help!
    Regards

    I used basic authentication for my web service.
    I was able to obtain a hardcopy of the logfiles in the meantime. The invocation of the web service is stored there with the following error messages:
    <i>SOAP Runtime: Exception message: Schwerer Prozessierungsfehler macht eine SOAP-Fault-Behandlung erforderlich
    SOAP Runtime: SOAP Fault exception occurred in program CL_SOAP_RUNTIME_SERVER========CP in include CL_SOAP_RU NTIME_SERVER... [the picture is cut here]</i>
    In addition to that I found a thread in SDN that dealt with exactly the same problem:
    Web Service Homepage: Authority check failed
    But I have the same problem like Kimberly Carmack (the last post on the second page). We do not have that role in our system.

  • J2EE 1.4 Tutorial - problems with deploying web services

    Hi folks,
    I have a problem with the deployment of the example "MyHelloService" (chapter 8: Building Web Services With JAX-RPC).
    I've installed the application server properly and executed all the necessary steps written down in the tutorial (Packaging the Service and Specifying the Endpoint Address).
    While deploying the service I get the following error message:
    Deploy action running...
    com.sun.enterprise.admin.common.exception.DeploymentException: com.sun.enterprise.config.ConfigException: Failed to load deployment descriptor for: MyHelloService
    cause: Premature end of file.
         at com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstance.deployWarModuleArchiveOrDirectory(ManagedServerInstance.java:1099)
         at com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstance.deployWarModule(ManagedServerInstance.java:1003)
         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:324)
         at com.sun.enterprise.admin.server.core.jmx.Introspector.invokeMethodOn(Introspector.java:181)
         at com.sun.enterprise.admin.server.core.mbean.config.AdminBase.invoke(AdminBase.java:86)
         at com.sun.enterprise.admin.server.core.mbean.config.ConfigMBeanBase.invoke(ConfigMBeanBase.java:663)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:212)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:218)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:808)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:781)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:223)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.callInvoke(AdminAPIEntryServlet.java:203)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.callMBean(AdminAPIEntryServlet.java:162)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.doGet(AdminAPIEntryServlet.java:103)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.doPost(AdminAPIEntryServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:282)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:206)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:630)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
         at java.lang.Thread.run(Thread.java:536)
    !!! Operation Failed !!!
    [Completed (time=4.1sec, status=13)]
    I verified the deployment descriptor and unpacked the WAR, but there seems to be no mistake. I don't know what to do...I can't imagine that this is a bug, so maybe I've done something wrong.
    Any help would be appreciated.

    Thank you for your answer, but I encountered the problem with the defect WAR file already in chapter 3 (Getting Started with Web Applications). I searched the forum and found the thread you recommended, made the adjustments in the deploytool.bat file and so fixed the problem.
    Thus your recommendation is unfortunately not the right solution for my problem.
    For verification purposes, here is an extract from my deploytool.bat file:
    set _USER_COUNTRY=US
    set _USER_LANG=en
    set _USER_REGION=US
    set _MAIN=com.sun.enterprise.tools.deployment.ui.Main
    set _CPATH=%LIB%\appserv-assemblytool.jar;%AS_IMQ_LIB%\activation.jar; %AS_JHELP%\jhall.jar;%LIB%\appserv-admin.jar;%LIB%\appserv-cmp.jar; %LIB%\appserv-rt.jar;%LIB%\j2ee.jar; %AS_INSTALL%\share\lib\jaxrpc-impl.jar;%LIB%\appserv-ext.jar; %LIB%\deployhelp.jar
    echo %_JAVACMD% -Dcom.sun.aas.installRoot="%AS_INSTALL%" -Djava.endorsed.dirs=%AS_INSTALL%\share\lib\endorsed -Dcom.sun.aas.defaultUserName="%AS_ADMIN_USER%" -Dcom.sun.aas.defaultPassword="%AS_ADMIN_PASSWORD%" -Duser.country="%_USER_COUNTRY%" -Duser.language="%_USER_LANG%" -Duser.region="%_USER_REGION%" -cp %_CPATH% %_MAIN% %1 %2
    %_JAVACMD% -Dcom.sun.aas.installRoot="%AS_INSTALL%" -Djava.endorsed.dirs=%AS_INSTALL%\share\lib\endorsed -Dcom.sun.aas.defaultUserName="%AS_ADMIN_USER%" -Dcom.sun.aas.defaultPassword="%AS_ADMIN_PASSWORD%" -Duser.country="%_USER_COUNTRY%" -Duser.language="%_USER_LANG%" -Duser.region="%_USER_REGION%" -cp %_CPATH% %_MAIN% %1 %2In addition, I used the verification option from the deploytool and checked the deployment descriptor with the following results (only passed tests):
    Test Name : tests.web.ServletLargeIcon
    There are no large-icon elements within the servlet [ helloservice.HelloImpl ].
    Test Name : tests.web.ServletClass
    Servlet class [ helloservice.HelloImpl ] resides in the WEB-INF/classes directory.
    Test Name : tests.web.SessionTimeout
    Servlet session-timeout [ 30 ] element defines the default session timeout interval expressed in whole minutes.
    Test Name : tests.web.ServletInterface
    Not Applicable since, Servlet [ helloservice.HelloImpl ] is a JAXRPC Endpoint.
    Test Name : tests.web.ParamValue
    Test Name : tests.web.ServletSmallIcon
    There are no small-icon elements in the servlet [ helloservice.HelloImpl ].
    Test Name : tests.web.WebName
    Web-App display name is : [ MyHelloService.war ]
    Test Name : tests.web.ServletParamName
    ServletParam name exists in the web application.
    Test Name : tests.web.ResourceAuth
    Test Name : tests.web.ServletParamValue
    Test Name : tests.web.JarContainsXMLFile
    Found deployment descriptor xml file [ WEB-INF/web.xml ]All the other tests were notapplicable (no errors).
    Moreover, I unpacked the WAR file (MyHelloService.war): all necessary XML files were included and well-formed.

  • 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 accessing web service

    Hi All,
    I have defined the destination of an online web service.
    When I am trying to find the web service in VC, I am getting the foll. error in log file
    #1.5 #02004C4F4F5000470000000300000AA0FFFFFFFFFFFFFFFF#1229512213921#/System/Server/DevServer#sap.com/VisualComposerServerEar05#com.sap.search.SearchService#Administrator#855####47152110cc2b11ddc7d902004c4f4f50#Thread[Thread-183,5,ApplicationThreadGroup]##0#0#Error#1#com.sap.search.SearchService#Plain###[VC-DevServer][While retrieving systems for Search Provider: BICSServiceProvider]null#
    #1.5 #02004C4F4F5000380000001E00000AA000A277A5BFE73AE3#1229512224722#/System/Server/VCServer#sap.com/VisualComposerServerEar05#com.sap.vc.bcksrv#Administrator#855####1d59fe41cc2b11dda69b02004c4f4f50#HTTP Worker [4]##0#0#Error#1#com.sap.vc.bcksrv#Plain###SystemHandler: search in system: Weather ,function expression : * ,object expression: null  failed. Reason: Could not retrieve metadata#
    #1.5 #02004C4F4F5000380000002200000AA000A277A5BFE73AE3#1229512224769#/System/Server/DevServer#sap.com/VisualComposerServerEar05#com.sap.search.SearchService#Administrator#855####1d59fe41cc2b11dda69b02004c4f4f50#HTTP Worker [4]##0#0#Error#1#com.sap.search.SearchService#Plain###[VC-DevServer][error in search WebServicesProvider/Weather]<Localization failed: ResourceBundle='com.sap.ds.core.exceptions.DevserverMessages', ID='SystemHandler\#search: Could not find the functions metadata', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key SystemHandler\#search: Could not find the functions metadata#
    #1.5 #02004C4F4F50001E0000001E00000AA000A277A5BFE73334#1229514581849#/System/Server/VCServer#sap.com/VisualComposerServerEar05#com.sap.vc.bcksrv#Administrator#925####a0595b10cc3011ddb8f202004c4f4f50#HTTP Worker [2]##0#0#Error#1#com.sap.vc.bcksrv#Plain###SystemHandler: search in system: Weather ,function expression : * ,object expression: null  failed. Reason: Could not retrieve metadata#
    #1.5 #02004C4F4F50001E0000002200000AA000A277A5BFE73334#1229514581880#/System/Server/DevServer#sap.com/VisualComposerServerEar05#com.sap.search.SearchService#Administrator#925####a0595b10cc3011ddb8f202004c4f4f50#HTTP Worker [2]##0#0#Error#1#com.sap.search.SearchService#Plain###[VC-DevServer][error in search WebServicesProvider/Weather]<Localization failed: ResourceBundle='com.sap.ds.core.exceptions.DevserverMessages', ID='SystemHandler\#search: Could not find the functions metadata', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key SystemHandler\#search: Could not find the functions metadata#
    #1.5 #02004C4F4F50001F0000003800000AA000A277A5BFE72B6C#1229515060702#/System/Server/VCServer#sap.com/VisualComposerServerEar05#com.sap.vc.bcksrv#Administrator#925####a0595b10cc3011ddb8f202004c4f4f50#HTTP Worker [0]##0#0#Error#1#com.sap.vc.bcksrv#Plain###SystemHandler: search in system: Weather ,function expression : * ,object expression: null  failed. Reason: Could not retrieve metadata#
    #1.5 #02004C4F4F50001F0000003C00000AA000A277A5BFE72B6C#1229515060717#/System/Server/DevServer#sap.com/VisualComposerServerEar05#com.sap.search.SearchService#Administrator#925####a0595b10cc3011ddb8f202004c4f4f50#HTTP Worker [0]##0#0#Error#1#com.sap.search.SearchService#Plain###[VC-DevServer][error in search WebServicesProvider/Weather]<Localization failed: ResourceBundle='com.sap.ds.core.exceptions.DevserverMessages', ID='SystemHandler\#search: Could not find the functions metadata', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key SystemHandler\#search: Could not find the functions metadata#
    Can someone let me know what is wrong.
    Regards
    Nikhil

    Hi Nikhil,
    Have you created the destination for your online webservice as mentioned in [this|https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc71/webServiceDestination] document?
    <optional>
    Did you test your Web Service in WS Navigator? (you can search for your web Service with the destination name mentioned in step 1 or just paste the WSDL)
    Logout and Login again, then search for the service.
    Let me know if it helps.
    Regards,
    Dharmi

  • Problem with XI web service,

    Create webDynpro DC try to connect web service in XI side, I have created Adaptive web service, set up username and password in Visual Administrator, point url to a uddi wsdl, but when i try to run the application , I got error says "InvocationException occurred invoking method" when i try to new the model class.
    the other thing is that the some wsdl files with location field like "http://server:port/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_ESALES_PORTAL&"
    and other wsdl files with location field like ""http://server:port/XISOAPAdapter/MessageServlet?Version=3.0&Channel=:"
    which wsdl format is the correct way in order to let webDynpro application to call it. Please help me if you have an idea, thanks a lot!

    Hao fan,
    If you are using SOAP as your sender adapter then your second one is good. Also please check this document on how to post it to XI using SOAP:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    The first one we will use when you post directly to integration engine instead of uisng SOAP adapter. Check this weblog by stefan on this:
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    So first you make sure how you are sending data to XI. Then create a WSDL according to that and then test your webservice.
    ---Satish

  • Problem in Xcelsius with BI Web Services

    Hi,
    we are working with Xcelsius 2008 when we are consuming the
    query_view_data Web Services, the result structures don´t appear
    complete. For example in Axis_Info we can´t see the internal fields of
    the structure "Chars" ( structure that shows us the characteristics involved in our query).
    We are using this method to create the Web Service for our system BI 7.0.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1
    550b0/content.htm
    We don´t know if this is a bug and was resolved or if there are another solutions to send a BW query information to xcelsius ( other Funtion Module for example).
    I would appreciate your help.

    Hi,
    the web service is not formatted for Xcelsius. there will be a direct web service - it is planned for the second half of this year (see the roadmap here in the BI area for details). right now you can use Live Office or Query as a Web Service.
    ingo
    XC, CR and LO Part 1 of 4
    /people/ingo.hilgefort/blog/2008/10/03/businessobjects-and-sap-part-1-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
    XC, CR and LO Part 2 of 4
    /people/ingo.hilgefort/blog/2008/10/07/businessobjects-and-sap-part-2-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
    XC, CR and LO Part 3 of 4
    /people/ingo.hilgefort/blog/2008/10/07/businessobjects-and-sap-part-3-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
    XC, CR and LO Part 4 of 4
    /people/ingo.hilgefort/blog/2008/10/10/businessobjects-and-sap-part-4-of-4--creating-a-xcelsius-dashboard-on-top-of-sap-bi
    Technical Material
    /people/ingo.hilgefort/blog/2008/11/19/businessobjects-integration-with-sap-netweaver-bi--technical-material

  • Invoke web service with DTO

    Hey guys,
    I am quite new in using BPEL. My first test worked fine, but know I have an issue, which I can not solve. Invoking web services with a basic return value is no problem. I could also you a dto object including some basic variables in order to invoke the web service without having problems.
    But when I have a dto object as return value, I get the following exception.
    Could someone give me a hint to fix my problem...that would be great!
    Thanks alot!
    Sven
    <messages>
    - <input>
    - <carReserveRequest>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in0">
    - <in0 xmlns="" xmlns:def="urn:TravelBooking" xsi:type="def:CarReservationDTO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <carType>
    Mini
    </carType>
    <customerName>
    9
    </customerName>
    <customerPhone>
    9
    </customerPhone>
    <reservationEnd>
    2030-12-12T00:00:00.000+01:00
    </reservationEnd>
    <reservationStart>
    2029-12-12T00:00:00.000+01:00
    </reservationStart>
    </in0>
    </part>
    </carReserveRequest>
    </input>
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    <summary>
    exception on JaxRpc invoke: trailing block elements must have an id attribute
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages
    Message was edited by:
    user606281

    Here is more information. Below are the relevant sections of the web service's WSDL which I am trying to call from BPEL:
    - <wsdl:message name="getNextIDResponse">
    <wsdl:part name="part1" element="ns0:getNextIDResponse" />
    </wsdl:message>
    - <wsdl:message name="getNextIDFault">
    <wsdl:part name="part1" element="ns0:SOAPExceptionFault" />
    </wsdl:message>
    <wsdl:message name="getNextIDMessage" />
    - <wsdl:portType name="GetUniqueIDPortType">
    - <wsdl:operation name="getNextID">
    <wsdl:input message="axis2:getNextIDMessage" wsaw:Action="urn:getNextID" />
    <wsdl:output message="axis2:getNextIDResponse" />
    <wsdl:fault name="getNextIDFault" message="axis2:getNextIDFault" />
    </wsdl:operation>
    </wsdl:portType>

Maybe you are looking for