Incoming Image file with XML payload processing
Hi,
We have PI 7.1 and the interface is from file to standard RFC scenario with ABAP proxy in ECC.
2 incoming files need to be processed by the interface - xml file with transaction details and the corresponding Image file.
These files have to be mapped to the standard RFC and then pushed into ECC.
Can the Java mapping be used in message mapping to pass the image file in the RFC as I do not want to use the Java module?
If yes, can someone please help with the code and the mapping aspects?
Regards,
Abhishek,
Though I never worked with server proxy with attachments,
In my opinio, when it is possible to send attachments from outbound ABAP proxy, then logically it should be possible to read attachments in the inbound proxies.
I just saw this link in forum,
[Re: Inbound proxy with attachments.|Re: Inbound proxy with attachments.]
Regards,
Praveen Gujjeti.
Edited by: Praveen Gujjeti on Apr 8, 2010 5:25 PM
Similar Messages
-
I still use Aperture 2.1.4. I need to export an image file with a CMYK profile. Whereas a generic CMYK profile is listed in ColorSync Utility, it does not appear on the list of profiles in the edit portion of the export preset dialogue. Help? Is there some way to add the CMYK profile to the list of choices that are available in the export preset dialogue such that I can choose it?
leonieDF
Thanks for your response. My profiles are located within color sync utility as you can see here:
These profiles do not respond to clicking and dragging. Since they are all in one place, more or less, I'm reluctant to make further attempts to relocate them. Accessing the CMYK profile is the first difficult experience I've encountered with this arrangement. I have never needed the CMYK profile until recently, and that need has now past. However, it remains a mystery to me as to why it does not appear with all the others on the menu of export choices in Aperture 2, or on the menu of profile assignment choices in the Preview application (where again all the other profiles are listed as choices). I'm beginning to think my current set up will permit me to view an image that was created in CMYK space, but does not easily assign, or convert to that space. I don't face these restrictions with all the others, so it remains a curious circumstance for me. I anticipate upgrading my computer and software in the near future which might alleviate this issue altogether. Again, many thanks for your attention to this matter. The reach of this community is astounding. -
Image files with large pixel dimensions display out of focus in a Bridge viewer?
I Create image files with pixel dimensions 2048x1365. When I display these files from Bridge on my Mac, either by pressing the space bar or in a slideshow, the images are out of focus. If I left click or click/hold and move the images slightly on screen they display in sharp focus. Unfortunately, although landscape-orientation images display correctly with no change in position or size, portrait-orientation files are enlarged and display with top and bottom off the screen. The pixel dimensions of my monitor are 2450x1600 so, yes, if portrait images are displayed at 100% they should display off screen, but this does not excuse the out of focus display of landscape files on this large screen. Nor does this explain why the portrait files are out of focus when they fit on screen. When the same files open in a Camera Raw window they are in focus. When they open in Photoshop at 100% the files are in focus.
Hi, Clay. Photoshop.com has its own forum, so you might want to post this there:
http://forums.adobe.com/community/photoshopdotcom -
Bridge opening office files with xml converter
Adobe Bridge CS3 is opening all my excel files with xml converter and promting me to save as. How do I switch it to default to Microsoft Excel when opening these files?
These options are handled in the Bridge prefs under File Associations, but if I remember correctly this is somewhat limited in CS3 since it only handles Adobe files that install their associations. Any other file type is handled by whatever the opoerating system offers. Well, you can always look and give it a try...
Mylenium -
Is it possible to add a thumbnail to an image file with core graphics ?
Hi,
I'm writing a small image processing application.
For image reading and writing I'm using core graphics (CGImageSourceRef / CGImageDestinationRef).
Several image formats like jpeg or tiff provide the option to store a thumbnail in the file.
To get this thumbnail I'm using
CGImageSourceCreateThumbnailAtIndex( ... )
which works fine so far. If there is no thumbnail in the image it is created
with this function. Now, in the case there was no thumbnail in the image I would like to store
the created thumbnail in the image file when I write it to the disk. So far I failed to find a function in core graphics
to perform this task. In the CGImageDestinationRef documention it is only mentioned, that thumbnails
are written into the output file, but not how to add these.
I fear I'm overseeing something very trivial ...
Regards,
ingonormfb wrote:
I believe that a Smart Object will solve your problem.
place your original image in a new file as a smart object and do the same for the reflection (made by Transforming, reducing the opacity and introducing a mild horizontal motion blur) on its own layer, then:
by double clicking on the smart object in the layers panel and returning to the original image, any change you make in the original and save, will automatically update the upright image and its reflection.
Nice one Norm. Five Kudos points to you. -
How can I take raw image files with my iPhone?
I want raw image files from my iPhone so that I can process them with ACR.
The phone only works in one resolution. You cannot reduce it. The back camera has a higher resolution than the front camera. That is in the specifications. You can check the camera information in the User Guide here. http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
-
How to refresh images placed with XML?
Hi folks!
I placed some images and texts with XML to an InDesign (CS5) document. Unfortunately it's possible that the file is modified. In that case I want to start a script which updates the links. But that should happen later. First it's necessary to check if updating is possible.
For that I modified the file and refreshed my linked file. But all that is replaced are my texts. The images vanished and I had to place them again by hand.
What am I doing wrong? Could anybody help please?
With kind regards,
SteffiOk, maybe somebody knows the problem when I'm posting some images. I made a screenshot of my InDesign XML and after you can see my XML-File.
And here's my XML-File:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Lage>
<wohnlage>Gute Wohnlage im Grenzbereich zu sehr guter Wohnlage</wohnlage>
<Lagebeschreibung>Der Mornroe-Park liegt in einer guten Wohnlage. Die blauen Punktelinien zeigen die Grenzen der PLZ-Bereiche.Der Monroe Park liegt im Grenzbereich zwischen PLZ 14167 und 12205.</Lagebeschreibung>
<Legende href="H:\05_1Produkte\2010\005_Riskanalyser2010\Karten\Lagelegende.png"/>
<Lagekarte href="H:\05_1Produkte\2010\005_Riskanalyser2010\Karten\20012_Karte.jpg"/>
<Kartenuntertitel>diese Karte beinhaltet blablabla</Kartenuntertitel>
</Lage> -
Problems loading images dynamically with XML
Hi Everyone,
I am working with a project that was build by another
developer and I have been asked to modify it several ways. This is
an interactive map for a hotel brand where when you click on the
USA, you get a list of all the states, click a state and a list of
all the hotels in that state comes up, click a hotel, the hotel's
information is displayed. I understand the structure of the files,
how they make them work, though I couldn't build it myself.
The problem I am having is this. can't make the hotels'
photos load into the flash through the XML. I created a target
movie file that the image could load into but something is not
happening as far as loading the images. I don't know if the movie
clip that I created is the right way to go (it was made as an
object in the library that is exported via AS), or if I should
create one in the action script file that loads the XML data.
I looked at some tutorials about how to load images with XML
but those didn't get into the level of detail that I need for this
project.
I've attached some partial code to see if anyone can help me
work through this.
Any and all suggestions are welcome.
Thanks for the help in advance.
JeremiahI'm a noob at AS3 and trying to learn this XML stuff myself,
but i have been able to load pictures to the stage...this might
help you...my xml file photo section is similar to yours, only I
have it labeled as "href" instead of "source"...
var imageLoader:Loader;
var xml:XML;
var xmlList:XMLList;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(new URLRequest("xmldata/images.xml"));
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
function xmlLoaded(event:Event) :void {
xml = XML(event.target.data);
xmlList = xml.children();
for (var i:int = 0; i<xmlList.length(); i++) {
imageLoader = new Loader();
imageLoader.load(new URLRequest(xmlList
.attribute("href")));
imageLoader.x = 0;
imageLoader.y = 0;
addChild(imageLoader); -
Publishing swf file with xml feed
I am working in actionscript 3 trying to create a flash banner ad that will be put on multiple sites. The ad will grab a rss feed and display a number from that feed insie the banner ad. The Flash file works fine on my local computer when I test it. The feed is showing up just fine in the ad. When I publish the ad for the web and test it out on my server, the feed does not display in the ad. I have checked to make sure network access is selected in the publish settings. I also have a crossdomain.xml policy file on the server with the feed. My server is listed in the policy to allow access. I keep thinking I am overlooking something, but can't figure it out. Any help would be greatly appreciated.
Here is the code for the action script:
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest =
new URLRequest("http://www.rssfeed.com/rssfeed");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
rssLoader.load(rssURL);
var rssXML:XML = new XML();
rssXML.ignoreWhitespace = true;
function rssLoaded(e:Event):void{
var rssXML:XML=new XML(e.target.data);
trace (rssXML);
if (rssXML.channel.item[0].description >= 61)
{rssXML.channel.item[0].description="60+"}
testXML.text=rssXML.channel.item[0].description;
Here is the crossdomain.xml policy file:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="domain.net"/>
<allow-access-from domain="www.domain.net"/>
<allow-access-from domain="anotherdomain.com"/>
<allow-access-from domain="www.anotherdomain.com"/>
<allow-access-from domain="yetanotherdomain.com>"/>
<allow-access-from domain="www.yetanotherdomain.com>"/>
</cross-domain-policy>
Message was edited by: WRGrun262try:
Security.loadPolicyFile("http://www.rssfeed.com/crossdomain.xml");
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest =
new URLRequest(http://www.rssfeed.com/rssfeed);
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
rssLoader.load(rssURL);
var rssXML:XML = new XML();
rssXML.ignoreWhitespace = true;
function rssLoaded(e:Event):void{
var rssXML:XML=new XML(e.target.data);
trace (rssXML);
if (rssXML.channel.item[0].description >= 61)
{rssXML.channel.item[0].description=60+}
testXML.text=rssXML.channel.item[0].description;
this should be crossdomain.xml in the rssfeed.com root directory
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="domain.net"/>
<allow-access-from domain="www.domain.net"/>
<allow-access-from domain="anotherdomain.com"/>
<allow-access-from domain="www.anotherdomain.com"/>
<allow-access-from domain="yetanotherdomain.com>/>
<allow-access-from domain="www.yetanotherdomain.com>/>
</cross-domain-policy>
Message was edited by: WRGrun262 -
SSL/TLS security certificate data match with XML Payload in SAP PI
Hi,
We are working on a solution where we would want to use SSL/TLS or WS Security with client server mutual authentication using client server certificates.
But, once the sender is authenticated using the certificates, can the XML payload be matched for the correctness with the certificate information? Is this available to PI integration engine at any time? Like Sender A autheticated as A using certificates, must be stopped if his XML payload is saying that he is sender B (which is most unlikely if we trust the senders but did not want to leave a loophole).
Any ideas here?
Thanks and Regards,
VijayHi Wolfgang,
Cross-posting is discouraged and against the forum rules, because it is misused and makes a mess of the search due to distributed discussions and answers.
I will move it to the PI forum and add a watch on it as it is security forum related.
Unfortunately, the forum software does not have the option to "mirror" threads.
Cheers,
Julius
Edited by: Julius Bussche on Sep 14, 2009 9:50 PM -
Automation in saving a image file with a specific max file size
Hi everyone,
I hope someone can help me by this.
Background info:
We got several image files every 2 weeks which should be edited and mainly reduced in size for web purpose. This work needs 1 work day for one man/woman to do, because he/she has to open the file save for web and then set the quality to a value were the file is nearly about 150-200 KB in size.
The images are different, some have few colors, some have a lot of colors and there are also different in resolution. But they should not be reduced in resolution, only in quality. All other specs of the image should be kept
Is there any possible script, plug-in or similar which can do the same (Saving with a specific max. file size) in some automatic and faster way?
Any help is really appreciated!
Thanks in advance!
Kind regards
Packesel*push*
Hi everyone,
I still need help with this. Is there any tool (OS X) or script for Photoshop who can fulfill this (see title).
ANY help is really appreciated!
Thanks in advance.
Regards
Packesel -
Load JP2 image file with GeoRasterLoader
Hi to all,
We are trying to set up Oracle GeoRaster tools (stand-alone client-side java Executables found in %ORACLE_HOME%\md\...) in order to view and load JP2 image files to Oracle.
Our test environment has Oracle 11g r2 (11.2.0.3.0) EE with Spatial Option on Microsoft Windows XP Professional 2002 SP3.
Following the instructions for loading JP2 we download and install jai_imageio-1_1-lib-windows-i586.exe from: http://download.java.net/media/jai-imageio/builds/release/1.1/
1. Please find an example of the command we use to invoke GeoRasterLoader from command line:
java oracle.spatial.georaster.tools.GeoRasterLoader SE004 ORCL 1521 RD RD thin 32 T OKXE_ORTHOS GEORASTER "blocking=true blocksize=(256,256,3) spatialExtent=TRUE" "C:\Temp\0458041985\0458041985.jp2,1,OKXE_ORTHOS_RDT,C:\Temp\0458041985\0458041985.j2w,2100"
Got connection
Loading image: C:\Temp\0458041985\0458041985.jp2
java.lang.NullPointerException
at oracle.spatial.georaster.rasterio.JGeoRasterAdapter.setSRS(JGeoRasterAdapter.java:4509)
at oracle.spatial.georaster.rasterio.JGeoRasterAdapter.setMetadataStream(JGeoRasterAdapter.java:4520)
at oracle.spatial.georaster.rasterio.JGeoRasterAdapter.storeFromStream(JGeoRasterAdapter.java:4921)
at oracle.spatial.georaster.rasterio.GeoRasterAdapter.doImport(GeoRasterAdapter.java:632)
at oracle.spatial.georaster.rasterio.GeoRasterAdapter.loadFromFile(GeoRasterAdapter.java:1863)
at oracle.spatial.georaster.tools.GeoRasterLoader.load(GeoRasterLoader.java:458)
at oracle.spatial.georaster.tools.GeoRasterLoader.main(GeoRasterLoader.java:243)
java.lang.NullPointerException: null
The georaster object is not loaded correctly!!
Loader Finished.
2. When using the GeoRaster Viewer for retrieving jp2 file from file we get an error message “ Can’t load Image” The error messages that appear in the command prompt are as follows:
C:\Oracle\product\11.2.0\dbhome_1\md\demo\georaster\java>java -Xms128m -Xmx564m oracle.spatial.georaster.tools.GeoRasterTool
java.lang.RuntimeException: - Unable to render RenderedOp for this operation.
at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:827)
at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
at javax.media.jai.RenderedOp.getWidth(RenderedOp.java:2179)
at oracle.spatial.georaster.tools.GeoRasterTool.actionPerformed(GeoRasterTool.java:1471)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
PS. He have no problems in viewing and loading other type of image files like tif
TIA,
GeorgeHi Tomek,
3 to 4 MB with the following image header. Anyway, we also tried jp2 image files from other sources
Thanks,
BR / George
Output from Display Header
File Name: I:\Okxe\Orthos_June\0438042165\0438042165.jp2
File Information:
Standard : : Jpeg 2000 File
Format : Lossless JPEG 2000 compression
Pixels per Line : 1600
Number of Lines : 1200
Samples per pixel : 3
File bits per sample : 8
Actual bits per sample : 8
Untiled file
Number of overviews : 5
Overview sampling method: Gaussian
Scanning device resolution : 84 : microns
Orientation : 4 : Row major order, origin at top left
NO scan line headers : non-scannable file
Packet size (16-bit words) : 0
Free vlt space (16-bit words) : 0
Free packet space (16-bit words) : 0
Raster to UOR matrix:
Identity Matrix (ones on the diagonal, zero otherwise)
Raster to World Matrix:
Units: Unknown or Unspecified
amx[ 0]= 0,25, amx[ 1]= 0, amx[ 2]= 438000
amx[ 3]= 0, amx[ 4]= -0,25, amx[ 5]= 4216800
438000 , 4216800
438400 , 4216800
438400 , 4216500
438000 , 4216500
Geotiff_Information:
Version: 1
Key_Revision: 1.0
Tagged_Information:
ModelTiepointTag (2,3):
0 0 0
438000 4216800 0
ModelPixelScaleTag (1,3):
0.25 0.25 0
End_Of_Tags.
Keyed_Information:
GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
End_Of_Keys.
End_Of_Geotiff.
Corner Coordinates:
Upper Left ( 438000.000, 4216800.000)
Lower Left ( 438000.000, 4216799.750)
Upper Right ( 438000.250, 4216800.000)
Lower Right ( 438000.250, 4216799.750)
Center ( 438000.125, 4216799.875) -
Ntsc video signal to image file with PXI-5114?
Is it possible to use a PXI-5114 digitizer to capture a NTSC video signal and reconstuct a single frame to be saved as an image file?
Hi Jason,
I think the example Kyle posted is for the NI 5112 digitizer, which has to use an IMAQ board to video trigger since it does not support video triggering. However, the 5114 is one of the boards that does support video triggering, including the NTSC format. More information can be found in the digitizers help manual (online here). If you are using LabVIEW, we have a basic video triggering example that you can take a look at and try out (the example is called "niScope EX Video Triggering.vi" and can be found from the LabVIEW Example Finder or by going to Start » Programs » National Instruments » NI-SCOPE » Examples from your Windows start menu). If you need to acquire the entire frame, that will probably require you to sample a very large amount of data, in which case you may or may not be able to stream it to disk. In the best case, you can acquire the entire frame in a single record without having to do any streaming to disk. Otherwise, you may need a digitizer that can stream high throughput to a hard drive RAID or something of the sort if you plan on acquiring a large amount of data. Worst case is that it is just too much data, too fast, and it cannot be streamed. Perhaps with more details of the signal and your expected sample rate, we may be able to provide some additional guidance on the possibilities of acquiring the entire frame. Hope this helps!
Daniel S.
National Instruments -
Using ditaval files with XML Author
I've been evaluating XML Author and am trying to determine how to use ditaval files with it. If I want to save a ditamap as a book for PDF creation, the Prompt for DitaVal File check box is greyed out. Does anyone know why this might be the case? Is the use of ditavals limited to a full implementation of FrameMaker?
I tried adding PromptForDitaval=1 to the [General] section of the ditafm.ini file to no avail.Make sure you are using the latest hotfix for Director (11.5.8) - it is the first to support AS# in Flash. Your SWF members will probably need to be linked to their external files instead of fully imported.
Or perhaps you're saying that you've met both these conditions and are still seeing problems? -
Is it possible to submit an image file with PDF form?
Hello,
I know that Acrobat does not offer a field for image file submission.
whether there are workarounds to solve this problem?
I have found suggestions regarding place an image to button icon:
event.target.buttonImportIcon();
but I can't understand is it possible to submit this image to server (Reader supports PDF only).
Any advices?
YuryHi Yury,
Yes, that's correct you can create a button and add a script to it that would prompt the user to select an image file when that button is clicked. Then that image can be displayed using the same button (buttons can show either an image or text).
The script in question is:
event.target.buttonImportIcon();
You need to add it as an Run a JavaScript-action to your button, triggered by the MouseUp event, and of course set the button's layout.
Please refer to this link : https://acrobatusers.com/tutorials/how-to-create-a-button-form-field-to-insert-a-pdf-file
On submitting the image it gets embedded with the PDF.
If the users are using Acrobat they will be able to view the image in the PDF, however if they are using only Reader, you will have to create the form using LiveCycle & then save it in a Reader Extendable Format.
Regards,
Aadesh
Maybe you are looking for
-
I have a new 4g Iphone - Telstra (Australia) disabled my old 3g and enabled the 4g so the 3g is just enabled to show contacts and photos etc. I want to download my photos and contacts from the 3g. trouble is that my internet is dial up only at home
-
Workflow for post processing offline images
I'm a professional real estate photographer who normally edits his own images after a photoshoot. I've recently become so busy that I'd like to outsource the post processing of my images to another individual who also uses Photoshop. Is there a way t
-
How do I create a shortcut to automatically load a specific page?
is it possible?
-
How to configure the maintenance item screen layout
Hello experts, I need to configure Maintenance Item Screen layout . How do I do that? I checked in SPRO and could not find a place. Need to make some some fields as required. Thanks, Raneetha.
-
NEW to lightroom.NEED HELP
I import photos from camera to catalog and format the card.now i want to copy all RAW files to CD or another SD.Where to find those photos inside my computer ?