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>
Similar Messages
-
Is it possible to create data control from wsdl when complextype is used
Getting DCA-40015 error when trying to create a data control from WSDL file.
The error clearly says complextype is not supported . just trying to see if there are any workarounds . because creating data control will save time in developing user interface by dragging and dropping the the data control in jsf page. jdeveloper webservice tester is able to create user interface for me based on wsdl when i run it , trying to develop the user interface using jsf pages
oracle.adf.model.adapter.AdapterException: DCA-40015: Failed to create the structure for schema element "result". The complex type definition of the element is not supported.Hi,
I could reproduce what I did:
- created WebService from custom Pojo Model
- Made sure all entities implemented serializable
- In the WebServices Wizard, I created XML representations for my entities
- tested with OC4J WebServices tester
- Built ADF data control from WSDL file of deployed WebService
- Created dependency t project containing the POJO entities
- Selected result.xml of each method exposed in the WebService project
- In the structure window, selected "item" (result-->item)
- changed Bean class to my entity class name (absolute name)
This showed my entity in the DC palette
Frank -
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 ?
ThanksThanks 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> -
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 -
Not able to generate Service control from WSDL in Weblogic Workshop9.2
Hi All,
I am not able to create Service control from my WSDL in Weblogic workshop9.2. It was working fine in Weblogic 8.1.
I am getting the following error. Please help me out.
Types analysis failed for both JAX-RPC and XmlBeans.
BEGIN JAX-RPC CAUSE
com.bea.control.servicecontrol.internal.validation.BindingsCheckException: Failed to generate the JSService with the endpoint builder
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.setupJsService(BindingsClassNameReference.java:573)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadJsService(BindingsClassNameReference.java:321)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getJsService(BindingsClassNameReference.java:362)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadTypeNamesForService(BindingsClassNameReference.java:398)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getTypeNamesForService(BindingsClassNameReference.java:383)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeNamesForService(BindingsCheckUtility.java:210)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeBindingTypeInfoForService(BindingsCheckUtility.java:131)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeBindingInfoForServiceByBindingsDataSourceType(BindingsCheckUtility.java:104)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.initializeTypesForTheService(BindingsCheckUtility.java:273)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.findMatchingBindingsDataSources(BindingsCheckUtility.java:434)
at com.bea.wlw.controls.service.ui.util.BindingsChecker.<init>(BindingsChecker.java:55)
at com.bea.wlw.controls.service.ui.wizards.SelectSCInfoPage.checkForCompatibleBindings(SelectSCInfoPage.java:304)
at com.bea.wlw.controls.service.ui.wizards.SelectSCInfoPage.<init>(SelectSCInfoPage.java:98)
at com.bea.wlw.controls.service.ui.GenerateSCWizard.getPageList(GenerateSCWizard.java:150)
at com.bea.wlw.controls.service.ui.GenerateSCWizard.addPages(GenerateSCWizard.java:136)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:499)
at org.eclipse.jface.window.Window.create(Window.java:418)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
at org.eclipse.jface.window.Window.open(Window.java:776)
at com.bea.wlw.controls.service.ui.actions.NewSCGenAction.run(NewSCGenAction.java:101)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.IllegalArgumentException: unable to find java type for t=String@http://www.w3.org/2001/XMLSchema
at weblogic.wsee.bind.buildtime.internal.TylarBuildtimeBindings.getClassFromXmlType(TylarBuildtimeBindings.java:693)
at weblogic.wsee.bind.buildtime.internal.TylarBuildtimeBindings.getClassFromSchemaType(TylarBuildtimeBindings.java:182)
at weblogic.wsee.tools.source.EndpointBuilder.getJavaClassName(EndpointBuilder.java:735)
at weblogic.wsee.tools.source.EndpointBuilder.addPart(EndpointBuilder.java:664)
at weblogic.wsee.tools.source.EndpointBuilder.createParams(EndpointBuilder.java:591)
at weblogic.wsee.tools.source.EndpointBuilder.addMethod(EndpointBuilder.java:521)
at weblogic.wsee.tools.source.EndpointBuilder.buildEndpoint(EndpointBuilder.java:475)
at weblogic.wsee.tools.source.EndpointBuilder.buildJsService(EndpointBuilder.java:252)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.setupJsService(BindingsClassNameReference.java:549)
... 43 more
END JAX-RPC CAUSE
BEGIN XMLBEANS CAUSE
com.bea.control.servicecontrol.internal.validation.BindingsCheckException: Could not create buildtime bindings with ClientGenUtil
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadBuildtimeBindings(BindingsClassNameReference.java:242)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getBindings(BindingsClassNameReference.java:161)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadJsService(BindingsClassNameReference.java:307)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getJsService(BindingsClassNameReference.java:362)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadTypeNamesForService(BindingsClassNameReference.java:398)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getTypeNamesForService(BindingsClassNameReference.java:383)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeNamesForService(BindingsCheckUtility.java:210)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeBindingTypeInfoForService(BindingsCheckUtility.java:131)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeBindingInfoForServiceByBindingsDataSourceType(BindingsCheckUtility.java:104)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.initializeTypesForTheService(BindingsCheckUtility.java:253)
at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.findMatchingBindingsDataSources(BindingsCheckUtility.java:434)
at com.bea.wlw.controls.service.ui.util.BindingsChecker.<init>(BindingsChecker.java:55)
at com.bea.wlw.controls.service.ui.wizards.SelectSCInfoPage.checkForCompatibleBindings(SelectSCInfoPage.java:304)
at com.bea.wlw.controls.service.ui.wizards.SelectSCInfoPage.<init>(SelectSCInfoPage.java:98)
at com.bea.wlw.controls.service.ui.GenerateSCWizard.getPageList(GenerateSCWizard.java:150)
at com.bea.wlw.controls.service.ui.GenerateSCWizard.addPages(GenerateSCWizard.java:136)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:499)
at org.eclipse.jface.window.Window.create(Window.java:418)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
at org.eclipse.jface.window.Window.open(Window.java:776)
at com.bea.wlw.controls.service.ui.actions.NewSCGenAction.run(NewSCGenAction.java:101)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: weblogic.wsee.tools.WsBuildException: com.bea.xml.XmlException: Exception while compiling org apache xmlbeans: C:\R4WorkSpace\TestEWS\src\controls\EWSDeal.wsdl:0: error: src-resolve: type 'Array@http://schemas.xmlsoap.org/soap/encoding/' not found.
at weblogic.wsee.tools.clientgen.ClientGenUtil.createBuildtimeBindings(ClientGenUtil.java:217)
at weblogic.wsee.tools.clientgen.ClientGenUtil.createBuildtimeBindings(ClientGenUtil.java:174)
at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadBuildtimeBindings(BindingsClassNameReference.java:228)
... 44 more
Caused by: com.bea.xml.XmlException: Exception while compiling org apache xmlbeans: C:\R4WorkSpace\TestEWS\src\controls\EWSDeal.wsdl:0: error: src-resolve: type 'Array@http://schemas.xmlsoap.org/soap/encoding/' not found.
at weblogic.wsee.bind.buildtime.internal.XmlBeansApacheBindingsBuilderImpl.createBuildtimeBindings(XmlBeansApacheBindingsBuilderImpl.java:262)
at weblogic.wsee.bind.buildtime.internal.XmlBeansBaseBindingsBuilderImpl.createBuildtimeBindings(XmlBeansBaseBindingsBuilderImpl.java:119)
at weblogic.wsee.tools.source.EndpointBuilder.setupBindingProviderWithServices(EndpointBuilder.java:836)
at weblogic.wsee.tools.clientgen.ClientGenUtil.createBindingProvider(ClientGenUtil.java:458)
at weblogic.wsee.tools.clientgen.ClientGenUtil.createBuildtimeBindings(ClientGenUtil.java:211)
... 46 more
Caused by: org.apache.xmlbeans.XmlException: C:\R4WorkSpace\TestEWS\src\controls\EWSDeal.wsdl:0: error: src-resolve: type 'Array@http://schemas.xmlsoap.org/soap/encoding/' not found.
at weblogic.wsee.bind.buildtime.internal.XmlBeansApacheBindingsBuilderImpl.compileXmlBeans(XmlBeansApacheBindingsBuilderImpl.java:361)
at weblogic.wsee.bind.buildtime.internal.XmlBeansApacheBindingsBuilderImpl.createBuildtimeBindings(XmlBeansApacheBindingsBuilderImpl.java:257)
... 50 more
END XMLBEANS CAUSEHi
I have not seen the wsdl yet but your xmlbean types generation looks familiar.
This is one reason why you could get the error with the xmlbeans type.
error: src-resolve: type 'Array@http://schemas.xmlsoap.org/soap/encoding/' not found.
Workaround: To allow the XmlBeans to be built from this type of WSDL correctly, add the schemaLocation attribute. For example, if the original WSDL had an import such as:
<s:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
It should be changed to the following:
<s:import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
After this change you should not see the error.
Vimala- -
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łekHi,
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 -
Having problems creating PDF from website with query-string URLs
I have a website that I would like to create a PDF from. I am using the Create -> PDF from Web Page..., selecting the site's home page, and capturing 2 levels, with "stay on same path" and "stay on same server" checked in order to limit the scope of the crawl.
Where the pages are at example.com/foo/ and example.com/foo/bar/, this works fine. However, where the pages are at example.com/foo/ and example.com/foo/?p=1, the page represented by the query string URL is not converted to the PDF.
This is a problem, given that the site I want to archive as a PDF uses query strings for most of its pages.
I have been able to individually convert a single query-string-based page into a PDF using this method, but doing this for every page on the site would be almost impossible given the sheer number of pages on the site.
Is this a known issue? Is there a workaround other than separately capturing each page (which would be prohibitive effort)?
I have tried this in both Acrobat Pro X and Acrobat Pro 9 for Mac, with the same results.Remember, Acrobat is a 32-bit application and as such cannot access all that 'extra' stuff.
Be well... -
Problems creating invoice from order (DI API and SBO)
Hello all!
I´m getting various tax problems using the following code to automatically create invoices from existing orders.
For Each currentKey In arrABEntrys
objInv = objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
objAB.GetByKey(currentKey)
objInv.CardCode = objAB.CardCode
With objInv.Lines
.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
.BaseEntry = currentKey
.BaseLine = 0
For i = 1 To objAB.Lines.Count - 1
objInv.Lines.Add()
BaseType = SAPbobsCOM.BoObjectTypes.oOrders
.BaseEntry = currentKey
.BaseLine = i
Next
End With
If objInv.Add() = 0 Then
Else
End if
The result of objInv.add() was first "5002 - 'Tax Definition (1)' (a very informative message to me).
Then I checked my admin tax settings and put a check on "EU".
The next time the result was "10 - Customer´s tax ID not defined OINV.LicTradNum"
Actually, I don´t want to pre-set any fields in the invoice, because the order looks complete to me.
By the way: The error occurs in SBO, too.
Thanks for help in advance!
Best regards
MarianHi Marian,
Your Error "10 - Customer´s tax ID not defined OINV.LicTradNum" is not working (through DI and in SBO)
occurs because your "Federal Tax ID" is not set up against the Business Partner. (This is on the main page of the Business Master Data Screen).
Set this up and it will work in SBO and the DI API! -
Problem Create object from superclass
Hi,
I have a problem with classes:
I have one abstract superclass which has a method to create objecto for its children class.
CREATE OBJECT R_FLIGHT TYPE (l_class_name)
EXPORTING
i_sflight = l_sflight.
l_class_name: has the name of my children class
My children class has this properties:
A dump its triggered when I try to create object from the superclass.
Best RegardsHello,
I think that you defined the instantiation level of the superclass as PROTECTED & from the screenshot i can see that the instantiation level is protected & the class is marked as "Final".
Are you having a factory method which returns the instance of the abstract class & you use it to achieve polymorphism?
May be a little bit insight into your coding can help us
BR,
Suhas -
How to generate web svc data control from WSDL in 10.1.3 to secure web svc
When I try to connect to web service via https, I get the error:
WARNING: Unable to connect to URL: https://remove.site.com/service
java.security.PrivilegedActionException: javax.xml.soap.SOAPException:
Message send failed: javax.net.ssl.SSLException: SSL handshake failed:
X509CertChainIncompleteErr Exceptionjava.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException:
java.security.PrivilegedActionException: javax.xml.soap.SOAPException:
Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
Process exited with exit code 0.
There does appear to be this dependency on Oracle Wallet, which I saw when I set:
System.setProperty("HTTPClient.log.level","1");
which showed Using Wallet:
and nothing after it.
AFTER I set:
System.setProperty("javax.net.ssl.Keystore", "f:\ewallet.p12");
System.setProperty("javax.net.ssl.KeyStorePassword","mywallet12");
I saw the "wallet" being used, but still ended up with the same error. I'm only trying to use the "test client" that the web service "generate web service proxy" produces.
The stack trace was:
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at model.runtime.ProcessOrderBinding_Stub.processOrder(ProcessOrderBinding_Stub.java:95)
at model.ProcessOrderPortClient.processOrder(ProcessOrderPortClient.java:177)
at model.ProcessOrderPortClient.main(ProcessOrderPortClient.java:143)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:120)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:110)
at model.runtime.ProcessOrderBinding_Stub.processOrder(ProcessOrderBinding_Stub.java:78)
... 2 moreIronically, the same certificates that I loaded into the java keystore using Keytool and 10.1.2 connect to the same service without an error, using the notes as described here:
http://andrej.racchvs.com/archives/2004/04/
and
http://radio.weblogs.com/0132036/2004/02/13.html
When I created the data control for the WSDL in 10.1.2 (jdev), I didn't end up with as many files and only needed to set two system properties, and change the following lines to use Apache SOAP and I could invoke the web service as a data control as well:
1. references to OracleSOAPHTTPConnection changed to:
SOAPHTTPConnection
// import oracle.soap.transport.http.OracleSOAPHTTPConnection;
import org.apache.soap.transport.http.SOAPHTTPConnection;
2. comment out:
setTransportProperties
getTransportProperties
How can you connect to a remote web service using HTTPS with JDeveloper 10g and use the Oracle wallet?
Can someone provide specific steps to get it working based on having a WSDL file to start with?
Thanks!Hello,
I have the same problem. I am trying to consume a CRM On Demand's Web Service from JDeveloper 10 g (version 10.1.3).
The main method from my Client is:
System.setProperty("HTTPClient.log.level","1");
System.setProperty("javax.net.ssl.Keystore", "C:\\jdevstudio1013\\jdk\\jre\\lib\\security");
System.setProperty("javax.net.ssl.KeyStorePassword",PASSWORD_KEYSTORE);
crmod.DefaultClient myPort = new crmod.DefaultClient();
ListOfContact list= new ListOfContact();
ListOfContact outList= new ListOfContact();
Contact[] contacts=new Contact[2];
Contact contact=new Contact();
// Login WS (HTTPS)
idSesionFull=conexionWS_CRM.logon(constantes.URL,constantes.USER,constantes.PASSWORD);
System.setProperty("javax.xml.rpc.service.endpoint.address", URL);
System.setProperty("javax.xml.rpc.security.auth.username", USER);
System.setProperty("javax.xml.rpc.security.auth.password", PASSWORD);
System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", URL);
// Add contacts
for (int i = 0; i < contacts.length; i++) {
contact.setContactId("WSCRM"+i);
contact.setContactFirstName("JDeveloper"+i);
contact.setContactLastName("prove"+i);
contact.setCellularPhone("77777777"+i);
contact.setExternalSystemId("1234"+i);
contacts=contact;
list.setContact(contacts);
outList=myPort.contactInsert(list,"OFF");
Contact[] results = new Contact[2];
Contact result = new Contact();
for (int i = 0; i < contacts.length; i++) {
results=outList.getContact();
System.out.println("Add contact with ID:"+results[i].getContactId()+" nom:"+results[i].getContactFirstName());
// Logout WS (HTTPS)
conexionWS_CRM.logoff(constantes.URL, idSesion);
} catch (Exception ex) {
System.out.println("error: "+ex);
ex.printStackTrace();
conexionWS_CRM.logoff(constantes.URL, idSesion);
The JDeveloper's log is:
LOGIN OK!!
sessionString:JSESSIONID=8d928b0b231c911e83d79ff74b9eaa7795b54d784b1b.e3iRbxmNaNb0ahqLa34LbhiMe0; path=/Services; secure URL:https://secure-ausomxgfa.crmondemand.com/Services
System.setProperty("HTTPClient.log.level","1"), print the following:
{Thread-10} [0:50:39.15] Version: Oracle HTTPClient Version 10h
{Thread-10} [0:50:39.46] Conn: Nagle's Algorithm is disabled
{Thread-10} [0:50:39.46] Conn: Setting Socket Idle Timeout to 10 seconds
{Thread-10} [0:50:39.46] Conn: Setting Maximum Authorization retries to 4
{Thread-10} [0:50:39.62] Conn: added module HTTPClient.RetryModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.CookieModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.RedirectionModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.AuthorizationModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.DefaultModule
{Thread-10} [0:50:39.109] Conn: added module HTTPClient.TransferEncodingModule
{Thread-10} [0:50:39.109] Conn: added module HTTPClient.ContentMD5Module
{Thread-10} [0:50:39.125] Conn: added module HTTPClient.ContentEncodingModule
{Thread-10} [0:50:39.156] Conn: chunking set to true
{Thread-10} [0:50:39.156] Conn: chunk size set to 4.096
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request method: POST
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-type : application/x-www-form-urlencoded
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) creating output stream
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: SOAPAction : "document/urn:crmondemand/ws/contact/10/2004:ContactInsert"
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-Type : text/xml; charset=UTF-8
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-Length : 1173
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Connecting ...
{Thread-10} [0:50:39.218] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
{Thread-10} [0:50:39.453] Conn: using SSL version Oracle
{Thread-10} [0:50:39.515] Using wallet:
{Thread-10} [0:50:39.796] Conn:
{Thread-10} [0:50:39.796] Conn: Retrying request
{Thread-10} [0:50:39.796] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
{Thread-10} [0:50:40.31] Using wallet:
{Thread-10} [0:50:40.265] Conn:
{Thread-10} [0:50:40.265] Conn: Retrying request
{Thread-10} [0:50:40.265] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
{Thread-10} [0:50:40.500] Using wallet:
{Thread-10} [0:50:40.734] Conn:
{Thread-10} [0:50:40.734] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Disconnecting ...
Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
error: java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at crmod.runtime.Default_Binding_Stub.contactInsert(Default_Binding_Stub.java:506)
at crmod.DefaultClient.contactInsert(DefaultClient.java:210)
at crmod.DefaultClient.main(DefaultClient.java:138)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at crmod.runtime.Default_Binding_Stub.contactInsert(Default_Binding_Stub.java:490)
... 2 more
Process exited with exit code 0.
And I am working without Proxy Server.
The steps I have done to obtain the keystore are:
1) Obtain the certificate from https://secure-ausomxgfa.crmondemand.com/Services/Integration and save as .cer
2) With this certificate I have generated the keystore:
C:\jdevstudio1013\jdk\jre\bin keytool -import -v -f DIR_CERTIFICATE_DOWNLOADED -keystore server.keystore -keypass PASS -storepass PASS_FROM_server.keystore
PASS=I have put an invented password
Any idea to solve the error? Is necessary a certificate with a keystore to connect HTTPS Web Service from JDeveloper 10g?
Thank you an regards.
Edited by: user2349857 on 05-nov-2009 4:18
Edited by: user2349857 on 05-nov-2009 4:25 -
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:28are 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 -
Problems creating control file in RMAN duplicate database
There is so much detail involved in this operation that I don't know what might be useful, so I'll start simple. I'm attempting to clone a database on the same host using RMAN "duplicate database". I finally got all the setup done, the OS authentication hurdles hurdled, etc. and entered the command:
duplicate target database to COPYCH2M until time "to_date('March 15 2012 12:00:00', 'Mon DD YYYY HH24:MI:SS')";
The first time I got:
ORA-19504: failed to create file "/u01/app/oracle/oradata/COPYCH2M/control01.ctl"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/21/2012 15:59:25
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-00201: control file version 11.2.0.0.0 incompatible with ORACLE version 11.1.0.1.0
ORA-00202: control file: '/u01/app/oracle/oradata/COPYCH2M/control01.ctl'
Sounds straightforward, if frustrating, right? Apparently you can't duplicate a database that's not in the exact same version. But:
1) The backuppiece we got the control file from was from last November.
2) The version of Oracle has not been updated since that time.
How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
Thanks, I'm hoping this is easy but I can post more info if needed.>
There was nothing in the Oracle instructions about manually creating the directory, but I did so, thinking that might be the problem. And it created the control files! But then I got the following:
>
The database is limited as to what it can create. Since you defined where you wanted the controlfiles to go (pfile/spfile), it's up to you to make sure the directory is valid and exists. :)
>
How can a file created by this version be incompatible with this version? Where is it even getting 11.1?
>
As for your controlfiles, make sure the compatible parameter is set the same on both the source and the target unless you are using the default (11.1.0.1 for you, and you aren't)
Keep going, you'll get there. RMAN duplicate is a great feature.
Good luck. -
Problems creating notation from scratch using the edit function of GarageBa
I am using garage band to write music. I open
a blank loop with a grand piano system instrument and
begin editing. I encounter the following problems:
1. The software does not allow me to enter any note
below middle c on additional or ledger lines that
should be available below the stave of the treble
clef.
1.1 Connected to this issue is that it is very
difficult to write music that contains subtleties.
This directly affects the way the music sounds. The
program substitutes accidentals in the stave
conditioned by the key signature. For example writing
Chopin in GarageBand as opposed to the written sheet
music is the difference between buying a designer
dress in a Bond Street Boutique and buying a cheap
copy in Primark. "Brins Bungalo" Tutorial claims
that
Garageband "is an application suitable for both the
dabbler and the conservatorially trained."
2. When there are many notes to be entered in a bar
garageBand is not flexible to accomodate the notes
required, Notes are clustered in a bunch makiing it
difficult to read what has been written (preventing the composer checking that it has been written correctly).
3. When there are many notes to be written in a bar
e.g. more than, say four notes, (lots of quavers or semi quavers) the
program does some strange things which I am unable to
control:
a) groups unrelated larger notes with the smaller
notes and will not allow them to be separated;
b) changes the value of notes already entered;
c) sometimes splits the note being entered into two
smaller notes joined by a tie;
d) accidentals appear on notes entered or notes
already entered without my instruction;
e) it changes note values, filling up the bar, to the
value of the time key before I have a chance to finish
entering the remaining notes that I want to place in
the bar;
4. How is one able to enter "dynamics" (symbol marks
of expression). I know it is possible because many of
the preloaded loops have these expressions evident
within them. I have tried consulting GarageBand Help but this has proved impossible to fathom.
Can anyone help?
iMac Mac OS X (10.4.8)You have my sympathy as I also wanted to enter notes on a stave but GB is simply not designed to do it.
You can do an amazing amount with GB but complex scoring is not really possible. You can't print a score btw.
In answer to some of your questions,
Expression cannot be added using the scoring facility. You need to go back to the piano roll view and use the expression/modulation/pitchbend/footswitch parameters.
I think you're possibly doing something wrong as I've just done a little test and I've entered a C0 without a problem.
I've also not had problems moving notes about and getting the right length or having GB fill notes to the end of the bar.
This is how I do it.
Create a software track.
Double click on the track to get the track editor.
Press record and use the the keyboard on the piano roll to enter a note. You've now created a recording region. You can't enter notes outside a recording region so you might need to drag it out to the required size.
Swap to note entry. That gives you the double stave. Drag the grey bar that separates the arranger area from the track editor upwards. This gives you more space on the stave.
Command click anywhere on the stave and a note will appear. Just move that note to wherever you want it and click to set it in place. You can always move it again by left clicking on the note and dragging it.
Accidentals will depend on the key you've set for the song and what notes you're entering. In D for instance you won't get an accidental for F sharp but you will get one for A flat.
Let us know how you get on.
If this still doesn't give you what you need then I suggest a dedicated notation package. Create a midi file from the package and import into GB for final tweaking.
Cheers
Dick -
Using the type parameter of the Terminal is the best way to get the type of a control. If you try to do something like "get the value of the control and then ask for the type of that", you run into problems with LV classes and refnum types where the type of the value might be a child class of the type of the control.
Solved!
Go to Solution.Using the Create from Reference method seems easier:
Try to take over the world! -
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
Maybe you are looking for
-
Is it possible to trap the user's COMMIT and do something?
I need to do some actions when a user (actually a program that I can't access) performs COMMIT and close the session. My functionality is activated from triggers. I keep many variable in package. Before a session ends I need to do some final steps us
-
Disc Drive problems on Macbook Pro
My disc drive on my macbook pro has recently been skipping over certain parts of movies, telling me that it's "refreshing the disc drive", and is now not responding when I insert a disc. I get the dreaded color wheel as a mouse, and i have to force q
-
Out of the box porlets for Content Management with BEA Portal
I am looking at BEA Portal for a simple Intranet site with some basic content management system capabilities. I would like to implement this without the use of a third party tool and wanted to know if there are any open source or out of the box BEA p
-
Add a dimension - Problems with journal
Hi, We need to add to a dimension to an existing application that has journal defined. We have done the following steps: 1) We add and assign the new dimension to the application succesfully. 2) We try to create within the journal wizard, the new jou
-
Hello, We have SAP on Windows+Oracle Update stats and CheckDB are failing with the error : BR0801I BRCONNECT 7.00 (40) BR0477I Oracle pfile D:\oracle\P5E\102\database\initP5E.ora created from spfile D:\oracle\P5E\102\database\spfileP5E.ora BR0805I St