Hi All,
I am trying to make webservice call from the oracle database using JPublisher, however when I run the jpub command to generate wrapper classes and sqls, I am encountering the following error.
WARNING: javax.activation.DataHandler not supported. Supported types are primitive types, beans, arrays, and ORAData.
WARNING: Parameter type not supported: javax.xml.soap.AttachmentPart .
\\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\src\genproxy\DocumentCompositionServiceClientJPub.java
\\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_wrapper.sql
\\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_dropper.sql
\\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_grant.sql
\\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_revoke.sql
\\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\src\genproxy\DocumentCompositionServiceClientJPub.java:168: javax.xml.soap.AttachmentPart is abstract; cannot be instantiated
javax.xml.soap.AttachmentPart javaArg = new javax.xml.soap.AttachmentPart();
^
1 error
Executing \\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_dropper.sql
Executing \\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_wrapper.sql
Error executing \\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_wrapper.sql. Please run that script in VBANK.
Loading \\inmaafilfs01\Veerman$\mani\CMS\CMS_Upgrade\2014\compuset\DB-WS-Call\JAVA-Files2\plsql_proxy.jar
Abstract of the WSDL File(Not Full) :
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://g1.com/service/doc1gen" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://g1.com/service/doc1gen" xmlns:intf="http://g1.com/service/doc1gen" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://g1.com/service/doc1gen/types" xmlns:tns2="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <schema targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd" xmlns="http://www.w3.org/2001/XMLSchema">
- <complexType name="swaRef">
- <simpleContent>
<extension base="xsd:anyURI" />
</simpleContent>
</complexType>
</schema>
- <schema targetNamespace="http://g1.com/service/doc1gen/types" xmlns="http://www.w3.org/2001/XMLSchema">
+ <simpleType name="AttachmentContentType">
- <restriction base="xsd:string">
<enumeration value="dij" />
<enumeration value="journal" />
<enumeration value="document" />
</restriction>
</simpleType>
- <complexType name="AttachmentType">
The problem I see is that, there is a complex type of "SWAREF" which is a SOAP attachment type when it is given is throwing this error, is there any way to mitigate it?
Thanks & Regards
Manikandan V