Getting NullPointerException when trying to view wsdl on browser.

I have an enterprise application which is basically a spring web service.
I have used "org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition" for dynamic wsdl generation.
I use the following spring libraries spring ,
spring-jpa.jar
spring-oxm-1.5.8.jar
spring-oxm-tiger-1.5.8.jar
spring-web-2.5.jar
spring-webmvc.jar
spring-ws-1.5.8-all.jar
spring-ws-core-1.5.8.jar
spring-ws-core-tiger-1.5.8.jar
spring-ws-security-1.5.8.jar
spring-ws-support-1.5.8.jar
spring-xml-1.5.8.jar
spring.jar
And I use xmlparserv2.jar as xml library. Because If I don't use this library I get "oracle.xml.jaxp.JXDocumentBuilderFactory not found" exception.
Other xml libraries I use are: xercesImpl.jar, xml-apis.jar, XmlSchema-1.3.2.jar, xalan-2.7.0.jar, xdb.jar, xml.jar, xschema.jar
The issue is, application is deployed in weblogic 10.3.2 on a linux box.
Application is deployed fine, it is working fine. Request and response all are working as expected. But when I want to see wsdl, I am getting NullPointerException.
Application is deployed in the url: http://localhost:7001/springws-example
The exception I am getting is at the url: http://localhost:7001/springws-example/springws.wsdl
where springws.wsdl would be the wsdl name, with which it could be accessed.
This exception is occuring only on linux boxes. I have tested in two linux boxes, it behaves the same way.
In windows I have weblogic 10.3.3 , where everything is working fine. Wsdl is loaded on browser and soap end point address is updated with correct hostname, port and context root.
The exception I am getting is as follows,
Exception
java.lang.NullPointerException
at oracle.xml.parser.v2.XMLDocument.getDocumentURI(XMLDocument.java:2114)
at org.springframework.ws.transport.http.LastModifiedHelper.getLastModified(LastModifiedHelper.java:50)
at org.springframework.ws.transport.http.WsdlDefinitionHandlerAdapter.getLastModified(WsdlDefinitionHandlerAdapter.java:113)
at org.springframework.ws.transport.http.MessageDispatcherServlet.getLastModified(MessageDispatcherServlet.java:245)
Has anyone come across this issue?
Even if not, people having knowledge on linux and weblogic.. please help.
Thanks in advance.
Edited by: 851334 on Apr 11, 2011 4:07 AM

How did you map your spring-ws servlet?
<servlet>
        <servlet-name>spring-ws</servlet-name>
        <servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
</servlet>
<servlet-mapping>
        <servlet-name>spring-ws</servlet-name>
        <url-pattern>*.wsdl</url-pattern>
</servlet-mapping>and what properties did you configure?
<bean id="something" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
    <property name="schema" ref="schema"/>
    <property name="portTypeName" value="MyPort"/>
    <property name="locationUri" value="http://localhost:7001/springws-example/service/"/>
    <property name="targetNamespace" value="http://middlewaremagic.com"/>
</bean>In this case the WSDL could be reachable at http://localhost:7001/springws-example/service/something.wsdl

