cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: CXF Premature End Of File ?
Date Tue, 04 Jan 2011 02:48:41 GMT

On 2011-1-4, at 上午12:49, Alistair wrote:

>
> Hello,
>
> I finally had time to look at this project again. I rewrote it over  
> the
> christmas vacation, but still there seem to be some recursive calls.  
> As soon
> as I call webservice it brings a premature end of file, because the  
> same
> team is called over and over again.
>
> However, I cannot find it. Does anyone have an idea?
> Is the bidirectional usage of eclipselink not possible?
>
> From what the wsdl should do now is provide a reverence between:
>
> team --> references a project
> team --> references a list of members
> Member --> references a team

Hi,

Just FYI,

The recursive reference is here
team --> references a list of members
Member --> references a team
You should avoid it.
You can use something like
team --> references a list of member description
Member --> references a team description

Hope this helps

Freeman

> Member --> references a list of memberskills
>
> Alistair
>
>
> <wsdl:definitions name="ExpertFinderIFC"
> targetNamespace="http://export.webservice.expertfinder.org/">
> −
> <wsdl:types>
> −
> <xsd:schema attributeFormDefault="qualified"  
> elementFormDefault="qualified"
> targetNamespace="http://export.ifc.expertfinder.org">
> −
> <xsd:complexType name="ArrayOfIFCteam">
> −
> <xsd:sequence>
> <xsd:element maxOccurs="unbounded" minOccurs="0" name="IFCteam"
> nillable="true" type="tns:IFCteam"/>
> </xsd:sequence>
> </xsd:complexType>
> −
> <xsd:complexType name="IFCmember">
> −
> <xsd:sequence>
> <xsd:element minOccurs="0" name="description" nillable="true"
> type="xsd:string"/>
> <xsd:element minOccurs="0" name="efmemberskills" nillable="true"
> type="tns:ArrayOfIFCmemberskill"/>
> <xsd:element minOccurs="0" name="efteam" nillable="true"
> type="tns:IFCteam"/>
> <xsd:element minOccurs="0" name="memberID" type="xsd:int"/>
> </xsd:sequence>
> </xsd:complexType>
> −
> <xsd:complexType name="ArrayOfIFCmemberskill">
> −
> <xsd:sequence>
> <xsd:element maxOccurs="unbounded" minOccurs="0" name="IFCmemberskill"
> nillable="true" type="tns:IFCmemberskill"/>
> </xsd:sequence>
> </xsd:complexType>
> −
> <xsd:complexType name="IFCteam">
> −
> <xsd:sequence>
> <xsd:element minOccurs="0" name="description" nillable="true"
> type="xsd:string"/>
> <xsd:element minOccurs="0" name="efmembers" nillable="true"
> type="tns:ArrayOfIFCmember"/>
> <xsd:element minOccurs="0" name="jiveproject" nillable="true"
> type="tns:IFCproject"/>
> <xsd:element minOccurs="0" name="name" nillable="true"  
> type="xsd:string"/>
> <xsd:element minOccurs="0" name="teamID" type="xsd:int"/>
> </xsd:sequence>
> </xsd:complexType>
> −
> <xsd:complexType name="IFCmemberskill">
> −
> <xsd:sequence>
> <xsd:element minOccurs="0" name="efmember" nillable="true"
> type="tns:IFCmember"/>
> <xsd:element minOccurs="0" name="skillLevelID" type="xsd:int"/>
> <xsd:element minOccurs="0" name="skillSetID" type="xsd:int"/>
> <xsd:element minOccurs="0" name="userSkillID" type="xsd:int"/>
> </xsd:sequence>
> </xsd:complexType>
> −
> <xsd:complexType name="IFCproject">
> −
> <xsd:sequence>
> <xsd:element minOccurs="0" name="creationDate" nillable="true"
> type="xsd:integer"/>
> <xsd:element minOccurs="0" name="description" nillable="true"
> type="xsd:string"/>
> <xsd:element minOccurs="0" name="dueDate" nillable="true"
> type="xsd:integer"/>
> <xsd:element minOccurs="0" name="dueDateNull" type="xsd:int"/>
> <xsd:element minOccurs="0" name="efteams" nillable="true"
> type="tns:ArrayOfIFCteam"/>
> <xsd:element minOccurs="0" name="modificationDate" nillable="true"
> type="xsd:integer"/>
> <xsd:element minOccurs="0" name="name" nillable="true"  
> type="xsd:string"/>
> <xsd:element minOccurs="0" name="parentObjectID" nillable="true"
> type="xsd:integer"/>
> <xsd:element minOccurs="0" name="parentObjectType" type="xsd:int"/>
> <xsd:element minOccurs="0" name="projectID" nillable="true"
> type="xsd:string"/>
> <xsd:element minOccurs="0" name="userID" nillable="true"
> type="xsd:integer"/>
> </xsd:sequence>
> </xsd:complexType>
> −
> <xsd:complexType name="ArrayOfIFCmember">
> −
> <xsd:sequence>
> <xsd:element maxOccurs="unbounded" minOccurs="0" name="IFCmember"
> nillable="true" type="tns:IFCmember"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
> −
> <xsd:schema attributeFormDefault="unqualified"
> elementFormDefault="qualified"
> targetNamespace="http://export.webservice.expertfinder.org/">
> <xsd:import namespace="http://export.ifc.expertfinder.org"/>
> <xsd:element name="getAllTeamsByProjectID"
> type="tns:getAllTeamsByProjectID"/>
> −
> <xsd:complexType name="getAllTeamsByProjectID">
> −
> <xsd:sequence>
> <xsd:element name="arg0" type="xsd:long"/>
> </xsd:sequence>
> </xsd:complexType>
> <xsd:element name="getAllTeamsByProjectIDResponse"
> type="tns:getAllTeamsByProjectIDResponse"/>
> −
> <xsd:complexType name="getAllTeamsByProjectIDResponse">
> −
> <xsd:sequence>
> <xsd:element minOccurs="0" name="return" nillable="true"
> type="ns0:ArrayOfIFCteam"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
> </wsdl:types>
> −
> <wsdl:message name="getAllTeamsByProjectIDResponse">
> <wsdl:part element="tns:getAllTeamsByProjectIDResponse"  
> name="parameters">
>    </wsdl:part>
> </wsdl:message>
> −
> <wsdl:message name="getAllTeamsByProjectID">
> <wsdl:part element="tns:getAllTeamsByProjectID" name="parameters">
>    </wsdl:part>
> </wsdl:message>
> −
> <wsdl:portType name="ExpertFinderIFCPortType">
> −
> <wsdl:operation name="getAllTeamsByProjectID">
> <wsdl:input message="tns:getAllTeamsByProjectID"
> name="getAllTeamsByProjectID">
>    </wsdl:input>
> <wsdl:output message="tns:getAllTeamsByProjectIDResponse"
> name="getAllTeamsByProjectIDResponse">
>    </wsdl:output>
> </wsdl:operation>
> </wsdl:portType>
> −
> <wsdl:binding name="ExpertFinderIFCSoapBinding"
> type="tns:ExpertFinderIFCPortType">
> <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
> −
> <wsdl:operation name="getAllTeamsByProjectID">
> <soap:operation soapAction="" style="document"/>
> −
> <wsdl:input name="getAllTeamsByProjectID">
> <soap:body use="literal"/>
> </wsdl:input>
> −
> <wsdl:output name="getAllTeamsByProjectIDResponse">
> <soap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> −
> <wsdl:service name="ExpertFinderIFC">
> −
> <wsdl:port binding="tns:ExpertFinderIFCSoapBinding"
> name="ExpertFinderIFCPort">
> <soap:address location="http://localhost:9090/expertFinder"/>
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
> -- 
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-Premature-End-Of-File-tp3249208p3325936.html
> Sent from the cxf-issues mailing list archive at Nabble.com.


-- 
Freeman Fang

------------------------

FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message