Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

AutoVue server does not support file conversion

User_GU14XJan 8 2013 — edited Jan 10 2013
We've developed the ISDK for viewing the files and it's working fine. As the next step, it's required to use AutoVue Web Services to convert the files to pdf and jpeg formats.

I've deployed the AutoVueWS.war and VueServlet.war files in our application server and ping method works fine. But the 'Convert' method in web services gives below error.

javax.xml.ws.soap.SOAPFaultException: convert failed:File conversion not supported. ConvertOption[|Format:PDF|ScaleType:TYPE_SIZE|ScaleFactor:0|Width:800.0|Height:600.0|PageType:RANGE|FromPage:1|ToPage:1|ColorDepth:-1|FileName:c:/output/readme.txt-1357634753084.1.PDF|StepsPerInch:0.0|CameraView:NONE]
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
at $Proxy32.convert(Unknown Source)
at autovuewsclient2.AutoVueWSClient2.main(AutoVueWSClient2.java:50)

The client code is as below.

VueBeanWS_Service service = new VueBeanWS_Service();

//create proxy
VueBeanWS proxy = service.getVueBeanWSPort();

//call autovue ping Web method
System.out.print (proxy.ping("Hello from Java") );


//Call the convert Web method.
try{
ConvertOption option = new ConvertOption();

option.setFormat(Format.PDF);
option.setPage(1);
option.setScaleType(ScaleType.TYPE_SIZE);
option.setHeight(600);
option.setWidth(800);

String URI = "http://wordpress.org/extend/plugins/about/readme.txt";

byte[] file = proxy.convert(URI, option, null, false);
FileOutputStream fos = new FileOutputStream("c:/temp/output1.pdf");
fos.write(file);
fos.close();
}
catch(Exception e){
e.printStackTrace();
}

File in the above URI is downloaded to the AutoVue Server properly. But the conversion is failed.

Please help me to solve this error.

Comments

Hi,

To convert files to PDF format, AutoVue uses a built-in proprietary PDF print driver called the AutoVue Document Converter. The above error may occur if this print driver is not properly installed. To install the AutoVue Document Converter print driver, execute the InstallPdfPrintDriver.exe program from your AutoVue installation directory. Before proceeding with the install make sure the "Print Spooler" service is started.

Here are the necessary steps in order to enable the "Print Spooler":

1. Go to Start > Settings > Control Panel > Administrative Tools.
2. Select Services.
3. Select the "Print Spooler" service and make sure to start it.
4. Try to install the AutoVue Document Converter print driver.

Thanks,
Daniel
User_GU14X
Hi Daniel,

Thanks you very much for the guidance.

I've installed the driver by running InstallPdfPrintDriver.exe. But still the same error come. Please help.

Thanks and Regards,
Amaranatha

Edited by: 975064 on Jan 9, 2013 3:49 AM
Hi Amaranatha,

I think it might be easier to work on this issue from a service request, can you please create a new service request explaining this issue and once it is created we should do a web session so I can see the issue in your environment.

Thanks,
Daniel
User_GU14X
Hi Daniel,

Already I've created a SR with id 3-6643417431.

Regards,
Amaranatha
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 7 2013
Added on Jan 8 2013
4 comments
2,659 views