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

Processing
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,634 views