Failure accessing WMS theme

Hi to All,
I'm trying to call a WMS with mapviewer (OC4J 10g)to add a Layer to an existing map, so as i've seen from documentation i've added a new theme to my maprequest:
<theme name="WMS" >
<wms_getmap_request isBackgroundImage="false" >
<service_url>
http://web.rete.toscana.it/sgrwms/com.rt.wms.RTmap?
</service_url>
<version>
1.1.0
</version>
<format>
image/png
</format>
<srs>
EPSG:3003
</srs>
<bgcolor>
0xFFFFFF
</bgcolor>
<transparent>
true
</transparent>
<exceptions>
application/vnd.ogc.se_inimage
</exceptions>
<layers>
_idreg,idprov,idcomuni
</layers>
</wms_getmap_request>
</theme>
and i receive always a red message on my map witch say:
Failure accessing WMS theme,
am i missing something?
To access external URL I need a proxy where I have to set url, port, userid and password.I've seen in my mapviewer config file "mapViewerConfig.xml" a tag "web_proxy" but i cannot set userid and password, only url and port.
Could someone send me a real example of xml theme that works?
Please help me,
Thank U,
Francesco

Hi Francesco,
I have the proxy information set on MapViewer configuration file, and was able to get the map with the following request (note that I changed the SRS to EPSG:4326).
<?xml version="1.0" standalone="yes"?>
<map_request
             title="wms sample"
             datasource = "mvdemo"
             width="900"
             height="450"
             bgcolor="#a6cae0"
             antialiase="false"
             format="PNG_STREAM">
  <center size="2">
     <geoFeature  >
         <geometricProperty typeName="center">
             <Point>
                 <coordinates>11, 43</coordinates>
             </Point>
         </geometricProperty>
     </geoFeature>
  </center>
  <themes>
    <theme name="WMS" >
      <wms_getmap_request isBackgroundImage="false" >
      <service_url>
          http://web.rete.toscana.it/sgrwms/com.rt.wms.RTmap?
      </service_url>
      <version>
        1.1.0
      </version>
      <format>
       image/png
      </format>
     <srs>
      EPSG:4326
     </srs>
     <bgcolor>
        0xFFFFFF
     </bgcolor>
     <transparent>
       true
     </transparent>
     <exceptions>
        application/vnd.ogc.se_inimage
     </exceptions>
     <layers>
         _idreg,idprov,idcomuni
     </layers>
     </wms_getmap_request>
    </theme>
  </themes>
</map_request>Edit MapViewer configuration file, then uncomment and set the <web_proxy> parameters. Save and restart MapViewer, then add data source "mvdemo" and run the request.
Joao