Similar Messages

  • Getting garbage when trying to view a report

    I'm trying to get an ASP.NET application onto a new server. I've been playing with permissions and I think I've finally got that dragon licked in every place that it might need to be done. Now, it actually goes to the report without complaining. The only problem is the report is total garbage. As in it looks to me as though it's trying to view the raw data of a binary file. How do I fix this?
    This app uses Crystal Reports for .NET 4.0, and is written in Visual Studio 2010.

    Well, I just took another look at it, and this time it came up fine. So I'll close this topic under the assumption that it's really a non-issue.

  • NullPointerException when trying to view Preferences

    Hi All.
    I've downloaded 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP4 (Patch 5455514) and extracted to my local disk. The operating system is Windows XP Professional.
    I set environment variables JDEVBIN, JDEVDOC, JDEVHOME (this one is redundant?) and JDEV_USER_HOME to point to the extracted JDeveloper folder.
    Start JDeveloper and from the menu, select Tools -> Preferences, but then I get a null pointer exception. The details are,
    java.lang.NullPointerException
         at oracle.ide.addin.config.AddinManagerOptions.copyToImpl(AddinManagerOptions.java:151)
         at oracle.ide.addin.config.AddinManagerOptions.copyTo(AddinManagerOptions.java:462)
         at oracle.ide.util.ModelUtil.deepCopy(ModelUtil.java:297)
         at oracle.ide.config.IdeSettings.copyToImpl(IdeSettings.java:137)
         at oracle.ide.config.IdeSettings.copyTo(IdeSettings.java:131)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:313)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:241)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:35)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:363)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:115)
         at oracle.ide.IdeAction$1.run(IdeAction.java:614)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    No other menu items suffer this problem.
    I have been using JDeveloper 10g until recently, but never had any problems using both 10g and 9i before my PC was upgraded tp XP. A colleague has also extracted this JDeveloper with no problems yet we have the same software installed on PC's.
    Any ideas what might be wrong? Or where to look?
    Thanks.
    Stu.
    Edited by: stumozley on Apr 30, 2009 8:06 AM

    try the OA Framework forum, or even better, Metalink (since you downloaded it from there)

  • When trying to view a pdf from IE10 I get a small square with an X and not the document.

    When trying to view a pdf from IE10 I get a small square with an X and not the document. I have removed reader completely from the control panel and reinstalled version 11.0.4. I have IE 10 10.0.9200.16721. Need assitance in getting Reader XI setup.

    Hi,
    We have heard few users having similar issue as yours and found out the problem for one of the users is this: http://support.microsoft.com/kb/2716529 .
    I was able to reporduce this problem(square with a 'X') by changing the TabProcGrowth registry entry to 0.
    This tool provided by Microsoft is for Win 8, to run this on Win 7 you can manually change the registry setting : please see " Let me fix it myself" in above url.
    Before running these steps please make sure yours indeed is the same problem.
    Please be very careful as some registry settings (not this one) can create serious problems on a Windows system including causing it to no longer boo
    Let me know how it goes.
    Thank You.

  • Why do i keep getting this message when trying to view a movie: The shared library "iCloud Purchases" is not accepting connections at this time. Please try again later.

    why do i keep getting this message when trying to view a movie: The shared library “iCloud Purchases” is not accepting connections at this time. Please try again later.

    Same issue. What are they doing?
    Macbook Pro Retina Yosemite 10.10.2

  • I get a 'blocked plug in' message when trying to view video. I have updated adobe flash, and have enabled

    I get a 'blocked plug-in' message when trying to view video, such as youtube. I have updated adobe flash, and have enabled plug-ins - still doesn't work.

    Hey reslosson,
    The article linked below provides more information about the blocked plug-in alert that you are seeing and will walk you through the process of changing the security settings in Safari. 
    Safari: "Manage Website Settings…" lets you enable the Java web plug-in website-by-website
    Cheers,
    -Jason

  • Keep getting msg safari unable to download file when trying to view MP4 videos?

    I keep receiving message 'safari unable to download file' when trying to view MP4 videos. Does anyone know why this could be? Only a recent issue. Thanks

    Try another browser as a test.
    Firefox

  • Error message when trying to view/print Crystal reports in B1

    I get the following Error message when trying to view/print crystal reports in SAP B1/Crystal Reports Integration Tool for SAP Business One:   
    " Could not load file or assembly 'Crystal Decisions Windows Forms, version=12.0.2000.0, Culture=neutral, Public Key Token=692fbea551e1304'  or one of its dependencies.  The system cannot find the file specified.  ????

    Hi
    Common issues for this :
    1. Once you install crystall add on ,you need to go to Crystal report Administration >Account setup .
    Put on the user name and password and click on creating ext tables
    Try then running the report .
    If not the case ,
    make sure you install runtime .
    You need :
    1.Crystal report basic from SAP download -(Not necessary if you want only report viewer >
    2.You need to have crystal integration addon (I think service pack is SP1)
    3.Make sure you have runtime install
    When you are installing ,make sure you restart your PC before you do or remove temporary file s
    Hope this solves your issue
    Bishal

  • ERROR (0×0107, 0×0000) WHEN TRYING TO VIEW A VM CONSOLE

    Hi,
    Getting error (0×0107, 0×0000) when trying to view  vm console via vmm installed on a machine registered to different domain.
    When tried  to connect to the VM it will be asked to authenticate against the host and then we will see a warning about an un trusted certificate
    and once we click OK we will receive the (0×0107, 0×0000) message.
    Tried importing certificate of the hosts to the Trusted Root still seeing the same error. Can anyone please help?

    Hi sathish777,
    Because each domain has its secure boundary ,domain trust is needed for comunication between different domain .
    As a workaround , you may try to logon the "client" locally to be a workgroup machine then use hvremote.swf to manage the hyper-v server remotely :
    https://code.msdn.microsoft.com/Hyper-V-Remote-Management-26d127c6
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • NullPointerException when trying to load faces application

    Hi,
    I'm new with JSF and I have a NullPointerException when trying to use a JSF tag in my file.
    My web.xml is defined as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    </web-app>
    And faces-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    The exception that I get is:
    java.lang.NullPointerException
         javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
         org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
    (HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    I guess that it's a matter of configuration, but couldn't find a solution.
    Can someone help?
    Thanks,
    Efrat

    well i think you will need
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    in you web.xml as well can be server or client state save but quite sure you have to define that

  • Error when trying to view YouTube videos

    I get the following error when trying to view YouTube videos in some wireless hotspots; "The server is not correctly configured".  It used to work fine at these locations.

    Maybe not as many people reply as you think should because this site doesn't freaking work either!
    Took me ten minutes to log in! Kept getting stupid error messages telling me this site is undergoing maintenance. Whatever.
    Same exact problem here, but Chrome DOES NOT work. Changing DNS servers DOES NOT work either. It doesn't work for a lot of people.
    https://productforums.google.com/forum/#!topic/youtube/axsb7XPieK0
    EDIT**
    WTF this site is more broken than youtube! Constant errors and constantly unresponsive with "greyed out" buttons!
    Is there any competent people left on the planet to fix this crap!?

  • Can see list of old emails, but error message when trying to view message.

    Ok, after a Mail crash (10.4.1), there were no accounts listed and of course no old emails, sent or in the inbox, were visible.
    We reentered all the account info, as if we were starting anew, and now we are able to see the list of all old emails in the inbox and sent mailbox, but when we click on any message before the crash, we get this error message:
    The message from David Crandon, ([email protected]), concerning (the subject of the email), has not been downloaded from the server. You need to take the account online in order to download it.
    Now, obviously, the accounts are online because we can send and receive new emails with no problem, and of course, the old emails aren't going to be on the server anymore.
    Can anyone help?
    Thanks.

    Well, didn't work. I spent an hour and a half just trying to get my 76yr old uncle to back able to drag and drop into the correct folder, and then trying to find the file when he didn't....!
    Anyway, it didn't work. After removing the Envelope Index file, and reimporting the messages, everything was the same. He could still see all his old emails in the list in Mail, but got the same error message when trying to view them.
    Then, we rebuilt the inbox, and now none of his old messages are visible! However, they are still on the computer.
    All his old emails are ".emlx" files and if we click directly on one of them, then Mail will launch and display the message properly in it's own window. But again, we get the above error message if we try to view it by selecting it from the message list in mail.
    One interesting thing...in the Library->Mail folder their are two folders, "Mailboxes" and "Mailboxes.mbox". Both at the same level. It's the Mailboxes.mbox folder that has all his old emails. Although all the old ones have the suffix ".elmx". In the Mailboxes folder are all the new emails since we reset all the prefs in Mail after the crash a couple of days ago.
    Anymore help please to get mail to recognize all these old emails?
    Thanks,
    David

  • When Trying to View an .mov File, PSE 8.0 Crashes... Help

    When Trying to View an .mov File, PSE 8.0 Crashes... Help  I was able to view these .mov files without any problem on ACDSee 2.5, any help will be appreciated to determine why .mov files crashe in the PSE 8.0 viewer....
    Best Regards,
    Larry

    Thanks for the reply Larry. This is frustrating, and Adobe support is useless. It all works on my vista 64 bit system, but not on the 32 bit system. The odd thing is that I can open .mov files in Editor by going to File-Import from video, select "all file types" and choose a quicktime movie and it will open and run just fine. I can take stills off the movie.  But if I try to open the same movie file with File-Open...I get an error message "Cannot open file......wrong file type" In organizer everything just crashes. I suspect there are some security issues in Vista that won't allow PSE to access Quicktime.
    Too bad Windows 7 didn't fix the problem. I was starting to head that way. I will let you know if I find a solution.
    Ron

  • Error when trying to Display WSDL for Sender Agreement

    Hi,
    I'm getting an error when trying to display WSDL for a sender agreement. The error message is as follows:
    Adapter Engine af.xxx.yyy for communication channel not registered in SLD Unable to find the SLD element (SAP_XIAdapterFramework, [CreationClassName, SAP_XIAdapterFramework, string, Name, af.xxx.yyy, string], [AdapterType, SOAP, string])
    The SOAP adapter being used is from the non-central AE. I I immediately checked for inconsistent SLD components per note 746176 but everything is in order there. I tried re-registering manually the non-central AE manually as well.
    Anyone else ever had the same error? Any hints much appreciated!

    Hi Luqman,
    go to the sender channel and replace the Adapter Type.
    Select the type as SOAP from SWCV SAP BASIS 7.xx or SAP BASIS 3.0
    The channel is referring to a swcv which is not present in esr.
    As you might know, the adapter metadata is fetched from ESR/IR, so if the SWCV containing the metadata inside namespace http://sap.com/xi/XI/System etc, is not available then it will throw error.
    If you do not want to change the Adapter Type in the channel, import the swcv from SLD to ESR and create/import the respective adapter metadata.
    Should resolve your issue.
    Cheers!
    Souvik

  • How can we correct a blocked plug in when trying to view internet videos?

    My son's computer suddenly started stating "Blocked plug in" when trying to view any videos on the internet.  We followed the instructions to upgrade Adobe Flashplayer but have been unsuccessful on many attempts and we have no leads to follow to correct the problem.
    Can anyone help or suggest something?  Thanks.

    Try this, uninstalling and then reinstalling Adobe Flash:
    Uninstall flash:
    http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html
    Reinstall Flash:
    http://get.adobe.com/flashplayer/otherversions/
    Select the OSX for you run the .dmg installer (you can go to Safari Preferences/General "Save doenloaded file to:" select other and then select desktop from the left column.
    Run the installer pkg.
    When it has completed, reboot your computer to finish the install.
    Hope this helps

Maybe you are looking for

  • Report 3.0 ( Text file conversion)

    when i selects generate to text file option from report in runtime it is giviing me CA60.DLL error and report will get termineted. This is happening on each client while in report builder it is working fine. Can anybody give me this solution for it.

  • Why I can't download flex 4 Language Reference?

    I want to download flex 4 Language Reference,so I use IE9.0 to visit following url http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4 then I click 4.1.0.16032 Download (ZIP, 32MB) http://opensource.adobe.com/wiki/display/flexsdk/downloa

  • Sequence match / 1080i50 or 25f

    Howdy, Can anyone help and give some clue asto why this happens and if I have the wrong sequence setting for this edit. I shot some footage with a canon xh-a1 in 25f. The clip is imported info fcp 6 as HDV and put on a 1080i50 timeline with sequence

  • New Camera Profiles and very high ISO files

    I am having some difficulty directing this 'beta' comment as there no longer seems to be a Labs forum for the new Profiles. My apologies, if necessary, for therefore intruding on a user-to-user. Also, to add to my misdemeanours, I previously posted t

  • Printing to Active Directory Printer Share

    I followed the instructions provided at AFP548 (http://www.afp548.com/article.php?story=20070108171607985) for printing from OS X to a printer that is "published" in Active Directory. However, I am unable to actually add any printers using ksmb. Nowh