facebook

Where are the log files?

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #268682 Reply

    ADEV
    Member

    Where does my(eclipse) put the log files from a failed attempt to generate code from a WSDL? I am using myEclipse 5.1 and I am trying to generate a Soap client from the attached WSDL. All I get is n error dialog with the message “error generating services” and the details button is grayed out. There must be some console output or log output somewhere – where?

    I do have an XSD file as referenced in the following WSDL – it resides in the same directory as the WSDL

    WSDL Below.

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <!– edited with XMLSpy v2006 sp1 U (http://www.altova.com) by Accounts Payable (Kronos Incorporated) –>
    <definitions xmlns:tns=”urn:services-kronos-com:customization” xmlns:custom=”urn:schemas-kronos-com:customization” xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:soap=”http://schemas.xmlsoap.org/wsdl/soap/&#8221; xmlns=”http://schemas.xmlsoap.org/wsdl/&#8221; targetNamespace=”urn:services-kronos-com:customization” name=”CustomizationService”>
    <types>
    <xsd:schema xmlns=”http://www.w3.org/2001/XMLSchema&#8221; targetNamespace=”urn:services-kronos-com:customization” elementFormDefault=”unqualified” attributeFormDefault=”unqualified”>
    <xsd:import namespace=”urn:schemas-kronos-com:customization” schemaLocation=”http://localhost/wsdl/customization.xsd”/&gt;
    <xsd:element name=”GetTypesInput”>
    <complexType/>
    </xsd:element>
    <xsd:element name=”GetTypesOutput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”Types” type=”custom:TypeNameIDsType”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”GetInstancesInput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”TypeID” type=”xsd:integer”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”GetInstancesOutput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”Instances” type=”custom:InstanceNameIDsType”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”GetInstancesWithPropertiesInput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”TypeID” type=”xsd:integer”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”GetInstancesWithPropertiesOutput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”InstancesWithProperties” type=”custom:InstancesWithPropertiesType”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”GetInstancePropertiesInput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”TypeID” type=”xsd:integer”/>
    <xsd:element name=”InstanceID” type=”xsd:integer”/>
    <xsd:element name=”Locale” type=”xsd:string”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”GetInstancePropertiesOutput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”Properties” type=”custom:InstancePropertiesType”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”UpdateInstancePropertyInput”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”TypeID” type=”xsd:integer”/>
    <xsd:element name=”InstanceID” type=”xsd:integer”/>
    <xsd:element name=”Locale” type=”xsd:string”/>
    <xsd:element name=”PropertyName” type=”xsd:string”/>
    <xsd:element name=”PropertyValue” type=”xsd:string”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name=”UpdateInstancePropertyOutput”>
    <xsd:complexType/>
    </xsd:element>
    <xsd:element name=”CustomizationServiceFault”>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name=”Message” type=”xsd:string”/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </types>
    <message name=”GetTypesInput”>
    <part name=”parameters” element=”tns:GetTypesInput”/>
    </message>
    <message name=”GetTypesOutput”>
    <part name=”parameters” element=”tns:GetTypesOutput”/>
    </message>
    <message name=”GetInstancesInput”>
    <part name=”parameters” element=”tns:GetInstancesInput”/>
    </message>
    <message name=”GetInstancesOutput”>
    <part name=”parameters” element=”tns:GetInstancesOutput”/>
    </message>
    <message name=”GetInstancesWithPropertiesInput”>
    <part name=”parameters” element=”tns:GetInstancesWithPropertiesInput”/>
    </message>
    <message name=”GetInstancesWithPropertiesOutput”>
    <part name=”parameters” element=”tns:GetInstancesWithPropertiesOutput”/>
    </message>
    <message name=”GetInstancePropertiesInput”>
    <part name=”parameters” element=”tns:GetInstancePropertiesInput”/>
    </message>
    <message name=”GetInstancePropertiesOutput”>
    <part name=”parameters” element=”tns:GetInstancePropertiesOutput”/>
    </message>
    <message name=”UpdateInstancePropertyInput”>
    <part name=”parameters” element=”tns:UpdateInstancePropertyInput”/>
    </message>
    <message name=”UpdateInstancePropertyOutput”>
    <part name=”parameters” element=”tns:UpdateInstancePropertyOutput”/>
    </message>
    <message name=”CustomizationServiceFault”>
    <part name=”fault” element=”tns:CustomizationServiceFault”/>
    </message>
    <message name=”NewMessage”/>
    <portType name=”CustomizationPortType”>
    <operation name=”GetTypes”>
    <input message=”tns:GetTypesInput”/>
    <output message=”tns:GetTypesOutput”/>
    <fault name=”CustomizationServiceFault” message=”tns:CustomizationServiceFault”/>
    </operation>
    <operation name=”GetInstances”>
    <input message=”tns:GetInstancesInput”/>
    <output message=”tns:GetInstancesOutput”/>
    <fault name=”CustomizationServiceFault” message=”tns:CustomizationServiceFault”/>
    </operation>
    <operation name=”GetInstancesWithProperties”>
    <input message=”tns:GetInstancesWithPropertiesInput”/>
    <output message=”tns:GetInstancesWithPropertiesOutput”/>
    <fault name=”CustomizationServiceFault” message=”tns:CustomizationServiceFault”/>
    </operation>
    <operation name=”GetInstanceProperties”>
    <input message=”tns:GetInstancePropertiesInput”/>
    <output message=”tns:GetInstancePropertiesOutput”/>
    <fault name=”CustomizationServiceFault” message=”tns:CustomizationServiceFault”/>
    </operation>
    <operation name=”UpdateInstanceProperty”>
    <input message=”tns:UpdateInstancePropertyInput”/>
    <output message=”tns:UpdateInstancePropertyOutput”/>
    <fault name=”CustomizationServiceFault” message=”tns:CustomizationServiceFault”/>
    </operation>
    </portType>
    <binding name=”CustomizationBinding” type=”tns:CustomizationPortType”>
    <soap:binding style=”document” transport=”http://schemas.xmlsoap.org/soap/http”/&gt;
    <operation name=”GetTypes”>
    <soap:operation soapAction=”/GetTypes” style=”document”/>
    <input>
    <soap:body use=”literal”/>
    </input>
    <output>
    <soap:body use=”literal”/>
    </output>
    <fault name=”CustomizationServiceFault”>
    <soap:fault name=”CustomizationServiceFault” use=”literal”/>
    </fault>
    </operation>
    <operation name=”GetInstances”>
    <soap:operation soapAction=”/GetInstances” style=”document”/>
    <input>
    <soap:body use=”literal”/>
    </input>
    <output>
    <soap:body use=”literal”/>
    </output>
    <fault name=”CustomizationServiceFault”>
    <soap:fault name=”CustomizationServiceFault” use=”literal”/>
    </fault>
    </operation>
    <operation name=”GetInstancesWithProperties”>
    <soap:operation soapAction=”/GetInstancesWithProperties” style=”document”/>
    <input>
    <soap:body use=”literal”/>
    </input>
    <output>
    <soap:body use=”literal”/>
    </output>
    <fault name=”CustomizationServiceFault”>
    <soap:fault name=”CustomizationServiceFault” use=”literal”/>
    </fault>
    </operation>
    <operation name=”GetInstanceProperties”>
    <soap:operation soapAction=”/GetInstanceProperties” style=”document”/>
    <input>
    <soap:body use=”literal”/>
    </input>
    <output>
    <soap:body use=”literal”/>
    </output>
    <fault name=”CustomizationServiceFault”>
    <soap:fault name=”CustomizationServiceFault” use=”literal”/>
    </fault>
    </operation>
    <operation name=”UpdateInstanceProperty”>
    <soap:operation soapAction=”/UpdateInstanceProperty” style=”document”/>
    <input>
    <soap:body use=”literal”/>
    </input>
    <output>
    <soap:body use=”literal”/>
    </output>
    <fault name=”CustomizationServiceFault”>
    <soap:fault name=”CustomizationServiceFault” use=”literal”/>
    </fault>
    </operation>
    </binding>
    <service name=”CustomizationService”>
    <port name=”CustomizationPort” binding=”tns:CustomizationBinding”>
    <soap:address location=”http://localhost/saas-customization/services/CustomizationService”/&gt;
    </port>
    </service>
    </definitions>

    #268683 Reply

    ADEV
    Member

    I found the .log file in the workspace and I have this exception traceback from there

    !ENTRY com.genuitec.eclipse.ws.xfire 4 0 2007-04-11 08:54:11.984
    !MESSAGE Error generating services
    !STACK 0
    java.lang.NullPointerException
    at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.getExceptionClass(AbstractServiceGenerator.java:279)
    at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generateFaults(AbstractServiceGenerator.java:264)
    at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generateOperation(AbstractServiceGenerator.java:229)
    at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:110)
    at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:62)
    at org.codehaus.xfire.gen.jsr181.ServiceInterfaceGenerator.generate(ServiceInterfaceGenerator.java:48)
    at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:49)
    at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:132)
    at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:92)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

    Any ideas on how I can get this working? Am I missing a library? Which one?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Where are the log files?

You must be logged in to post in the forum log in