My Oracle Support Banner

WLW 7.0.1 - FAQs about webservices created using Weblogic Workshop (Doc ID 771822.1)

Last updated on FEBRUARY 09, 2020

Applies to:

BEA WebLogic Workshop - Version All and later
Information in this document applies to any platform.
Information in this document applies to any platform


Goal

DESCRIPTION:
I created a simple project in Workshop and then generated a webservice EAR from it using jwsCompile. Then I deployed
this EAR in a server on development mode from a workshop-type domain.

QUESTIONS:
1. Where do I find the URL of the WSDL for the deployed EAR?

2. When I try to get the WSDL or try to look at the debug JWS interface using the URL:
http://Server:Port/WorkshopProjectName/WebServiceName.jws
http://Server:Port/WorkshopProjectName/WebServiceName.jws?WSDL

I get the following error:
Error: null 

Stack Trace: 
java.lang.NullPointerException 
    at java.io.File.(File.java:175) 
    at weblogic.knex.dispatcher.ServerUtil.makeCookContext(ServerUtil.java:114) 
    at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:295) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058) 
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401) 
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306) 
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412) 
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744) 
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086) 
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544) 
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

3. Is there a way to determine the service and WSDL URLs from the admin console?  Do I need to keep track of the
parameters I used when I ran jwscompile?

4. In the past, I have built BEA web services without Workshop using servicegen. It automatically created a nice HTML
page for testing the web service.  Do I lose that with Workshop?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.