Create EJB from WSDL in glassfish

Hello,
I've problem with Glassfish - wstools. I want to generate EJB3 frame from wsdl file, but I can't use AXIS. I know how to generate client stubs (use wsimport), but is possible to generate EJB files from wsdl like this? Could You show me any tutorial?
Koziołek

Hi,
I was also searching for such a functionality. It seems that there is really no solution provided by JCAPS. Does anybody know if future versions will support this in my opinion basic functionality for a SOA Suite?
A work around would be to use other IDEs to create a Java Web Service and than use this web service inside JCAPS.
This also solves the problem, that a JCD can only implement one operation.
For example the Sun Enterprise Studio can import a WSDL and creates the corresponding java classes.
Best Regards
Fabian Meier

Similar Messages

  • Thread: 11gPS2 : Error creating model from wsdl while creating a WebService

    Hi ,
    I am trying to create a Web Service Proxy using Jdev.I am using a WSDL file located in my local system for the same. I choose all default options but the proxy is not created due to the following error -
    "Error creating model from wsdl <wsdl_name> : A class/interface with the same name xyz already in use"
    https://picasaweb.google.com/sudipto.desmukh/ADFIssues?authkey=Gv1sRgCJeF2bWcoM_ZBg#5610073699826050514
    I found a few threads which had similar issues but the solutions didnot work for me -
    1)Error creating model from wsdl (Create separate model projects for proxies , since in the existing model project I already had generated files using create WebServiceData control wizard)
    2)Error when creating Web Service Proxy (there are no duplicate variables or schemas in my wsdl)
    Can someone please suggest what might be wrong ?
    Thanks

    Thanks for your reply Vishal.Pasting the wsdl -
    <definitions xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" targetNamespace="urn:schemas-iwaysoftware-com:iwse" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:schemas-iwaysoftware-com:iwse" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"><types><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:schemas-iwaysoftware-com:iwse" elementFormDefault="qualified"><xs:element name="ibsinfo"><xs:complexType><xs:sequence><xs:element name="service" type="xs:string"/><xs:element name="method" type="xs:string"/><xs:element name="license" type="xs:string"/><xs:element name="disposition" type="xs:string" minOccurs="0"/><xs:element name="Username" type="xs:string" minOccurs="0"/><xs:element name="Password" type="xs:string" minOccurs="0"/><xs:element name="language" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="adapterexception"><xs:complexType><xs:sequence><xs:element name="error" type="xs:string"/></xs:sequence></xs:complexType></xs:element>
    </xs:schema><xs:schema xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:all><xs:element name="BELEGTYP" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="COMWA" type="rfc:VBCO6" minOccurs="0"/><xs:element name="I_BSTKD" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="35"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="I_VBELN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="N_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="V_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element></xs:sequence></xs:complexType>
    </xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBCO6"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ETENR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="4"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType>
    </xs:schema><xs:schema xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOWResponse"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW.Response"><xs:complexType><xs:all><xs:element name="BELEGTYP_BACK" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element>
    </xs:sequence><xs:attribute name="cid" use="required" type="xs:string"/></xs:complexType>
    </xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType></xs:schema>
    </types><message name="ZBAPI_SALES_DOC_FLOWIn"><part element="m1:ZBAPI_SALES_DOC_FLOW" name="parameters"/>
    </message><message name="ZBAPI_SALES_DOC_FLOWOut"><part element="m11:ZBAPI_SALES_DOC_FLOWResponse" name="parameters"/>
    </message><message name="ZBAPI_SALES_DOC_FLOWHeader"><part element="tns:ibsinfo" name="header"/>
    </message><message name="AdapterException"><part element="tns:adapterexception" name="fault"/>
    </message><portType name="ZBAPI_SALES_DOC_FLOWSoap"><operation name="ZBAPI_SALES_DOC_FLOW"><documentation/><input message="tns:ZBAPI_SALES_DOC_FLOWIn"/><output message="tns:ZBAPI_SALES_DOC_FLOWOut"/><fault message="tns:AdapterException" name="AdapterExceptionFault"/></operation>
    </portType><binding name="ZBAPI_SALES_DOC_FLOWSoap" type="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="ZBAPI_SALES_DOC_FLOW"><soap:operation style="document" soapAction="ZBAPI_SALES_DOC_FLOW.ZBAPI_SALES_DOC_FLOWRequest@production@@"/><input><soap:body use="literal"/><soap:header message="tns:ZBAPI_SALES_DOC_FLOWHeader" use="literal" part="header"/>
    </input><output><soap:body use="literal"/>
    </output><fault name="AdapterExceptionFault"><soap:fault name="AdapterExceptionFault" use="literal"/></fault></operation>
    </binding><service name="ZBAPI_SALES_DOC_FLOW"><documentation/><port name="ZBAPI_SALES_DOC_FLOWSoap1" binding="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:address location="http://f4ofmsoaa01d.dev.life:8001/ibse/IBSEServlet/XDSOAPRouter"/></port></service></definitions>

  • Creating XMLBean from WSDL

    Hey All
    I have a 3rd party Webservice and I would like to create a control that
    calls this webservice and returns XMLBeans. I can import a WSDL
    automatically in workshop but the autogenerated control provides me with
    a a Java class?
    **********************AUTOGENERATED CONTROL BELOW**********************
    package temp;
    * Webservice for window based updated between maconomy and BEA
    * @jc:location
    http-url="http://10.227.136.101/cgi-bin/Maconomy/MaconomyWS.dif/soap.ms"
    * @jc:wsdl file="#BEAMaconomyWsdl"
    public interface testIS extends com.bea.control.ControlExtension,
    com.bea.control.ServiceControl
    public static class getTableDefinitionResponseType0
    implements java.io.Serializable
    public java.lang.String feltnavn;
    public java.lang.String feltvaerdi;
    public java.lang.String felttype;
    public java.lang.String mfelttype;
    public static class getTableDefinitionResponseType
    implements java.io.Serializable
    public java.lang.String status;
    public java.lang.String fejltxt;
    public long queryTimeMs;
    public getTableDefinitionResponseType0[] recordInfo;
    public static class updateRecordrecordType0
    implements java.io.Serializable
    public java.lang.String feltnavn;
    public java.lang.String feltvaerdi;
    public java.lang.String felttype;
    public java.lang.String mfelttype;
    public static class updateRecordResponseType
    implements java.io.Serializable
    public java.lang.String status;
    public java.lang.String fejltxt;
    public java.lang.String queryTimeMs;
    public static class insertRecordrecordType0
    implements java.io.Serializable
    public java.lang.String feltnavn;
    public java.lang.String feltvaerdi;
    public java.lang.String felttype;
    public java.lang.String mfelttype;
    public static class insertRecordResponseType
    implements java.io.Serializable
    public java.lang.String status;
    public java.lang.String fejltxt;
    public java.lang.String queryTimeMs;
    * returns table info
    * @jc:protocol form-post="false"
    public getTableDefinitionResponseType getTableDefinition
    (java.lang.String brugernavn, java.lang.String kodeord, java.lang.String
    forbundsnummer, java.lang.String kortnavn, boolean upper);
    * updates a record, upper=true denotes an upperpane
    * @jc:protocol form-post="false"
    public updateRecordResponseType updateRecord (java.lang.String
    brugernavn, java.lang.String kodeord, java.lang.String forbundsnummer,
    java.lang.String kortnavn, java.lang.String upper,
    updateRecordrecordType0[] record);
    * inserts a record, upper=true denotes a upper pane
    * @jc:protocol form-post="false"
    public insertRecordResponseType insertRecord (java.lang.String
    brugernavn, java.lang.String kodeord, java.lang.String forbundsnummer,
    java.lang.String kortnavn, java.lang.String upper,
    insertRecordrecordType0[] record);
    static final long serialVersionUID = 1L;
    /** @common:define name="BEAMaconomyWsdl" value::
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <definitions xmlns:tns="dif.dk"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    targetNamespace="dif.dk"
    name="BEAMaconomy">
    <types>
    <schema targetNamespace="dif.dk"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <simpleType name="amount">
    <restriction base="xsd:double">
    </restriction>
    </simpleType>
    <element name="sessionid" type="xsd:string"/>
    <element name="Security">
    <complexType>
    <sequence>
    <element name="UsernameToken">
    <complexType>
    <sequence>
    <element name="Username" type="xsd:string"
    minOccurs="1" maxOccurs="1"/>
    </sequence>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    <element name="getTableDefinition">
    <complexType>
    <sequence>
    <element name="brugernavn" type="xsd:string"/>
    <element name="kodeord" type="xsd:string"/>
    <element name="forbundsnummer" type="xsd:string"/>
    <element name="kortnavn" type="xsd:string"/>
    <element name="upper" type="xsd:boolean"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="getTableDefinitionResponseType0">
    <sequence>
    <element minOccurs="1" maxOccurs="1" name="feltnavn"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="feltvaerdi"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="felttype"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="mfelttype"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="getTableDefinitionResponseType1">
    <sequence>
    <element minOccurs="0" maxOccurs="unbounded" name="element"
    type="tns:getTableDefinitionResponseType0"/>
    </sequence>
    </complexType>
    <complexType name="getTableDefinitionResponseType">
    <sequence>
    <element minOccurs="1" maxOccurs="1" name="status" type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="fejltxt" type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="queryTimeMs"
    type="xsd:long"/>
    <element minOccurs="1" maxOccurs="1" name="recordInfo"
    type="tns:getTableDefinitionResponseType1"/>
    </sequence>
    </complexType>
    <element name="getTableDefinitionResponse"
    type="tns:getTableDefinitionResponseType"/>
    <complexType name="updateRecordrecordType0">
    <sequence>
    <element minOccurs="1" maxOccurs="1" name="feltnavn"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="feltvaerdi"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="felttype"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="mfelttype"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="updateRecordrecordType">
    <sequence>
    <element minOccurs="0" maxOccurs="unbounded" name="element"
    type="tns:updateRecordrecordType0"/>
    </sequence>
    </complexType>
    <element name="updateRecord">
    <complexType>
    <sequence>
    <element name="brugernavn" type="xsd:string"/>
    <element name="kodeord" type="xsd:string"/>
    <element name="forbundsnummer" type="xsd:string"/>
    <element name="kortnavn" type="xsd:string"/>
    <element name="upper" type="xsd:string"/>
    <element name="record" type="tns:updateRecordrecordType"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="updateRecordResponseType">
    <sequence>
    <element minOccurs="1" maxOccurs="1" name="status" type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="fejltxt" type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="queryTimeMs"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <element name="updateRecordResponse"
    type="tns:updateRecordResponseType"/>
    <complexType name="insertRecordrecordType0">
    <sequence>
    <element minOccurs="1" maxOccurs="1" name="feltnavn"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="feltvaerdi"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="felttype"
    type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="mfelttype"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <complexType name="insertRecordrecordType">
    <sequence>
    <element minOccurs="0" maxOccurs="unbounded" name="element"
    type="tns:insertRecordrecordType0"/>
    </sequence>
    </complexType>
    <element name="insertRecord">
    <complexType>
    <sequence>
    <element name="brugernavn" type="xsd:string"/>
    <element name="kodeord" type="xsd:string"/>
    <element name="forbundsnummer" type="xsd:string"/>
    <element name="kortnavn" type="xsd:string"/>
    <element name="upper" type="xsd:string"/>
    <element name="record" type="tns:insertRecordrecordType"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="insertRecordResponseType">
    <sequence>
    <element minOccurs="1" maxOccurs="1" name="status" type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="fejltxt" type="xsd:string"/>
    <element minOccurs="1" maxOccurs="1" name="queryTimeMs"
    type="xsd:string"/>
    </sequence>
    </complexType>
    <element name="insertRecordResponse"
    type="tns:insertRecordResponseType"/>
    </schema>
    </types>
    <message name="sessionid">
    <part name="id" element="tns:sessionid"/>
    </message>
    <message name="Security">
    <part name="Security" element="tns:Security"/>
    </message>
    <message name="getTableDefinitionRequest">
    <part name="parameters" element="tns:getTableDefinition"/>
    </message>
    <message name="getTableDefinitionResponse">
    <part name="getTableDefinitionResponse"
    element="tns:getTableDefinitionResponse"/>
    </message>
    <message name="updateRecordRequest">
    <part name="parameters" element="tns:updateRecord"/>
    </message>
    <message name="updateRecordResponse">
    <part name="updateRecordResponse"
    element="tns:updateRecordResponse"/>
    </message>
    <message name="insertRecordRequest">
    <part name="parameters" element="tns:insertRecord"/>
    </message>
    <message name="insertRecordResponse">
    <part name="insertRecordResponse"
    element="tns:insertRecordResponse"/>
    </message>
    <portType name="BEAMaconomyPortType">
    <operation name="getTableDefinition">
    <documentation>returns table info</documentation>
    <input message="tns:getTableDefinitionRequest"/>
    <output message="tns:getTableDefinitionResponse"/>
    </operation>
    <operation name="updateRecord">
    <documentation>updates a record, upper=true denotes an
    upperpane</documentation>
    <input message="tns:updateRecordRequest"/>
    <output message="tns:updateRecordResponse"/>
    </operation>
    <operation name="insertRecord">
    <documentation>inserts a record, upper=true denotes a upper
    pane</documentation>
    <input message="tns:insertRecordRequest"/>
    <output message="tns:insertRecordResponse"/>
    </operation>
    </portType>
    <binding name="BEAMaconomySOAPBinding"
    type="tns:BEAMaconomyPortType">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getTableDefinition">
    <soap:operation soapAction="BEAMaconomy"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="updateRecord">
    <soap:operation soapAction="BEAMaconomy"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="insertRecord">
    <soap:operation soapAction="BEAMaconomy"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <binding name="BEAMaconomyGETBinding" type="tns:BEAMaconomyPortType">
    <http:binding verb="GET"/>
    <operation name="getTableDefinition">
    <http:operation
    location="service=BEAMaconomy&op=getTableDefinition"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:content type="text/html"/>
    </output>
    </operation>
    <operation name="updateRecord">
    <http:operation
    location="service=BEAMaconomy&op=updateRecord"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:content type="text/html"/>
    </output>
    </operation>
    <operation name="insertRecord">
    <http:operation
    location="service=BEAMaconomy&op=insertRecord"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:content type="text/html"/>
    </output>
    </operation>
    </binding>
    <service name="BEAMaconomy">
    <documentation>Webservice for window based updated between
    maconomy and BEA</documentation>
    <port name="BEAMaconomySOAPPort"
    binding="tns:BEAMaconomySOAPBinding">
    <soap:address
    location="http://10.227.136.101/cgi-bin/Maconomy/MaconomyWS.dif/soap.ms"/>
    </port>
    <port name="BEAMaconomyGETPort"
    binding="tns:BEAMaconomyGETBinding">
    <http:address
    location="http://10.227.136.101/cgi-bin/Maconomy/MaconomyWS.dif/get.ms?"/>
    </port>
    </service>
    </definitions>
    */

    Hi,
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "http://x.x.x.x:port/webservices/SOAProvider/plsql/fnd_usr_pkg/?wsdl" Server returned HTTP response code : 503 for URL:
    it means service is not available. Check the JDeveloper browser proxy configuration Tool --> Preferences --> Browser and Proxy
    Frank

  • Can't create EJB from existing .java AND ejb-jar.xml entries

    I've noticed that I can create the source files for an EJB outside of JDeveloper, then I can do the "Create Entity Bean" thing, and specify the path to the source files, and it will use those source files, instead of forcing me to create them again.
    However, I've noticed that if I manually add the information to the "ejb-jar.xml" file, and then try to add the bean, it won't let me. I've found I have to delete the entry from the ejb-jar.xml file and let JDeveloper control the creation of the fields, even if I know exactly what needs to be set.

    If you are adding/modifying ejb-jar.xml outside JDeveloper and trying to see the changes.
    Save the ejb-jar.xml file which is being modified externally
    Select ejb-jar.xml in JDeveloper
    and do View | Refresh
    This will load in the changes (providing the source path has been set properly)
    raghu
    JDev Team

  • NullPointerException received on creating webservice from wsdl with jdevel

    Hello experts,
    I have the following problem when trying to create a web service from a wsdl file:
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1054)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    I'm using Jdeveloper 11.1.2.2.0.
    Any ideas?
    Thanks in advance and best regards!
    Edited by: Carolik on 23.10.2012 01:28

    are you trying access web service(old) which is free of cost.
    nowdays, most of the webservices(free of cost) they are re-locating the service to somewhere else
    anyhow, some of the service had been stopped.
    so please post which web service are you trying access(if it belongs to public).
    if it is private web service dont post here

  • [SOLVED]JDeveloper 10g and ADF: How to create proxy from WSDL behind SSL?

    Hi all,
    I have successfully created web service proxies using the "Create Web Service Proxy" wizard. However, when I attempt to generate proxy from a wsdl file behind a ssl connection, JDeveloper throws a "SSLHandshakeException". I have a working java keystore file which was verified by using the soapUI tool. Within the soapUI tool, there is a "SSL Settings" preference tab which allows me to point to a *.jks file/password. I tried looking for a similar setting in JDeveloper preference with no luck. Is anyone familiar with this type of request?
    Many thanks,
    Wes
    Edited by: Wes Fang on Sep 21, 2010 10:25 AM

    add certificate to java keystore with something similar to the following:
    C:\jdev10134\jdk\jre\lib\security>keytool -import -trustcacerts -file MYCERTIFICATE.cer -alias MYCERTIFICATEALIAS -keystore cacerts
    Enter keystore password: *******
    Certificate already exists in system-wide CA keystore under alias <MYCERTIFICATEALIAS>
    Do you still want to add it to your own keystore? [no]: yes
    Certificate was added to keystore
    The reason it said certificate already exist is because I also added it to the JAVA_HOME\ path.
    I restarted jdeveloper and used the proxy generation wizard again, everything worked fine.

  • Problem Creating Control from WSDL

    I'm trying to create a Service Control from a WSDL file. I've done this
    many times before. However, with this particular file, the control that
    is created is bad. The Output window has only the message
    Line 0, Col 0: Operation "myOperation" cannot be called.
    Is there a place where the Weblogic Workshop error messages are
    enumerated and what causes them?
    - David L. Brown

    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    xmlns:tns="http://localhost/MPG"
    xmlns:types="http://localhost/MPG/TYPES"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    targetNamespace="http://localhost/MPG">
    <types>
    <xsd:schema
    targetNamespace="http://localhost/MPG/TYPES"
    xmlns:stns="http://localhost/MPG"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:simpleType name="modelType">
    <xsd:restriction base="xsd:string">
    <xsd:length value="25"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>
    </types>
    <message name="Modelparameter">
    <part name="ModelIN" type="types:modelType" xmlns:partns="http://localhost/MPG">
    </part>
    </message>
    <message name="ModelAndYearParameter">
    <part name="ModelIN" type="types:modelType" xmlns:partns="http://localhost/MPG">
    </part>
    <part name="YearIN" type="xsd:long" xmlns:partns="http://localhost/MPG">
    </part>
    </message>
    <message name="MPGresult">
    <part name="MPGout" type="xsd:string" xmlns:partns="http://localhost/MPG">
    </part>
    </message>
    <portType name="MPGport">
    <operation name="getMPGbyAutomobileModel">
    <input message="tns:Modelparameter">
    </input>
    <output message="tns:MPGresult">
    </output>
    </operation>
    <operation name="getMPGbyAutomobileModelAndYear">
    <input message="tns:ModelAndYearParameter">
    </input>
    <output message="tns:MPGresult">
    </output>
    </operation>
    </portType>
    <binding name="MPGbinding" type="tns:MPGport">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http">
    </soap:binding>
    <operation name="getMPGbyAutomobileModel">
    <soap:operation style="document" soapAction="">
    </soap:operation>
    <input>
    <soap:body use="literal" namespace="http://localhost/MPG">
    </soap:body>
    </input>
    <output>
    <soap:body use="literal" namespace="http://localhost/MPG">
    </soap:body>
    </output>
    </operation>
    <operation name="getMPGbyAutomobileModelAndYear">
    <soap:operation style="document" soapAction="">
    </soap:operation>
    <input>
    <soap:body use="literal" namespace="http://localhost/MPG">
    </soap:body>
    </input>
    <output>
    <soap:body use="literal" namespace="http://localhost/MPG">
    </soap:body>
    </output>
    </operation>
    </binding>
    <service name="MPGservice">
    <port name="MPGport" binding="tns:MPGbinding">
    <soap:address location="http://localhost:7001/MPG">
    </soap:address>
    </port>
    </service>
    </definitions>

  • Problem: Connecting to EJB from CORBA with Glassfish as AppServer

    Hi all,
    I was looking and tryieng for days now, but never found a proper solution or how to, to solve my problem:
    I have to expose a Remote EJB as Corba Object and provide a set of IDL Files, which can be used by any CORBA Client (i.e. IIOP.NET).
    First i tried it the EJB3 way, but everywhere is mentioned that IIOP cann only be used by EJB2.x way. So this ist what i have done so far:
    The Home Inteface, as described at many tutorials
    package org.ba.services.iiop;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface KursmanagerRemoteServiceHome extends EJBHome {
        public KursmanagerRemoteService create() throws CreateException, RemoteException;
    }The Service Interface:
    package org.ba.services.iiop;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    import javax.ejb.EJBObject;
    import org.ba.entities.Kurs;
    import org.ba.entities.Person;
    * @author Pocket
    public interface KursmanagerRemoteService extends EJBObject{
        public void prepareApplication(long callID) throws RemoteException;
        public boolean resetDataFile() throws RemoteException;
        byte[] getOneMegabyte(long callID) throws RemoteException;
    }there are some more methods, but thats not the point
    And this is the implementing bean:
    package org.ba.services.iiop;
    import java.rmi.RemoteException;
    @Stateless
    @RemoteHome(KursmanagerRemoteServiceHome.class)
    public class KursmanagerRemoteServiceBean extends AbstractService implements KursmanagerRemoteService, SessionBean {
        @EJB
        Kursmanager km;
        @Init
        public void create() {
        public void prepareApplication(long callID) {
        public boolean resetDataFile() {
             return emptyDataFile();
    public EJBHome getEJBHome() throws RemoteException {
            return null;
        public Object getPrimaryKey() throws RemoteException {
            return null;
        public void remove() throws RemoteException, RemoveException {
        public Handle getHandle() throws RemoteException {
            return null;
        public boolean isIdentical(EJBObject arg0) throws RemoteException {
        return false;
        public void setSessionContext(SessionContext arg0) throws EJBException, RemoteException {
        public void ejbRemove() throws EJBException, RemoteException {
        public void ejbActivate() throws EJBException, RemoteException {
        public void ejbPassivate() throws EJBException, RemoteException {
        }Deployed on Glassfish V2ur1
    IDE: Netbeans 6.0.1
    Does anyone know if this is correct? How do i create the IDLs correctly? Which of the SessionBeanIF Methods have to be implemented (or at all)?
    is there no easy way to expose objects for CORBA Clients?
    I would appreciate any help..
    thanx
    Andreas

    John,
    JDeveloper 3.1 is not certified against OAS 4.0.8.2 - and JDeveloper 3.2 will not be certified against any version of OAS, since Oracle is moving to iAS.
    If your project is in its early stages, I suggest that you consider switching to iAS - and you can work against Apache until iAS is available, which will be with JDeveloper 3.2, in the last quarter of this calendar year (2000).
    Thanks
    Blaise

  • Create jcd from wsdl

    Is it possible, given a provided wsdl, to create a web service java collaboration? The docs seem to show a web service being created from a wsdl in eInsight, but can it be done without eInsight?

    Hi,
    I was also searching for such a functionality. It seems that there is really no solution provided by JCAPS. Does anybody know if future versions will support this in my opinion basic functionality for a SOA Suite?
    A work around would be to use other IDEs to create a Java Web Service and than use this web service inside JCAPS.
    This also solves the problem, that a JCD can only implement one operation.
    For example the Sun Enterprise Studio can import a WSDL and creates the corresponding java classes.
    Best Regards
    Fabian Meier

  • Generate document classes when creating WebService from WSDL using JAXRPC

    Can anybody tell me how i can generate request response document classes.Response is return type and request is its parameter of method (service provided by webservice).
    I had used cmd:
    wscompile -keep -gen:both -d src config.xml
    My config.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl
    location="wsdl\TroubleTicket\v1-2\JVTTroubleTicketSession.wsdl"
    packageName="src">
    <handlerChains>
    </handlerChains>
    <namespaceMappingRegistry>
    </namespaceMappingRegistry>
    </wsdl>
    </configuration>
    After running the wscompile command, i was able to generate SOAPBuilder classes, LiteralSerialiser files, Request-Response-Exception classes and the Tie, stub, Port and Impl classes.
    How can i procedd furthur???

    Arushi,
    I would refer to the online tutorial for JWSDP, which walks you through creating a web service and a Client to the service.

  • Create BAPI from WSDL

    Hi Guru's,
    Is anyone aware of any techniques that can take a WSDL document and convert it/bring it into SAP to form the basis for building a BAPI or function module? 
    I know that once you have a BAPI you can create a webservice, but I was wondering if the reverse was possible.  We are looking to use a couple of WSDLs to help us speed up some of the development tasks we are assigned.

    hi bob,
    see this url http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2759462&SiteID=1
    http://www.ibm.com/developerworks/websphere/techjournal/0306_minocha/minocha.html
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2701942&SiteID=1
    http://209.85.175.104/search?q=cache:PHil-5GGI88J:www.oracle.com/technology/products/integration/adapters/pdf/adapter-Tutorial3-InvokingSAPBAPI.pdfcreateawsdlfromabapi&hl=en&ct=clnk&cd=5
    thanks
    karthik
    reward me if useful

  • Workshop IDE can not create CTRL from WSDL file

    Hi everybody,
    For the evualtion of the Workshop IDE that comes with WLS 7.0 beta, I'm developing
    a web service (via this IDE) which must interoperate with another web service
    implemented with the help of another tool. I got the corresponding WSDL of this
    "outside" web service (see attachement), and when I want to generate the corresponding
    CTRL (via Add Service Control), I get the following error:
    Error: Could not find operation 'sayHello' in portType ''
    Prescription: The operation you are trying to bind was not found among the declared
    operations. Please check your <portType> sections.
    I do not have a lot of experience with WSDL files and its specification, but I
    compared this file with another WSDL files that work with WORKSHOP IDE, and I
    do not see difference between these files and the file that does not work. Moreover
    the IDE error says that my service 'sayHello' can not be find inside the 'portType'
    tags, but if you have a look at the WSDL file, you will see that is not true ?!?!?
    Can somebody help me please?
    Have a nice day
    Vincent

    Vincent,
    What is happening is that the type attribute on the binding tag must match
    both the targetnamespace and the name of the portType name attribute. Yours
    do match in basename only. When parsing the WSDL file what we do is put the
    name attributes of the portType, service and binding tags into the
    targetNamespace of the WSDL and then we expect the references to these names
    to also be resolved to that namespace.
    In the case of your WSDL, your targetNamespace is
    http://localhost:8000/HelloWorldApp/servlet/rpcrouter and the type attribute
    on the binding attribute just references HelloWorldServicePort which means
    it will use the default namespace of http://schemas.xmlsoap.org/wsdl which
    is, of course, different than the targetNamespace.
    To fixup the WSDL I would recommend you just define a new namespace at the
    top of the WSDL file that matches the targetNamespace attribute and then use
    that prefix in the text value of the attribute used to reference that name.
    Yes, we do need to do some better parser/error messages to help identify
    this :)
    Here is one way that I have done to fixup your WSDL and Workshop does pull
    it in and expose the methods correctly:
    <?xml version='1.0'?>
    <definitions name='HelloWorldService'
    xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'
    xmlns='http://schemas.xmlsoap.org/wsdl/'
    xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
    xmlns:test='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
    xmlns:xsd1='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schema'>
    <types>
    <xsd:schema
    targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schem
    a'>
    <xsd:simpleType name="java.lang.Integer"><xsd:restriction
    base="xsd:int"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Short"><xsd:restriction
    base="xsd:short"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Long"><xsd:restriction base="xsd:long"
    /></xsd:simpleType>
    <xsd:simpleType name="java.lang.Double"><xsd:restriction
    base="xsd:double"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Float"><xsd:restriction
    base="xsd:float"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Boolean"><xsd:restriction
    base="xsd:boolean"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Character"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.String"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.StringBuffer"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Byte"><xsd:restriction
    base="xsd:byte"/></xsd:simpleType>
    <xsd:simpleType name="char_lb_rb"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="char"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    </xsd:schema>
    </types>
    <message name='sayHelloInput'>
    <part name='message' type='xsd:string'/>
    </message>
    <message name='sayHelloOutput'>
    <part name='result' type='xsd:string'/>
    </message>
    <portType name='HelloWorldServicePort'>
    <operation name='sayHello'>
    <input message='test:sayHelloInput'/>
    <output message='test:sayHelloOutput'/>
    </operation>
    </portType>
    <binding name='HelloWorldServiceBinding'
    type='test:HelloWorldServicePort'>
    <soap:binding style='rpc'
    transport='http://schemas.xmlsoap.org/soap/http'/>
    <operation name='sayHello'>
    <soap:operation
    soapAction='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/sayHello'/
    >
    <input>
    <soap:body use='encoded' namespace='urn:HelloWorldService'
    encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </input>
    <output>
    <soap:body use='encoded' namespace='urn:HelloWorldService'
    encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </output>
    </operation>
    </binding>
    <service name='HelloWorldService'>
    <port name='HelloWorldServicePort'
    binding='test:HelloWorldServiceBinding'>
    <soap:address
    location='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'/>
    </port>
    </service>
    </definitions>
    Thanks,
    Art
    "Vincent Ducret" <[email protected]> wrote in message
    news:[email protected]...
    >
    Thanks for your answer, but I do not understand it, and also yoursuggestion.
    >
    According to WSDL specification, the 'type' attribute of a 'binding' tagmust
    reference (bind to) an exisiting 'portType' tag. And it's the case here,no? I.e.
    we have a 'portType' tag called HelloWorldServicePort, which is referencedby
    the 'binding' tag named HelloWorldServiceBinding via its 'type' attribute:'HelloWorldServicePort'.
    >
    Where is the problem ?
    Thanks a lot
    Thanks for your help

  • XSD from WSDL SOAP response

    From WSDL, I have SOAP respose as
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:getDistanceResponse xmlns:ns1="http://DefaultNamespace" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <ns1:getDistanceReturn xsi:type="xsd:double">0.0</ns1:getDistanceReturn>
              </ns1:getDistanceResponse>
         </soapenv:Body>
    </soapenv:Envelope>
    How do I create XSD so that I can import external defintion in designer message_type without typing the fields from scratch?
    Here is the XSD:-
    <?xml version="1.0" encoding="ISO-8859-1"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"><xs:element name="getDistanceResponse"><xs:annotation><xs:documentation>Comment describing your root element</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="getDistanceReturn" type="xs:double" /></xs:sequence></xs:complexType></xs:element></xs:schema>

    Satish,
    When I look at /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1, from WSDL an XSD is created for getDistanceResponse.
    Also there is a note from Shabarish "At my first try i used the messages getDistanceRequest and getDistanceResponse in my mapping but later found out that it wasnt the message structure that the webservice expected."
    Hence wondering how to create XSD from WSDL so that I can use the structures in message mapping.
    In this case it is simple, so i can create the data type but for complex it is better to create XSD from WSDL. May be I'm not putting the right words and question. Please help

  • Java Web Service from WSDL

    I got the following error generating from a TALEO WSDL file:
    Error creating model from WSDL: Two declarations cause a collision in the Object Factory Class.
    The WSDL file from TALEO is very large - 16000 + lines. and the error does not point specifically to the offending declarations(if any). I downloaded Apache Axis2 and successfully used wsdl2java.bat to generate from the same wsdl file. This is perplexing, especially since I am just learning how to create a web service call.
    Dean Geary

    Dear Tugdual,
    Thanks for your intrest in my issue. I narrowed it down to the following type in my xsd
    <complexType name="PersonInfoType">
    <sequence >
    <element name="FamilyName" type="string"/>
    <element name="IndividualName" type="string"/>
    <element name="SpouseName" type="string"/>
    <element name="BirthDate" type="dateTime"/>
    </sequence>
    </complexType>
    This works fine - the "WebSerice From WSDL" wizard "knows" how to generate a class for PersonInfoType (with geters and seters) as well as useful stub implementation:
    public class PersonInfoImpl {
    public PersonInfoType processPersonInfo(String entityCode) {
    return null;
    However, if I make my type multiple occuring (to represnt e.g. rows from a db)
    <complexType name="PersonInfoType">
    <sequence maxOccurs="unbounded" >
    <element name="FamilyName" type="string"/>
    <element name="IndividualName" type="string"/>
    <element name="SpouseName" type="string"/>
    <element name="BirthDate" type="dateTime"/>
    </sequence>
    </complexType>
    Now the Web Service generator runs, but just doesn't generate any PersonInfoType class at all. For a stub implementation it genertes the following:
    public class PersonInfoImpl {
    public SOAPElement processPersonInfo(String entityCode) {
    return null;
    Now I'm stuck with the container just expecting from me a Soap Object and I have to build all the pieces myself with no java mappings to my xsd at all. Not very useful.
    Is there another xml structure I can use to represent data rows that is better supported by the wizard?
    Thanks,
    Steve

  • JDeveloper 10.1.3.2 - how to create a stub from WSDL?

    Hello to all..
    I have installet the last version of Jdeveloper.. since this I used JDev 10.1.2...
    Can anybody help me how can i make classes (stub) from WSDL?
    I have a WSDL file located on remote HTTPS server.. In JDev 10.1.2 i get error when i like to connect on https to retrive data...
    But in JDev 10.1.3.2 I can't find a function to create a stub from wsdl..
    There is only a option to create a java webservice from wsdl.. (but this will create a new webservice (right?)..
    so.. how can I create a stub from remote wsdl..
    best regards

    Another question...
    For retriving information i must install a certificate...
    I installed it for mozilla and explorer.. so if i acess to the url i get the wsdl definition
    picture 1: http://freeweb.siol.net/peterv6i/picc2.jpg
    In JDeveloper i get error DCA-40002
    here is the picture: http://freeweb.siol.net/peterv6i/picc1.jpg
    how to acess to wsdl if it requires a certificate?

Maybe you are looking for

  • Open Item Management changed retrospectively

    We currently have a series of GL account set up in our production environment which do not have the Open Item Management ticked. As there are currently posted open items and the account balance is not zero we cannot change the flag retrospectively. R

  • Calculating fields in forms

    Help -- I am tryiing to get certain fields in a form to calculate based on selection of other fields.  The fields to be selected already have values in them.  (The same format I have used for several years, just new set of forms) I get through the po

  • Need help for SRM Data Extraction into BI-7

    Hi Experts, I am looking for help regarding SRM DataSource Extraction to BW. I am working on BW project and need to extract data from SRM Data Source 0BBP_TD_CONTR_2 and 0SRM_TD_PRO. I need to know about the extraction process from SRM. Is there a to

  • E-Mail Attachement with JSP

    i want to email with attachement throuhg JSP. is it possible to directly attach attachement File with email-message from client PC without uploading attachememt file to web Server. please provide code if possible thanx

  • Need to get songs on new computer from iPod

    I just recently got a new macbook and had a dell before. I would like to know how I could transfer my songs from my iPod to my new iTunes library. It says that I have to authorize my computer but i forgot my screen name and password Is there any othe