Similar Messages

  • After upgrade to Mavericks I can do Time Machine backups but I cannot have access to them

    After upgrading my iMac 20" (early 2008) from Snow Leopard to Mavericks, I can backup with Time Machine and I can see that the copies have been made. But when I enter to Time Machine mode, all these copies in the right bar goes from pink to translucent in some few seconds, and I cannot have access to them.
    I have a dedicated external 400GB HD for the copies, formated in Mac Os Plus, and I can go there and open, copy, etc. any file "manually", so, the copies are right (I guess).
    Any idea about why I cannot "go back" in Time Machine, although it "sees" the disk, and the copies exist?
    Thanks in advance for your help.

    After upgrading my iMac 20" (early 2008) from Snow Leopard to Mavericks, I can backup with Time Machine and I can see that the copies have been made. But when I enter to Time Machine mode, all these copies in the right bar goes from pink to translucent in some few seconds, and I cannot have access to them.
    I have a dedicated external 400GB HD for the copies, formated in Mac Os Plus, and I can go there and open, copy, etc. any file "manually", so, the copies are right (I guess).
    Any idea about why I cannot "go back" in Time Machine, although it "sees" the disk, and the copies exist?
    Thanks in advance for your help.

  • How do I include the photos in a imovie project to the finished dvd so the users can have access to them?

    I've included alot of old photos in an iMovie project and would like to include them on the finished DVD I create with iDVD. I woud like the users to be able to have access to them so they can print them, store them on their own computer or whatever they would like to do. How would I do this?

    You do this by creating a DVD-ROM section on your DVD. See this explanation from iDVD Help.
    Adding files to the DVD-ROM portion of a disc
    You can let viewers copy files directly from your DVD by adding the files to the DVD-ROM portion of the disc. These files are burned onto the DVD and are accessible when the disc is viewed on either a Windows PC or a Macintosh computer, but not a DVD player.
    You can add any kind of file to the disc. For example, if your disc contains a slideshow, you can add the image files to the DVD-ROM portion of the disc so viewers can download them to their own computers and print them. You can also add a file containing your movie production notes and other “extras.”
    To manually add files to the DVD-ROM part of your disc:
    Choose Advanced > Edit DVD-ROM Contents.
    The DVD-ROM Contents window opens.
    Click Add Files, or click New Folder first if you want to create a folder to put the files in.
    Browse to select your files or folders, then click Open to add them to the disc.
    You can also drag files directly to the DVD-ROM Contents window. When you are done, just close the window.
    When you add a file to the DVD-ROM portion of your disc, before you burn the disc the project contains just a reference to the location of the file on your hard disk, not the actual file. So if you delete a file from your computer or move it from its location after adding it to the DVD-ROM contents, you get a “File not found” message when you try to burn your disc. You can either remove these missing files from the DVD-ROM contents or find them on your computer and put them back in the original location so iDVD can access them.
    As you add files to the DVD-ROM contents, be sure to check the DVD Capacity meter in the Project Info window to find out how many gigabytes of disc space are being used. The Capacity meter shows the disc space taken up by the video portion of the disc as well as the DVD-ROM portion.

  • How can I remove devices from my account if I dont have access to them anymore?

    I have used 5 devices in the past and now dont have access to them how do I remove them from my account?

    To remove a device or computer from your Apple ID:
    Open iTunes.
    Sign in to your Apple ID by choosing Store > Sign In from the iTunes menu.
    Choose Store > View My Account from the iTunes menu.
    From the Account Information screen, click Manage Devices.
    Click the Remove button next to the device name you would like to unassociate.

  • Is there a way to "network" iPhoto library to keep all photos accessible on an external drive, but still have access to them online (i.e., somehow host my own cloud)?

    My HD is full of photos and videos.  I want to have all-the-time access to them, but they clearly can't fit onto my HD. So, what if I (1) connected an external hard drive to my wi-fi router so I could remote access pics w/a network connection-- this way even my wife's macbook could connect to it, creating our own cloud.  Or (2) had a way to save the most recent 6mo on my locally and the rest on said external HD?  Hardware issues aside, can iPhoto do #1 or #2?  In short, is there a way to somehow host my own cloud?
    Similarly, how do you keep photos accessible in iPhoto when your HD is full?  Do you just switch to Aperture and have multiple libraries?
    Thanks!!

    So, what if I (1) connected an external hard drive to my wi-fi router so I could remote access pics w/a network connection-- this way even my wife's macbook could connect to it, creating our own cloud.
    A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries. 
    Or (2) had a way to save the most recent 6mo on my locally and the rest on said external HD?
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    Now you have two full versions of the Library.
    3. On the Internal library, trash the Events you don't want there
    Now you have a full copy of the Library on the External and a smaller subset on the Internal
    Some Notes:
    As a general rule: when deleting photos do them in batches of about 100 at a time. iPhoto can baulk at trashing large numbers at one go.
    You can choose which Library to open: Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    You can keep the Library on the external updated with new imports using iPhoto Library Manager
    how do you keep photos accessible in iPhoto when your HD is full?
    Move the Library to an external disk -  see above.
    Do you just switch to Aperture and have multiple libraries?
    Aperture uses as much space as iPhoto and both can do multiple libraries.
    Regards
    TD

  • Once I downloaded the new IOS 5.0 I've lost all of my photos that were stored on my PC, and I no longer have access to them on the IPOD.  Cannot figure out what has happened.  Please help.

    Once I downloaded the new IOS 5.0 I've lost all of my photos that were stored on my PC, and I no longer have access to them on the IPOD.  Cannot figure out what has happened.  Please help.

    Thanks lllaass, but I am not computer literate and do not understand exactly what it is I am supposed to do.  All of my photos were stored on Microsoft Windows Live Photo Gallery.  When I now access the gallery the only thing that is there are the folders with the title of the folders.  The pictures that were in those folders are now gone. I can no longer access them on my IPOD either.  My photo library on my IPOD is now empty. 
    Thanks again for your help.

  • Photostream Issue - I have had several phones over the years all backing up via iCloud/Photostream. It seems that the oldest of my photos and videos are simply gone and I cannot seem to figure out how to get access to them. Why is this happening?

    Photostream Issue - I have had several phones over the years all backing up via iCloud/Photostream. It seems that the oldest of my photos and videos are simply gone and I cannot seem to figure out how to get access to them. Why is this happening? Is there anything I can do to get them back? I'm freaked out by the thought that I am paying for what I thought was a safe place for my photos to be stored and accessed later but now see that there are nearly 500 pictures/videos gone from my photostream folder. Any help would be greatly appreciated. Thank you. - Michael

    Hi newmarket,
    Photo Stream is not a respository for archiving photos. It is a cloud storage device that will store the last month or last 1000 photos taken by any device on the same Apple ID, and then will "share" those photos with all other devices that have Photo Stream turned on,and that are logged onto the same Apple ID.
    iCloud backups will contain all of the photos that were on your camera roll the last time you backed up your device.
    If you have photos outside of the Photo Stream parameters, and they are not all on your current camera roll, then you have no way to retrieve them unless you have imported them to the computer you sync with or have uploaded them to some other cloud service like DropBox.
    Sorry,
    GB

  • How to set proxy credentials to access wms services in Oracle Mapviewer

    Hi,
    I use Oracle Mapviewer v. 11_1_1_4 and I want to access WMS service but my LAN uses a proxy server that requires authentication.
    The mapviewer configuration file doesn't allow setting 'user' and 'password' proxy parameters. Other threads report this problem like the following:
    https://forums.oracle.com/thread/620366
    The previous thread is five years old. Are there other solutions now? Does last mapviewer allow users setting proxy authentication?
    Can anyone help me?
    Thanks,
    Arturo

    go to commons-httpclient-3.1\docs\tutorial.html. In the left hand side you will get a link named as " user guide" and under that "Authentication Guide" link. check it out.

  • 404 Errors When Accessing My Themes

    Kuler is returning a 404 error when I try to access my themes on any browser. This was reported in 2013 and in Oct. 2013 Adobe said they were aware and working to fix it. What's going on with fix? Thank you.

    It looks like your theme is marked as "private"--which means the link will not work.  If you mark the theme as "public" then you can share the link without seeing a 404. Click on the "Private" link to change the theme from private to public. 

  • HT201250 Once I use time machine to back up my Mac Air, can I delete all my files from HD and still have access to them on TM (external hard disk)?

    New to Time Machine. The HD on my Mac Air is full so I got an external HD and using TM to back up everything.
    Can I erase all files (pictures, docs, etc) from my Mac and still have access to those files through Time Machine?

    That is a bad idea. Time Machine is strictly a backup utility. What you describe will require archiving files, which Time Machine is not designed to accomplish.
    Once you erase files from your MacBook Air, they will eventually be erased from your Time Machine backup. This is by design, as Time Machine will eventually fill your backup volume and will delete old files as required. Depending on when they were first backed up and how long they existed on your MBA before you erase them, they could disappear in as little as one hour.
    Use Carbon Copy Cloner or equivalent "clone" utility and configure it to archive files that do not exist on the source, or simply copy them over manually using the Finder. You can then delete them from your MBA. Bear in mind that once you do that, you no longer have a backup copy. The only copies will exist on the external HD.

  • The SSD on my MacBook Air failed and I lost all of my files and information. Will Apple be able to put the music and photos from my iPad onto my computer since the SSD failure was on them?

    Because the failure of the SSD was not in my hands, will Apple help me avoid the inconvenience of restarting on a new computer by using my iPad to get music and pictures back on my computer? It's still under warranty and I feel that Apple should do this for me since I paid $1,500 for a computer that is supposed to be reliable.

    Drop the sass, dude.
    What I'm asking is will they be able to rip the files off my iPad and put them on my computer instead of leaving me in an unfortunate situation which wouldn't have occurred in the first place. I understand electronics fail all the time, but will they help me get back on track by taking my iPad's files and ripping them onto my Mac?

  • WMS Theme - Javascript API

    Hello All
    Is it possible to add a WMS map theme to the current map request using the MapViewer Java Script API?
    Thankyou

    Thanks for your prompt reply.
    I created a wms tile layer , but it take long time to fetch tiles .
    My tile definition is
    <?xml version="1.0" standalone="yes"?>
    <styling_rules theme_type="wms">
    <service_url> http://192.168.5.5:7001/mapviewer/wms </service_url>
    <layers> THEME_RATE </layers>
    <version> 1.1.1 </version>
    <srs> SDO:3785 </srs>
    <format> image/png </format>
    <bgcolor> 0xA6CAF0 </bgcolor>
    <transparent> true </transparent>
    <exceptions> application/vnd.ogc.se_xml </exceptions>
    <capabilities_url> http://192.168.5.5:7001/mapviewer/wms? </capabilities_url>
    </styling_rules>
    <map_tile_layer name="TILE_WMS" image_format="PNG" http_header_expires="168.0" concurrent_fetching_threads="3">
    <internal_map_source data_source="TWCGIS_V8I" base_map="WMS" bgcolor="none"/>
    <tile_storage root_path="/home/oracle/Downloads/linux/9668208/mapviewer.ear/web.war/WEB-INF/conf/F:\MapviewrCache/TWCGIS_V8I.TILE_WMS/"/>
    <coordinate_system srid="3785" minX="-2.00375083427E7" minY="-2.00375083427E7" maxX="2.00375083427E7" maxY="2.00375083427E7"/>
    <tile_image width="256" height="256"/>
    <zoom_levels levels="21" min_scale="0.0" max_scale="0.0" min_tile_width="19.109256744384766" min_tile_height="2.0037508E7">
    <zoom_level level="0" name="" description="" scale="0.0" tile_width="2.0037508E7" tile_height="2.0037508E7"/>
    <zoom_level level="1" name="" description="" scale="0.0" tile_width="1.0018754E7" tile_height="1.0018754E7"/>
    <zoom_level level="2" name="" description="" scale="0.0" tile_width="5009377.0" tile_height="5009377.0"/>
    <zoom_level level="3" name="" description="" scale="0.0" tile_width="2504688.5" tile_height="2504688.5"/>
    <zoom_level level="4" name="" description="" scale="0.0" tile_width="1252344.25" tile_height="1252344.25"/>
    <zoom_level level="5" name="" description="" scale="0.0" tile_width="626172.125" tile_height="626172.125"/>
    <zoom_level level="6" name="" description="" scale="0.0" tile_width="313086.0625" tile_height="313086.0625"/>
    <zoom_level level="7" name="" description="" scale="0.0" tile_width="156543.03125" tile_height="156543.03125"/>
    <zoom_level level="8" name="" description="" scale="0.0" tile_width="78271.515625" tile_height="78271.515625"/>
    <zoom_level level="9" name="" description="" scale="0.0" tile_width="39135.7578125" tile_height="39135.7578125"/>
    <zoom_level level="10" name="" description="" scale="0.0" tile_width="19567.87890625" tile_height="19567.87890625"/>
    <zoom_level level="11" name="" description="" scale="0.0" tile_width="9783.939453125" tile_height="9783.939453125"/>
    <zoom_level level="12" name="" description="" scale="0.0" tile_width="4891.9697265625" tile_height="4891.9697265625"/>
    <zoom_level level="13" name="" description="" scale="0.0" tile_width="2445.98486328125" tile_height="2445.98486328125"/>
    <zoom_level level="14" name="" description="" scale="0.0" tile_width="1222.992431640625" tile_height="1222.992431640625"/>
    <zoom_level level="15" name="" description="" scale="0.0" tile_width="611.4962158203125" tile_height="611.4962158203125"/>
    <zoom_level level="16" name="" description="" scale="0.0" tile_width="305.74810791015625" tile_height="305.74810791015625"/>
    <zoom_level level="17" name="" description="" scale="0.0" tile_width="152.87405395507812" tile_height="152.87405395507812"/>
    <zoom_level level="18" name="" description="" scale="0.0" tile_width="76.43702697753906" tile_height="76.43702697753906"/>
    <zoom_level level="19" name="" description="" scale="0.0" tile_width="38.21851348876953" tile_height="38.21851348876953"/>
    <zoom_level level="20" name="" description="" scale="0.0" tile_width="19.109256744384766" tile_height="19.109256744384766"/>
    </zoom_levels>
    </map_tile_layer>
    Anything wrong in my side?
    Thanks in advance

  • Problem with WMS themes & Oracle MapViewer Version 11.1.1.2

    Hello, in my application I load the background raster from a external server using wms. With differents version of mapviewer 11 with a weblogic server (e.g: release 1, release 11.1.1.4) all it's allrigth, but when I change the mapviewer to release 11.1.1.2 I can't see the raster and I get the next error:
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    21-sep-2011 11:33:10 oracle.sdovis.theme.DynGeomThemeProducer prepareData
    I can understand why..., I don't know what's is the problem because differents versions of mapviewer work without problem on the same weblogic server (Weblogic 11 patchset R2).
    Anyone know if mapviewer 11.1.1.2 has a problem with WMS?
    Thanks for your answer!!

    although with Oracle Fusion Middleware MapViewer Version 11g ps3 (11.1.1.4) and 11g ps4 (11.1.1.5.1) everything work ok in my WebLogic Server: 10.3.3.0, with Mapviewer Version 11.1.1.2 I get the next error:
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    sun.awt.image.ImageFormatException: Not a JPEG file: starts with 0xff 0xd9
         at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
         at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:119)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    I've seen that the wms external service works ok and returns an url with the correct image, but something wrong happens inside of mapviewer that don't allow generate the image....

  • NetIOPermission.check failure accessing Forms

    I am running Developer Server 6.0 on a Solaris 7 machine with
    a 8.0.5 Oracle.
    I have installed all the Developer patches for Solaris and have
    done all the unzipping of classes.zip in the forms60/java
    directory as mentioned in the previous threads.
    I am running IE 5.0 from a Windows 98 machine attempting to read
    a demo fmx file. I get the splash screen and then I get a failure
    on check caused by
    oracle/forms/handler/FormCanvas.doAddImageEntry. I suspect this
    is some IE 5.0 configuration issue instead of a Developer Server
    problem.
    Using Netscape 4.61, I get the AppletViewer error with no splash
    screen.
    Has anyone seen the NetIOPermission.check failure problem, and
    what is the fix?
    Rajeev
    null

    You can POST them to the database.
    If they don't exist, there is no problem and you can commit else you do a rollback by using CLEAR_FORM

  • HT201269 my I-touch could not be restored. I had purchased Songs from the I-tune store but now don't have access to them. I purchased them. How can I retrieve them and put them on my new I=touch?? Any help with that will be greatly appreciated.

    My I-touch could NOT be restored. I had purchased songs from the I-tune store and they were on the "old" i-touch. I cannot access the tunes from the "old" device. How can I get "retrieve" the songs I purchased and put them on my NEW I-touch?? Please help!
    I could purchase the songs again. But I really don't want to spend more money. Help?

    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

