Circular reference during serialization error

I am getting the following error when invoking an operation on my web service that returns a 'Make' object:
ERROR OWS-04046 circular reference detected while serializing: com.edmunds.vehicle.definition.Make circular reference detected while serializing: com.edmunds.vehicle.definition.Make
I am running oc4j-101310.
I can successfully call a 'createMake' operation as it returns 'void' so i know the WS is deployed correctly. The only values I am using to create the make are "Make.name" & "Manufacturer.name" so there isn't much to it. I know there are object graphs with 'models' and a parent reference to 'Manufacturer so I don't know if this has anything to do with it.
One weird thing is that this worked the first time i deployed it but then started breaking on subsequent re-deployments (maybe I'm smoking crack)...
Any help is appreciated!!
Make object:
public class Make implements Serializable {
private Long id;
private Set models;
private String name;
private Manufacturer manufacturer;
public Set getModels() {
return models;
public void setModels(Set models) {
this.models = models;
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setManufacturer(Manufacturer manufacturer) {
this.manufacturer = manufacturer;
public Manufacturer getManufacturer() {
return manufacturer;
public void setId(Long id) {
this.id = id;
public Long getId() {
return id;
Here is the SOAP request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.matchbox.edmunds.com/">
<soapenv:Header/>
<soapenv:Body>
<ws:findMakeElement>
<ws:Long_1>22</ws:Long_1>
</ws:findMakeElement>
</soapenv:Body>
</soapenv:Envelope>
Here is the SOAP response:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://ws.matchbox.edmunds.com/" xmlns:ns1="http://definition.vehicle.edmunds.com/" xmlns:ns2="http://www.oracle.com/webservices/internal/literal" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Internal Server Error (circular reference detected while serializing: com.edmunds.vehicle.definition.Make)</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>
Here is my WSDL:
<?xml version="1.0" encoding="UTF-8" ?>
<definitions
name="VehicleService"
targetNamespace="http://ws.matchbox.edmunds.com/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://ws.matchbox.edmunds.com/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:tns0="http://definition.vehicle.edmunds.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns1="http://www.oracle.com/webservices/internal/literal"
>
<types>
<schema elementFormDefault="qualified" targetNamespace="http://definition.vehicle.edmunds.com/"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.oracle.com/webservices/internal/literal"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://definition.vehicle.edmunds.com/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://ws.matchbox.edmunds.com/"/>
<import namespace="http://www.oracle.com/webservices/internal/literal"/>
<complexType name="Make">
<sequence>
<element name="manufacturer" nillable="true" type="tns:Manufacturer"/>
<element name="models" nillable="true" type="ns1:set"/>
<element name="name" nillable="true" type="string"/>
<element name="id" nillable="true" type="long"/>
</sequence>
</complexType>
<complexType name="Manufacturer">
<sequence>
<element name="makes" nillable="true" type="ns1:set"/>
<element name="name" nillable="true" type="string"/>
<element name="id" nillable="true" type="long"/>
</sequence>
</complexType>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://www.oracle.com/webservices/internal/literal"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://www.oracle.com/webservices/internal/literal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://ws.matchbox.edmunds.com/"/>
<import namespace="http://definition.vehicle.edmunds.com/"/>
<complexType name="set">
<complexContent>
<extension base="tns:collection">
<sequence/>
</extension>
</complexContent>
</complexType>
<complexType name="collection">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="anyType"/>
</sequence>
</complexType>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://ws.matchbox.edmunds.com/"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://definition.vehicle.edmunds.com/"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://ws.matchbox.edmunds.com/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://www.oracle.com/webservices/internal/literal"/>
<import namespace="http://definition.vehicle.edmunds.com/"/>
<element name="createMakeElement">
<complexType>
<sequence>
<element name="String_1" nillable="true" type="string"/>
<element name="String_2" nillable="true" type="string"/>
</sequence>
</complexType>
</element>
<element name="createMakeResponseElement">
<complexType>
<sequence/>
</complexType>
</element>
<element name="findMakeElement">
<complexType>
<sequence>
<element name="Long_1" nillable="true" type="long"/>
</sequence>
</complexType>
</element>
<element name="findMakeResponseElement">
<complexType>
<sequence>
<element name="result" nillable="true" type="ns1:Make"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="RemoteTestVehicleServiceWS_createMake">
<part name="parameters" element="tns:createMakeElement"/>
</message>
<message name="RemoteTestVehicleServiceWS_createMakeResponse">
<part name="parameters" element="tns:createMakeResponseElement"/>
</message>
<message name="RemoteTestVehicleServiceWS_findMake">
<part name="parameters" element="tns:findMakeElement"/>
</message>
<message name="RemoteTestVehicleServiceWS_findMakeResponse">
<part name="parameters" element="tns:findMakeResponseElement"/>
</message>
<portType name="RemoteTestVehicleServiceWS">
<operation name="createMake">
<input message="tns:RemoteTestVehicleServiceWS_createMake"/>
<output message="tns:RemoteTestVehicleServiceWS_createMakeResponse"/>
</operation>
<operation name="findMake">
<input message="tns:RemoteTestVehicleServiceWS_findMake"/>
<output message="tns:RemoteTestVehicleServiceWS_findMakeResponse"/>
</operation>
</portType>
<binding name="HttpSoap11Binding" type="tns:RemoteTestVehicleServiceWS">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="createMake">
<soap:operation soapAction="http://ws.matchbox.edmunds.com//createMake"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="findMake">
<soap:operation soapAction="http://ws.matchbox.edmunds.com//findMake"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="VehicleService">
<port name="HttpSoap11" binding="tns:HttpSoap11Binding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
</port>
</service>
</definitions>

Graph and Circular dependencies cannot be model with document-literal message format with POJO development style. You will need to invent your own model to break the cycle and uses a mechanism similar to href, as with RPC-encoded message format.
All the best,
-Eric

Similar Messages

  • HL7 message body serialization error

    does anyone know what this error implies?
    Error happened in body during serialization 
    Error # 1
    Alternate Error Number: 301
    Alternate Error Description: Invalid tag Id found 'ZPD'
    Alternate Encoding System: HL7-BTA

    Hi,
    According to the error, maybe that you are using multi-part message with Zsegments.  If we use an undeclared Z segment, which the integration engine will not process according to the message schema. For more information about this type
    of Z segment, see
    Handling Undeclared Z Segments.
    Hope it can help you.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Internal Server Error (circular reference detected while serializing: ....

    Hello Folks -
    I am trying to implement both ManyToMany and OneToMany relationships in J2EE EJB3.0.
    My application client has no problems, but when I expose my session bean methods as WebServices, I constantly run into this circular reference error.
    My example tables are simple:
    CREATE TABLE CLUB
    ID NUMBER NOT NULL,
    NAME VARCHAR2(100 BYTE) NOT NULL,
    CITY VARCHAR2(100 BYTE) NOT NULL,
    COUNTRY VARCHAR2(100 BYTE) NOT NULL
    TABLESPACE USERS
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    CREATE UNIQUE INDEX CLUB_PK ON CLUB
    (ID)
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    CREATE UNIQUE INDEX CLUB_UK1 ON CLUB
    (NAME, COUNTRY)
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    ALTER TABLE CLUB ADD (
    CONSTRAINT CLUB_PK
    PRIMARY KEY
    (ID)
    USING INDEX
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    ALTER TABLE CLUB ADD (
    CONSTRAINT CLUB_UK1
    UNIQUE (NAME, COUNTRY)
    USING INDEX
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    CREATE TABLE CONTRACTPERIOD
    ID NUMBER NOT NULL,
    PYR_ID NUMBER NOT NULL,
    CUB_ID NUMBER NOT NULL,
    START_DATE DATE NOT NULL,
    END_DATE DATE
    TABLESPACE USERS
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    CREATE UNIQUE INDEX CONTRACTPERIOD_PK ON CONTRACTPERIOD
    (ID)
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    ALTER TABLE CONTRACTPERIOD ADD (
    CONSTRAINT CONTRACTPERIOD_PK
    PRIMARY KEY
    (ID)
    USING INDEX
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    ALTER TABLE CONTRACTPERIOD ADD (
    CONSTRAINT CONTRACTPERIOD_FK
    FOREIGN KEY (PYR_ID)
    REFERENCES PLAYER (ID)
    ON DELETE CASCADE);
    ALTER TABLE CONTRACTPERIOD ADD (
    CONSTRAINT CONTRACTPERIOD_FK2
    FOREIGN KEY (CUB_ID)
    REFERENCES CLUB (ID)
    ON DELETE CASCADE);
    CREATE TABLE PLAYER
    ID NUMBER NOT NULL,
    FIRSTNAME VARCHAR2(30 BYTE) NOT NULL,
    LASTNAME VARCHAR2(30 BYTE) NOT NULL,
    NATIONALITY VARCHAR2(30 BYTE) NOT NULL,
    BIRTHDATE DATE NOT NULL
    TABLESPACE USERS
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    CREATE UNIQUE INDEX PLAYERS_PK ON PLAYER
    (ID)
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    ALTER TABLE PLAYER ADD (
    CONSTRAINT PLAYERS_PK
    PRIMARY KEY
    (ID)
    USING INDEX
    TABLESPACE USERS
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    Also the Stateless session bean is simple:
    package demo;
    import java.util.Collection;
    import java.util.List;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.EntityTransaction;
    import javax.persistence.Persistence;
    import javax.persistence.Query;
    @Stateless
    @WebService
    public class JavaServiceFacade {
    private EntityManagerFactory emf = Persistence.createEntityManagerFactory("demo-1");
    public JavaServiceFacade() {
    public static void main(String [] args) {
    final JavaServiceFacade javaServiceFacade = new JavaServiceFacade();
    // TODO: Call methods on javaServiceFacade here...
    Collection<Player> playerCollection = javaServiceFacade.queryPlayerFindAll();
    for (Player player : playerCollection){
    System.out.println(player.getFirstname()+" "+player.getLastname()+"\n");
    Collection<Club> clubCollection = (Collection<Club>)javaServiceFacade.queryClubFindAll();
    for (Club club : clubCollection){
    System.out.println(club.getName()+"\n");
    List<Contractperiod> contractperiodList= player.getContractperiodList();
    for (Contractperiod contractperiod : contractperiodList){
    System.out.println("contracts: "+ contractperiod.getClub().getName() + ": from: "
    contractperiod.getStartDate()" to: " contractperiod.getEndDate() "\n");
    private EntityManager getEntityManager() {
    return emf.createEntityManager();
    public Object mergeEntity(Object entity) {
    final EntityManager em = getEntityManager();
    try {
    final EntityTransaction et = em.getTransaction();
    try {
    et.begin();
    em.merge(entity);
    et.commit();
    } finally {
    if (et != null && et.isActive()) {
    entity = null;
    et.rollback();
    } finally {
    if (em != null && em.isOpen()) {
    em.close();
    return entity;
    public Object persistEntity(Object entity) {
    final EntityManager em = getEntityManager();
    try {
    final EntityTransaction et = em.getTransaction();
    try {
    et.begin();
    em.persist(entity);
    et.commit();
    } finally {
    if (et != null && et.isActive()) {
    entity = null;
    et.rollback();
    } finally {
    if (em != null && em.isOpen()) {
    em.close();
    return entity;
    /** <code>select o from Club o</code> */
    public List<Club> queryClubFindAll() {
    Query query = getEntityManager().createNamedQuery("Club.findAll");
    return (List<Club>) query.getResultList();
    public void removeClub(Club club) {
    final EntityManager em = getEntityManager();
    try {
    final EntityTransaction et = em.getTransaction();
    try {
    et.begin();
    club = em.find(Club.class, club.getId());
    et.commit();
    } finally {
    if (et != null && et.isActive()) {
    et.rollback();
    } finally {
    if (em != null && em.isOpen()) {
    em.close();
    /** <code>select o from Contractperiod o</code> */
    public List<Contractperiod> queryContractperiodFindAll() {
    Query query = getEntityManager().createNamedQuery("Contractperiod.findAll");
    return (List<Contractperiod>) query.getResultList();
    public void removeContractperiod(Contractperiod contractperiod) {
    final EntityManager em = getEntityManager();
    try {
    final EntityTransaction et = em.getTransaction();
    try {
    et.begin();
    contractperiod = em.find(Contractperiod.class, contractperiod.getId());
    et.commit();
    } finally {
    if (et != null && et.isActive()) {
    et.rollback();
    } finally {
    if (em != null && em.isOpen()) {
    em.close();
    /** <code>select o from Player o</code> */
    public List<Player> queryPlayerFindAll() {
    Query query = getEntityManager().createNamedQuery("Player.findAll");
    return (List<Player>) query.getResultList();
    public void removePlayer(Player player) {
    final EntityManager em = getEntityManager();
    try {
    final EntityTransaction et = em.getTransaction();
    try {
    et.begin();
    player = em.find(Player.class, player.getId());
    et.commit();
    } finally {
    if (et != null && et.isActive()) {
    et.rollback();
    } finally {
    if (em != null && em.isOpen()) {
    em.close();
    public void removeClub(Club player) {
    final EntityManager em = getEntityManager();
    try {
    final EntityTransaction et = em.getTransaction();
    try {
    et.begin();
    player = em.find(Player.class, player.getId());
    et.commit();
    } finally {
    if (et != null && et.isActive()) {
    et.rollback();
    } finally {
    if (em != null && em.isOpen()) {
    em.close();
    (A few commented lines, as I tried both OneToMany and ManyToMany...)
    my Webservice result, after deploying to OC4J Standalone, is always the same:
    Entity Beans:
    package demo;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.List;
    import javax.persistence.CascadeType;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.ManyToMany;
    import javax.persistence.NamedQuery;
    import javax.persistence.OneToMany;
    @Entity
    @NamedQuery(name = "Club.findAll", query = "select o from Club o")
    public class Club implements Serializable {
    @Column(nullable = false)
    private String city;
    @Column(nullable = false)
    private String country;
    @Id
    @Column(nullable = false)
    private Long id;
    @Column(nullable = false)
    private String name;
    @ManyToMany(mappedBy = "clubCollection",cascade={CascadeType.PERSIST})
    private Collection<Player> playerCollection;
    public Club() {
    public String getCity() {
    return city;
    public void setCity(String city) {
    this.city = city;
    public String getCountry() {
    return country;
    public void setCountry(String country) {
    this.country = country;
    public Long getId() {
    return id;
    public void setId(Long id) {
    this.id = id;
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    public Collection<Player> getPlayerCollection() {
    return playerCollection;
    public void setPlayerCollection(Collection<Player> playerCollection) {
    this.playerCollection = playerCollection;
    public Contractperiod addContractperiod(Contractperiod contractperiod) {
    getContractperiodList().add(contractperiod);
    contractperiod.setClub(this);
    return contractperiod;
    public Contractperiod removeContractperiod(Contractperiod contractperiod) {
    getContractperiodList().remove(contractperiod);
    contractperiod.setClub(null);
    return contractperiod;
    package demo;
    import java.io.Serializable;
    import java.sql.Timestamp;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToOne;
    import javax.persistence.NamedQuery;
    @Entity
    @NamedQuery(name = "Contractperiod.findAll",
    query = "select o from Contractperiod o")
    public class Contractperiod implements Serializable {
    @Column(name="END_DATE")
    private Timestamp endDate;
    @Id
    @Column(nullable = false)
    private Long id;
    @Column(name="START_DATE", nullable = false)
    private Timestamp startDate;
    @ManyToOne
    @JoinColumn(name = "PYR_ID", referencedColumnName = "ID")
    private Player player;
    @ManyToOne
    @JoinColumn(name = "CUB_ID", referencedColumnName = "ID")
    private Club club;
    public Contractperiod() {
    public Timestamp getEndDate() {
    return endDate;
    public void setEndDate(Timestamp endDate) {
    this.endDate = endDate;
    public Long getId() {
    return id;
    public void setId(Long id) {
    this.id = id;
    public Timestamp getStartDate() {
    return startDate;
    public void setStartDate(Timestamp startDate) {
    this.startDate = startDate;
    public Player getPlayer() {
    return player;
    public void setPlayer(Player player) {
    this.player = player;
    public Club getClub() {
    return club;
    public void setClub(Club club) {
    this.club = club;
    package demo;
    import java.io.Serializable;
    import java.sql.Timestamp;
    import java.util.Collection;
    import java.util.List;
    import javax.persistence.CascadeType;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.JoinTable;
    import javax.persistence.ManyToMany;
    import javax.persistence.NamedQuery;
    import javax.persistence.OneToMany;
    @Entity
    @NamedQuery(name = "Player.findAll", query = "select o from Player o")
    public class Player implements Serializable {
    @Column(nullable = false)
    private Timestamp birthdate;
    @Column(nullable = false)
    private String firstname;
    @Id
    @Column(nullable = false)
    private Long id;
    @Column(nullable = false)
    private String lastname;
    @Column(nullable = false)
    private String nationality;
    @ManyToMany
    @JoinTable(name="CONTRACTPERIOD",
    joinColumns=@JoinColumn(name="PYR_ID"),
    inverseJoinColumns=@JoinColumn(name="CUB_ID"))
    private Collection<Club> clubCollection;
    public Player() {
    public Timestamp getBirthdate() {
    return birthdate;
    public void setBirthdate(Timestamp birthdate) {
    this.birthdate = birthdate;
    public String getFirstname() {
    return firstname;
    public void setFirstname(String firstname) {
    this.firstname = firstname;
    public Long getId() {
    return id;
    public void setId(Long id) {
    this.id = id;
    public String getLastname() {
    return lastname;
    public void setLastname(String lastname) {
    this.lastname = lastname;
    public String getNationality() {
    return nationality;
    public void setNationality(String nationality) {
    this.nationality = nationality;
    public Collection<Club> getClubCollection() {
    return clubCollection;
    public void setClubCollection(Collection<Club> clubCollection) {
    this.clubCollection = clubCollection;
    public Contractperiod addContractperiod(Contractperiod contractperiod) {
    getContractperiodList().add(contractperiod);
    contractperiod.setPlayer(this);
    return contractperiod;
    public Contractperiod removeContractperiod(Contractperiod contractperiod) {
    getContractperiodList().remove(contractperiod);
    contractperiod.setPlayer(null);
    return contractperiod;
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://demo/">
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Internal Server Error (circular reference detected while serializing: demo.Contractperiod)</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Anyone else run into this Troll?
    All suggestions(almost all) received with thanks.
    Regards,
    Charles
    Some strange error messages in Diagnostic Logs:
    Log Message: September 18, 2006 3:58:02 PM CEST
         Component Name          OC4J          Component ID          j2ee
         Host Network Address          192.168.1.69          Message Level          1
         Module ID          home_ejb.transaction          User ID          Charles
         Execution Context ID          192.168.1.69:35920:1158587882221:405          Execution Context Sequence          0
         Host Name          vmware          Message ID          J2EE EJB-08006
         Thread ID          44          Message Type          Error
         J2EE Application Module          OraPorterAPIdeploy          J2EE Application          OraPorterAPIdeploy
         Web Service Port          JavaServiceFacade          Web Service Name          JavaServiceFacadeService
    Message Text
    [JavaServiceFacade:public java.util.List demo.JavaServiceFacade.queryClubFindAll()] exception occurred during method invocation: oracle.
    Supplemental Text
    oracle.oc4j.rmi.OracleRemoteException: java.lang.IllegalStateException: ClassLoader "OraPorterAPIdeploy.root:0.0.0" (from <application>
    in /C:/Oracle/oc4j/j2ee/home/applications/OraPorterAPIdeploy/): This loader has been closed and should not be in use.
    Nested exception is:
    java.lang.IllegalStateException: ClassLoader "OraPorterAPIdeploy.root:0.0.0" (from <application> in /C:/Oracle/oc4j/j2ee/home/applications/OraPorterAPIdeploy/):
    This loader has been closed and should not be in use.
    ........This loader has been
    closed and should not be in use.; nested exception is:
    java.lang.IllegalStateException: ClassLoader
    Message was edited by:
    promise
    Message was edited by:
    promise

    Hei Guys -
    I see that the ClassLoader exceptions are known, and are "to be ignored".
    I left a reference to them, in case they play into our problems anyway.....
    "java.lang.IllegalStateException: ClassLoader" - known harmless bug... ?
    Best Regards,
    Charles

  • Test Service Provider throwing an error u201CAn Error occurred during serializa

    Hi Experts,
    Pl. help me out to solve this error.
    When I test my service in Test Service Provider, it is throwing an error u201CAn Error occurred during serialization in the simple transformation program /1Sal/TASC6F348B109136617F160u201D.
    Thanks & Regards
    T.Tamodarane

    Hi,
    Serialization error occurs when you are passing some invalid values.
    Example: characters is a numeric field.
    Kindly check your input once.
    Regards,
    Vikas

  • Phantom circular reference errors in spreadsheet

    I'm getting phantom circular reference errors in one of my Appleworks spreadsheets.
    I'm trying to compute the average of several sets of pairs of numbers, I have max of three pairs per line, and I'm using COUNT to determine how many pairs are present. I'm getting "can't resolve circular reference" errors occasionally when I fill down and add data for a new line, even though there aren't any circular references.
    Columns
    A= date, B=average X, C=averageY, D=number of pairs for this line
    E F = first pair, G H = second pair, I J = third pair.
    The second and third pair don't occur every day.
    These are the formulas I'm using,
    B average_X =(E_line# + G_line# + Iline#)/Dline#
    C average_Y =(F_line# + H_line# + Jline#)/Dline#
    D numPairs =COUNT(Eline#...Jline#)/2
    I add a new line each day.
    Its worked just fine until I went over 100 lines and now I occasionally get "can't resolve circular reference" erros, and the calculation cells, but there AREN'T any circular references.
    Anyone have any idea whats going on?

    I'm using AW 6.2.7 I'm on OS X 10.3.9
    I tried it with removing the AVERAGE and COUNT functions and it still happens.
    Seems like its somehow related to any references to columns J and K, even if there's no data in those cells, and no references to other cells.
    Its related to the COUNT function.
    If I drop off the last two columns it all seems to work ok.
    =(F153+H153)/(E153/2)
    where E153 is =COUNT(F153..I153)
    But if I try to use the last pair (columns J and K) it gets errors
    =(F153H153I153)/(E153/2)
    where E153 is =COUNT(F153..K153)
    DOES the COUNT function have a limitation to how many cells it can reference?
    It seems like for some reason the J column is corrupted. sometimes if there is any number in colum J it gets "circular reference error" EVEN though there is NO circulare reference only a number.
    BUT when I delete the number from Column J the error goes away.

  • Server Error (circular reference detected while serializing: )

    Hi,
    I just installed OC4J and it looks great. I have a problem however ...
    I used JBuilder to generate entity beans from database. Then I generated a session bean with facade methods, and finally I created a session bean which injects the facade and is annotated with @WebService to publish a method (so that I could test the entity).
    However, when trying to run findAllEmployees() I get this error returned:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://logic.porter.xait.no/" xmlns:ns1="http://www.oracle.com/webservices/internal/literal"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Internal Server Error (circular reference detected while serializing: no.bie.persistence.Employee)</faultstring></env:Fault></env:Body></env:Envelope>
    I suspect this has something to do with the relationships between tables (@OneToMany etc.) -- but does anyone have more information on what would cause this problem and how to fix it?
    Thanks!

    Hei Guys -
    I see that the ClassLoader exceptions are known, and are "to be ignored".
    I left a reference to them, in case they play into our problems anyway.....
    "java.lang.IllegalStateException: ClassLoader" - known harmless bug... ?
    Best Regards,
    Charles

  • Circular reference error

    Hi all,
    In a Check payment PLD,  when I am create new formula field  when I am adding formula Concat(F_196,ToString(Field_150))
    Its shows Circular reference have been detected ,Document may not print correctly .
    pl suggest me
    Thanks
    Nitin

    Hi Sir,
    Thank You very much.
    Regards
    Nitin

  • Circular reference detected while serializing

    I have been trying hard to get this resolved this, but haven't reached to any conclusion.
    Here is my situation.
    I have two entities called Parent and Child, where parent has a refernce to many child and child has one parent so inturn there is OneToMany(Bidirectional) relationship between them. When i expose this as a webservice I get the following exception :
    <faultstring>Internal Server Error (circular reference detected while serializing: com.thoughtclicks.Parent)</faultstring>
    This error occurs incase i expose the service as Document/Literal, incase i expose this service as RPC Encoded then this exception doesn�t occurs and everything is fine, but Axis2 doesn;t support client generation for RPC/Encoded so again a problem.
    Also, I have already tried putting @XMLTransient annotation on getChild() of the Parent class, but it doesn�t help and i continue getting the same error.
    Let me know if there is a work around for this solution.
    Any pointers are highly appreciated.
    Thanks,
    Rahul

    Hello,
    You might want to post this in the JDev/ADF forum, as it is not related to TopLink/JPA. The error seems to indicate that you are getting the problem because it is finding Location has a reference to an association that has a reference back to the same location, causing a problem when creating the copies for serialization. I am not familar with this problem, but there is likely a way to mark one of these references as transient to the serialization process so that it is no longer a loop - yet can still be used in your object model and in JPA. Something like @XmlTransient for JAXB.
    Best Regards,
    Chris

  • Circular references in Hashtable

    Hi,
    I was wondering if anyone could help me in determining when circular references appear in java.util.Hashtable I have written a class that serializes any arbitrary java object into XML. The problem occurs when the object contains many references to Hashtables. The serializer does not know how to handle circular references and goes into an infinite loop causing a stack overflow. Any help would be greatly appreciated.

    Hi.
    The solution is simple: keep all the processed objects in a set or map. Before sending an object check if it was already processed. If not, process it. If yes, place a reference in the XML file that will enable you to read find it during the read.
    Java Serialization uses a "serial number" for the objects it serializes. It keeps something like an HashMap of the objects already serialized. When writing, if it finds an object already writen it only writes its serial number. When reading a serial number it uses a map of the objects already read to find the object.
    Hope this helps,
    Nuno

  • XML Serialization Error- While testing BAPI turned Web service

    I have a requirement to create sales order in SAP R/3 from an e-commerce site. I went through many forums suggesting "exposing FMs into Web Service". I wrapped BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT into one FM and exposed as Web Service. I did a successful test-sequence.
    When I tested the web service without giving values I got a response asking for "Sold-to Party or Ship-To Party". While testing the Web service with some values, I got the below error -
    XML Serialization Error. Object content does not correspond to Schema restrictions of type [urn:sap-com:document:sap:rfc:functions][numeric4].
    The e-commerce team tried to hit the Web service and got the below error-
    IWAB0383E Error validating parameters
    Note: Our servers does not have any ENHPacks. Only ECC 6.0.
    Please suggest what might have gone wrong and how to resolve this.
    Thanks!

    Hi Gourav Khare,
    I have created WSDL file through function module in SAP-ECC 5.0v.
    I have followed below steps:
    Crated FM (SE37)
    Crated Web-service (SE37)
    Generated WSDL file using (WSADMIN)
    And consumed WSDF file in SOAP UI (SOAP UI 4.5.2 Trailer version)
    Problem is: while consuming WSDL file in  SOAP UI I getting  ‘Serialisation failed’
    For your reference I have furnished xml string below.
    SOAP UI Input:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:rfc:functions">
    <soapenv:Header/>
    <soapenv:Body>
    <urn:YSDF_INV_PRINT_FINAL_RFC_WS_N>
    <!--Optional:-->
    <PWR_INVOICE>
    <INVOICE_SHIPPED_LINE>
    <!--Zero or more repetitions:-->
    <item>
    <POSITION1></POSITION1>
    <SALES_PART></SALES_PART>
                      <PART_DESC></PART_DESC>
    <PRICE></PRICE>
    <QUANTITY></QUANTITY>
    <CUSTOMER_TAX_NO></CUSTOMER_TAX_NO>
    <PROD_NONINVENTORY></PROD_NONINVENTORY>
    <PROD_TAXABLE></PROD_TAXABLE>
    <TAX_LEVEL></TAX_LEVEL>
    </item>
    </INVOICE_SHIPPED_LINE>
    <INVOICE_NO></INVOICE_NO>
    <ORDER_NO></ORDER_NO>
    <DATE_PRINTED></DATE_PRINTED>
    <DIV_CD></DIV_CD>
                <LAST_COST_INVOICE></LAST_COST_INVOICE>
    <DELETE_ZERO_COST></DELETE_ZERO_COST>
    <DELETE_NON_SHIPPED></DELETE_NON_SHIPPED>
    <GLOBALREF></GLOBALREF>
    <ORIGIN></ORIGIN>
    <ORIGINID></ORIGINID>
    </PWR_INVOICE>
    </urn:YSDF_INV_PRINT_FINAL_RFC_WS_N>
    </soapenv:Body>
    </soapenv:Envelope>
    SOAP UI Output:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <soap-env:Fault>
    <faultcode>soap-env:Client</faultcode>
    <faultstring xml:lang="en">Serialisation failed</faultstring>
    <detail>
    <n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
    <MainName>/1BCDWB/WSS0130716111624448000</MainName>
    <ProgName>/1BCDWB/WSS0130716111624448000</ProgName>
    <Line>8</Line>
    <Valid>X</Valid>
    <ReferenceFault>
    <DescriptionText>Error accessing the ref. node 'INVOICE_ID'</DescriptionText>
    <RefName>INVOICE_ID</RefName>
    </ReferenceFault>
    <Caller>
                      <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
    <Method>IF_SXML_PART~DECODE</Method>
    <Positions>1</Positions>
    </Caller>
    </n0:SimpleTransformationFault>
    </detail>
    </soap-env:Fault>
    </soap-env:Body>
    </soap-env:Envelope>
    And one more things are
    I don't know the exact reason, but now the WSDL is working fine. No Idea, will it be consistent.
    No changes in import and export parameters of RFC and no change in code, even if the logic is changed it should not affect the output on SOAP UI but in my case it does.
    Wonder why all this happens, I cannot explain the exact reason technically because my RFC works fine every time, only issue is with SOAP UI.
    From SAP point of view FM is working fine, and input parameter of FM is optional, validations are done by the programming logic and it will capture the message and its details with respect to input data.
    I am not sure SOAP will work consistently and we are using ECC 5.0 most of the t-code not there like "SOAMANAGER" and all.  
    Kindly help me on this
    Thanks & Regards,
       Akshath.L.T

  • EDI Serialization error

    I'm getting an error when my msg hits the outgoing EDI assembler that really has me scratching my head. I drop a flat file that is mapped to an 835. The map seems to run well, but the msg gets suspended with the following error:
    "During serialization root node is not placed at start element"
    I though maybe the msg that was hitting the EDI outgoing pipeline was not the msg I intended, and maybe the flatfile msg was getting through, so I looked up the suspended msg and sure enough it is the XML. So, I copied the XML and created a file. I then
    changed my incoming pipeline to accept XML, dropped the file and the EDI 835 was created successfully. 
    I've never seen this error before. Have any of you? Googling it just suggests that the msg may not correctly start with a proper "ST" segment, but again, it ran fine when I dropped the XML msg.
    Any suggestions?
    Thanks.

    Hi ,
    You can use  XmlTransmit pipeline. Doing this gives you access to a pipeline
    PreserveBOM instance property that will strip the BOM from the message for you if you change it from its default setting of “True” to “False”:
    Or you can do something like this
    1)create a variable of type XMLdocument  =xmldoc;
    2)Store the message in xmldoc : xmldoc = message1;
    Pass the xmlodc to class library funtion
    if (xml.StartsWith(ByteOrderMarkUtf8))
        xml = xml.Remove(0,
    ByteOrderMarkUtf8.Length);
    Thanks
    Abhishek

  • Circular references between stored procedures

    Hi, i need help about circular references. I have two stored procedures that references like that:
    create or replace
    procedure ciclico2 as
    begin
    ciclico1;
    end;
    create or replace
    procedure ciclico1 as
    begin
    ciclico2;
    end;
    I can't compile both... so i want to know if there are ways to do that...
    Thanks
    Marcos (from Argentina... with a medium level english)

    ¡Hola, Marcos!
    If the procedures are in packages (or the same package), you can compile the package specs first, and then the package bodies.
    It's simpler if both procedures are in the same package:
    CREATE OR REPLACE PACKAGE     pk_fubar
    AS
    PROCEDURE ciclico1;
    PROCEDURE ciclico2;
    END       pk_fubar;
    SHOW ERRORS
    CREATE OR REPLACE PACKAGE BODY     pk_fubar
    AS
    PROCEDURE ciclico1
    IS
    BEGIN
            ciclico2;
    END        ciclico1
    PROCEDURE ciclico2
    IS
    BEGIN
            ciclico1;
    END        ciclico2
    END     pk_fubar
    SHOW ERRORSOr you could put just one of them in a package.
    The important thing is that you can compile a package spec and a package body separately.
    You can compile anything that references a function in a package if a valid package spec exists; the package body may be invalid, or it may not exist at all. The package body has to exist and be valid before you run the procedure that calls it, of course, but not necessarily when you compile it.

  • "Circular reference"  dont work in Numbers????

    I am an OLD Excel-user:) My big spreadsheets worked VERY-good there; even those which are full of "circulare references" it could handle.
    And now I have changed to Numbers and have transferred my spreadsheet from Excel to Numbers.
    The simple spreadsheets works very fine in Numbers too.
    But not my big spreadsheets with those "circulare references" - I get a LOTS of error-messages there.
    - I used nearly all my holiday in trying to handle those "circulare references":::::::::: sooooo I am hoping that someone kind/CLEVER person inhere might be able to help me - to tell me how to handle it....:)
    TX a lot.....

    Hello
    It's not a bug, it's a choice.
    The engineers choose to treat a circular ref as an error.
    I know that some others made an other choice but I am unable to tell which is right.
    On the forum, we are not Apple employees but users trying to help other users. So I doubt that some one may help you here.
    Just a track, maybe you may use the ISERR() function to intercept the oddity but you will not be able to change the standard behaviour: a cell is not allowed to use it's contents in calculations.
    The best thing to do is:
    *Go to "Provide Numbers Feedback" in the "Numbers" menu*, describe what you wish.
    Then, cross your fingers, and wait for iWork'09
    Yvan KOENIG (from FRANCE mercredi 2 janvier 2008 15:52:49)

  • Serialization error while returning Value Object from Web Service

    Hi
    I have developed a sample Web Service (RPC based), it returns Customer Value Object
    when client calls getCustomer method.
    I have written a Client (attached the client source code) to invoke the web service
    when the client invokes the Web Service it throws an Exception , the Exception
    Exception in thread "main" serialization error: no serializer is registered for
    (null, {java:customer}Customer)
    at com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer(DynamicInternalTypeMappingRegistry.java:62)
    at com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPResponseSerializer.java:72)
    at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(ReferenceableSerializerImpl.java:47)
    at com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCall.java:382)
    at com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.java:364)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
    at ClientwithWSDL.main(ClientwithWSDL.java:63)
    CAUSE:
    no serializer is registered for (null, {java:customer}Customer)
    at com.sun.xml.rpc.encoding.TypeMappingUtil.getSerializer(TypeMappingUtil.java:41)
    at com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(InternalTypeMappingRegistryImpl.java:287)
    at com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer(DynamicInternalTypeMappingRegistry.java:47)
    at com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPResponseSerializer.java:72)
    at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(ReferenceableSerializerImpl.java:47)
    at com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCall.java:382)
    at com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.java:364)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
    at ClientwithWSDL.main(ClientwithWSDL.java:63)
    If someone can help me to fix the issue, it will be great.
    Thanks
    Jeyakumar Raman.

    I guess, this is because the RI client is not finding the
    codec to ser/deser your Value Object. You need to register
    the codec in the type mapping registry before you invoke
    the web service method.
    Here is a sample:
    Service service = factory.createService( serviceName );
    TypeMappingRegistry registry = service.getTypeMappingRegistry();
    TypeMapping mapping = registry.getTypeMapping(
    SOAPConstants.URI_NS_SOAP_ENCODING );
    mapping.register( SOAPStruct.class,
    new QName( "http://soapinterop.org/xsd", "SOAPStruct" ),
    new SOAPStructCodec(),
    new SOAPStructCodec() );
    BTW, you can do the same exact thing on the client by using
    WLS impl of JAX-RPC. Is there a reason for using RI on the
    client side?
    regards,
    -manoj
    "Jeyakumar Raman" <[email protected]> wrote in message news:[email protected]...
    Hi Manoj,
    Thanks for your information, Yes, my client is Sun's JAX-RPC based, but the Server
    Implementation is done using Weblogic 7.0. When I invoke the Client without WSDL.
    It works fine without any problem. But when I invoke the webservice using WSDL,
    I am getting this problem.
    Here is my Client Code :
    * This class demonstrates a java client invoking a WebService.
    import java.net.URL;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.Call;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.namespace.QName;
    import customer.Customer;
    public class ClientwithWSDL {
    private static String qnameService = "CustomerService";
    private static String qnamePort = "CustomerServicePort";
    private static String BODY_NAMESPACE_VALUE =
    "http://jeyakumar_3957:7001/Customer";
    private static String ENCODING_STYLE_PROPERTY =
    "javax.xml.rpc.encodingstyle.namespace.uri";
    private static String NS_XSD =
    "http://www.w3.org/2001/XMLSchema";
    private static String URI_ENCODING =
    "http://schemas.xmlsoap.org/soap/encoding/";
    private static String method="getCustomer";
    private static String endpoint="http://jeyakumar_3957:7001/webservice/CustomerService?WSDL";
    public static void main(String[] args) throws Exception {
    // create service factory
    ServiceFactory factory = ServiceFactory.newInstance();
    // define qnames
    QName serviceName =new QName(BODY_NAMESPACE_VALUE, qnameService);
    QName portName = new QName(BODY_NAMESPACE_VALUE, qnamePort);
    QName operationName = new QName("",method);
    URL wsdlLocation = new URL(endpoint);
    // create service
    Service service = factory.createService(wsdlLocation, serviceName);
    // create call
    Call call = service.createCall(portName, operationName);
    // invoke the remote web service
    Customer result = (Customer) call.invoke(new Object[0]);
    System.out.println("\n");
    System.out.println(result);
    "manoj cheenath" <[email protected]> wrote:
    >
    >
    >Hi Jayakumar,
    >
    >From the stack trace it looks like you are using sun's
    >RI of JAX-RPC. I am not sure what is going wrong with RI.
    >
    >WLS 7.0 got its own implementation of JAX-RPC. Check
    >out the link below for details:
    >
    >http://edocs.bea.com/wls/docs70/webserv/index.html
    >
    >
    >Let us know if you need more details.
    >
    >--=20
    >
    >regards,
    >-manoj
    >
    >
    >
    > "Jeyakumar" <[email protected]> wrote in message =
    >news:[email protected]...
    >
    > Hi
    >
    > I have developed a sample Web Service (RPC based), it returns Customer
    >=
    >Value Object
    > when client calls getCustomer method.
    >
    > I have written a Client (attached the client source code) to invoke
    >=
    >the web service
    > when the client invokes the Web Service it throws an Exception , the
    >=
    >Exception
    >
    >
    > Exception in thread "main" serialization error: no serializer is =
    >registered for
    > (null, {java:customer}Customer)
    > at =
    >com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
    >(DynamicInternalTypeMappingRegistry.java:62)
    >
    > at =
    >com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
    >nseSerializer.java:72)
    > at =
    >com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
    >ableSerializerImpl.java:47)
    > at =
    >com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
    >l.java:382)
    > at =
    >com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
    >va:364)
    > at =
    >com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
    > at ClientwithWSDL.main(ClientwithWSDL.java:63)
    >
    > CAUSE:
    >
    > no serializer is registered for (null, {java:customer}Customer)
    > at =
    >com.sun.xml.rpc.encoding.TypeMappingUtil.getSerializer(TypeMappingUtil.ja=
    >va:41)
    > at =
    >com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(In=
    >ternalTypeMappingRegistryImpl.java:287)
    > at =
    >com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
    >(DynamicInternalTypeMappingRegistry.java:47)
    >
    > at =
    >com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
    >nseSerializer.java:72)
    > at =
    >com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
    >ableSerializerImpl.java:47)
    > at =
    >com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
    >l.java:382)
    > at =
    >com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
    >va:364)
    > at =
    >com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)
    > at ClientwithWSDL.main(ClientwithWSDL.java:63)
    >
    > If someone can help me to fix the issue, it will be great.
    >
    > Thanks
    > Jeyakumar Raman.
    >
    >
    ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    ><HTML><HEAD>
    ><META http-equiv=3DContent-Type content=3D"text/html; =
    >charset=3Diso-8859-1">
    ><META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
    ><STYLE></STYLE>
    ></HEAD>
    ><BODY bgColor=3D#ffffff>
    ><DIV><FONT face=3DCourier size=3D2>Hi Jayakumar,</FONT></DIV>
    ><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
    ><DIV><FONT face=3DCourier size=3D2>From the stack trace it looks like
    >=
    >you are using=20
    >sun's</FONT></DIV>
    ><DIV><FONT face=3DCourier size=3D2>RI of JAX-RPC. I am not sure
    >=
    >what is going=20
    >wrong with RI.</FONT></DIV>
    ><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
    ><DIV><FONT face=3DCourier size=3D2>WLS 7.0 got its own implementation
    >of =
    >
    ></FONT><FONT face=3DCourier size=3D2>JAX-RPC. Check</FONT></DIV>
    ><DIV><FONT face=3DCourier size=3D2>out the link below for =
    >details:</FONT></DIV>
    ><DIV><FONT face=3DCourier size=3D2></FONT><FONT face=3DCourier=20
    >size=3D2></FONT> </DIV>
    ><DIV><FONT face=3DCourier size=3D2><A=20
    >href=3D"http://edocs.bea.com/wls/docs70/webserv/index.html">http://edocs.=
    >bea.com/wls/docs70/webserv/index.html</A></FONT></DIV>
    ><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
    ><DIV><FONT face=3DCourier size=3D2></FONT> </DIV>
    ><DIV><FONT face=3DCourier size=3D2>Let us know if you need more=20
    >details.</FONT></DIV>
    ><DIV><BR>-- <BR><BR>regards,<BR>-manoj</DIV>
    ><DIV> </DIV>
    ><DIV><BR> </DIV>
    ><BLOCKQUOTE=20
    >style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
    >BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    > <DIV>"Jeyakumar" <<A=20
    > href=3D"mailto:[email protected]">[email protected]</A>>
    >=
    >wrote in=20
    > message <A=20
    > =
    >href=3D"news:[email protected]">news:[email protected]=
    >a.com</A>...</DIV><BR>Hi<BR><BR>I=20
    > have developed a sample Web Service (RPC based), it returns Customer
    >=
    >Value=20
    > Object<BR>when client calls getCustomer method.<BR><BR>I have written
    >=
    >a Client=20
    > (attached the client source code) to invoke the web service<BR>when
    >=
    >the client=20
    > invokes the Web Service it throws an Exception , the=20
    > Exception<BR><BR><BR>Exception in thread "main" serialization error:
    >=
    >no=20
    > serializer is registered for<BR>(null,=20
    > {java:customer}Customer)<BR>
    >=
    >at=20
    > =
    >com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
    >(DynamicInternalTypeMappingRegistry.java:62)<BR><BR> &nb=
    >sp; =20
    > at=20
    > =
    >com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
    >nseSerializer.java:72)<BR> =20
    > at=20
    > =
    >com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
    >ableSerializerImpl.java:47)<BR> =
    >=20
    > at=20
    > =
    >com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
    >l.java:382)<BR> =20
    > at=20
    > =
    >com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
    >va:364)<BR> =20
    > at=20
    > =
    >com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)<BR> =
    > =20
    > at ClientwithWSDL.main(ClientwithWSDL.java:63)<BR><BR>CAUSE:<BR><BR>no
    >=
    >
    > serializer is registered for (null,=20
    > {java:customer}Customer)<BR>
    >=
    >at=20
    > =
    >com.sun.xml.rpc.encoding.TypeMappingUtil.getSerializer(TypeMappingUtil.ja=
    >va:41)<BR> =20
    > at=20
    > =
    >com.sun.xml.rpc.encoding.InternalTypeMappingRegistryImpl.getSerializer(In=
    >ternalTypeMappingRegistryImpl.java:287)<BR> =
    > =20
    > at=20
    > =
    >com.sun.xml.rpc.encoding.DynamicInternalTypeMappingRegistry.getSerializer=
    >(DynamicInternalTypeMappingRegistry.java:47)<BR><BR> &nb=
    >sp; =20
    > at=20
    > =
    >com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.initialize(SOAPRespo=
    >nseSerializer.java:72)<BR> =20
    > at=20
    > =
    >com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.initialize(Reference=
    >ableSerializerImpl.java:47)<BR> =
    >=20
    > at=20
    > =
    >com.sun.xml.rpc.client.dii.BasicCall.createRpcResponseSerializer(BasicCal=
    >l.java:382)<BR> =20
    > at=20
    > =
    >com.sun.xml.rpc.client.dii.BasicCall.getResponseDeserializer(BasicCall.ja=
    >va:364)<BR> =20
    > at=20
    > =
    >com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:259)<BR> =
    > =20
    > at ClientwithWSDL.main(ClientwithWSDL.java:63)<BR><BR>If someone can
    >=
    >help me=20
    > to fix the issue, it will be great.<BR><BR>Thanks<BR>Jeyakumar=20
    >Raman.</BLOCKQUOTE></BODY></HTML>
    >
    >
    [att1.html]

  • Failed Application Installs During TS error 0x87d00269

    The task sequence execution engine failed executing the action (Install Applications) in the group (Build the Reference Machine) with the error code 2278556265
    Action output: ... tallapplication\installapplication.cpp,1065)
    Step 2 out of 2 complete
    Sending error status message
       Setting URL = http://xy.axy.com, Ports = 80,443, CRL = false
       Setting Server Certificates.
       Setting Authenticator.
    Set authenticator in transport
       Setting Media Certificate.
    Install application action failed: 'Mozilla Firefox (en-US)'. Error Code 0x87d00269
    Sending StatusMessage
    Setting message signatures.
    Setting the authenticator.
    CLibSMSMessageWinHttpTransport::Send: URL: xy.axy.com:80  CCM_POST /ccm_system/request
    Request was successful.
    hrInstallation, HRESULT=87d00269 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\installapplication.cpp,899)
    pInstall->InstallApplications(saAppNames, sContinueOnError), HRESULT=87d00269 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\main.cpp,277)
    Install application action cannot continue. ContinueOnErrorFlag is set to false.
    Install Static Applications failed, hr=0x87d00269.

    http://social.technet.microsoft.com/Forums/en-US/5577606c-109a-4c78-8339-89da4ae4789b/failed-application-installs-during-ts-error-0x87d00269?forum=configmanagerosd
    Check this forum please. Hope this will help!
    BTW, are you able to deploy the failed application out of OSD TS?
    Cheers | Navdeep Sidhu

Maybe you are looking for