Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-7309

JAX-WS client, JAXBElement does not have a no-arg default constructor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: To be reviewed
    • Resolution: Won't Fix or Usage Issue
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Component/s: Modules: CXF
    • Labels:
      None
    • Environment:

      Windows 7 (64), Mule Studio Version: 3.5.0 Build Id: 201312091746

    • Configuration:
      Hide

      <?xml version="1.0" encoding="UTF-8"?>

      <mule xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="CE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
      http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
      http://www.mulesoft.org/schema/mule/cxf http://www.mulesoft.org/schema/mule/cxf/current/mule-cxf.xsd
      http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/current/mule-jms.xsd
      http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd">
      <spring:beans>
      <spring:bean id="PropertyFileBean" name="PropertyFileBean" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
      <spring:property name="location" value="classpath:tafjord.properties"/>
      </spring:bean>

      <spring:bean id="PropertyMapBean" name="PropertyMap" class="no.tafjord.util.PropertyMapHolder">
      <spring:property name="props">
      <spring:map>
      <spring:entry key="iscustomer.host" value="${iscustomer.host}" />
      <spring:entry key="iscustomer.actor.ws.location" value="${iscustomer.actor.ws.location}" />
      </spring:map>
      </spring:property>
      </spring:bean>
      </spring:beans>
      <jms:activemq-connector name="ISCU_AMQ_CONNECTOR" brokerURL="${iscu.amq.connection}" validateConnections="true" doc:name="ISCU Active MQ">
      <reconnect-forever/>
      </jms:activemq-connector>

      <flow name="tafjord_fakturaintegrasjonFlow1" doc:name="tafjord_fakturaintegrasjonFlow1">
      <jms:inbound-endpoint connector-ref="ISCU_AMQ_CONNECTOR" topic="${iscu.customer.update.event.queue}" doc:name="ISCU JMS INBOUND ENDPOINT"/>
      <logger message="Message payload: #[message.payload]" level="INFO" doc:name="Log topic msg"/>
      <component class="no.tafjord.fakturaintegrasjon.CustomerUpdate" doc:name="CustomerUpdate"/>
      <!-- <cxf:jaxws-client doc:name="SOAP"/> -->

      </flow>
      </mule>

      Show
      <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="CE-3.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/cxf http://www.mulesoft.org/schema/mule/cxf/current/mule-cxf.xsd http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/current/mule-jms.xsd http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd "> <spring:beans> <spring:bean id="PropertyFileBean" name="PropertyFileBean" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <spring:property name="location" value="classpath:tafjord.properties"/> </spring:bean> <spring:bean id="PropertyMapBean" name="PropertyMap" class="no.tafjord.util.PropertyMapHolder"> <spring:property name="props"> <spring:map> <spring:entry key="iscustomer.host" value="${iscustomer.host}" /> <spring:entry key="iscustomer.actor.ws.location" value="${iscustomer.actor.ws.location}" /> </spring:map> </spring:property> </spring:bean> </spring:beans> <jms:activemq-connector name="ISCU_AMQ_CONNECTOR" brokerURL="${iscu.amq.connection}" validateConnections="true" doc:name="ISCU Active MQ"> <reconnect-forever/> </jms:activemq-connector> <flow name="tafjord_fakturaintegrasjonFlow1" doc:name="tafjord_fakturaintegrasjonFlow1"> <jms:inbound-endpoint connector-ref="ISCU_AMQ_CONNECTOR" topic="${iscu.customer.update.event.queue}" doc:name="ISCU JMS INBOUND ENDPOINT"/> <logger message="Message payload: # [message.payload] " level="INFO" doc:name="Log topic msg"/> <component class="no.tafjord.fakturaintegrasjon.CustomerUpdate" doc:name="CustomerUpdate"/> <!-- <cxf:jaxws-client doc:name="SOAP"/> --> </flow> </mule>
    • Log Output:
      Hide
       com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
      javax.xml.bind.JAXBElement does not have a no-arg default constructor.
      this problem is related to the following location:
      at javax.xml.bind.JAXBElement
      at protected javax.xml.bind.JAXBElement com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name.name2
      at com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name
      at protected com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name com.infosynergi.iscustomer.publishedv2.facade.xsd.common.GetActorData.name
      at com.infosynergi.iscustomer.publishedv2.facade.xsd.common.GetActorData
      Show
       com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions javax.xml.bind.JAXBElement does not have a no-arg default constructor. this problem is related to the following location: at javax.xml.bind.JAXBElement at protected javax.xml.bind.JAXBElement com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name.name2 at com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name at protected com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name com.infosynergi.iscustomer.publishedv2.facade.xsd.common.GetActorData.name at com.infosynergi.iscustomer.publishedv2.facade.xsd.common.GetActorData

      Description

      Recently downloaded MuleStudio 3.5. Retested applications built in 3.4 and regression test failed for soap web service endpoint. Exception: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
      javax.xml.bind.JAXBElement does not have a no-arg default constructor.
      this problem is related to the following location:
      at javax.xml.bind.JAXBElement
      at protected javax.xml.bind.JAXBElement com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name.name2
      at com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name
      at protected com.infosynergi.iscustomer.publishedv2.facade.xsd.common.Name com.infosynergi.iscustomer.publishedv2.facade.xsd.common.GetActorData.name
      at com.infosynergi.iscustomer.publishedv2.facade.xsd.common.GetActorData

      Test in Mule standalone server 3.4 executed ok. Looks like a problem in studio.

        Attachments

          Activity

            People

            Assignee:
            jorge.dalessandro Jorge D'Alessandro [X] (Inactive)
            Reporter:
            bents Bent S [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                PagerDuty