Maybe you are looking for

  • Problem starting with solution manager

    hi guy, i have a problem with Solution Manager version 4.0 During an istallation of support package I had a network problem and the system went down fore some minutes.  After that, is not possible logon on system. I try startsap and is ok, db seem up

  • Ipad isnt charging, please help

    I have a first gen Ipad 3G that I just found out is 90 days over warranty.  Just this week it stopped holding a charge. I tried three different cables, plugs, into the Macbook pro and into the wall outlet, nothing.  So i brought it to an Apple store,

  • Virus in Oracle 9.2.0.2 Linux download

    Hi, I am trying to download the .gz files of oracle 9.2.0.2 for Linux. I am downloading the files in Windows Environment. After the files are downloaded, my anti-virus software says that, it has identified virus ib oracle .gz files and does not allow

  • N80 sms accelerator, HELP

    I am still trying to download the sms accelerator for my nokia n80, when i try to click on the "download now" icon on my pc nothing happens? i have been trying for days! is there any over way of getting this software???

  • [SOLVED] Can't boot after install

    I installed Archlinux using the FTP LiveCD. Everything finished good, and there were no errors. I then reboot and Grub comes up like it's supposed to. But when I try to boot into Arch it says: Booting 'Arch Linux' root (hd1,0) Filesystem type is ext2