Skip to main content

Well, when I wrote in my "Configuration XML" the code "" and tha same "sfdc", nothing happens. My code didn't update like a video. (this in third lesson). In second lesson, it didn't update, but I wrote whole code same te video.

When I did it at third lesson, it isnot working (FAILED in compilation)

 

As my code didn't update, I wrote:

 

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

<mule xmlns:data-mapper="http://www.mulesoft.org/schema/mule/ee/data-mapper"

xmlns:sfdc="http://www.mulesoft.org/schema/mule/sfdc"

xmlns:db="http://www.mulesoft.org/schema/mule/db"

xmlns:ws="http://www.mulesoft.org/schema/mule/ws"

xmlns:mulexml="http://www.mulesoft.org/schema/mule/xml"

xmlns:http="http://www.mulesoft.org/schema/mule/http"

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="EE-3.7.2"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation=" http://www.mulesoft.org/schema/mule/ee/data-mapper http://www.mulesoft.org/schema/mule/ee/data-mapper/current/mule-data-mapper.xsd

http://www.mulesoft.org/schema/mule/sfdc http://www.mulesoft.org/schema/mule/sfdc/current/mule-sfdc.xsd

http://www.mulesoft.org/schema/mule/db http://www.mulesoft.org/schema/mule/db/current/mule-db.xsd

http://www.mulesoft.org/schema/mule/ws http://www.mulesoft.org/schema/mule/ws/current/mule-ws.xsd

http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/current/mule-xml.xsd

http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd

http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/current/mule-jms.xsd 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:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/>

<http:request-config name="HTTP_Request_Configuration" host="mu.mulesoft-training.com" port="80" basePath="essentials/united/flights" doc:name="HTTP Request Configuration"/>

<http:request-config name="United_REST_Request_Configuration" host="mu.mulesoft-training.com" port="80" basePath="essentials/united/flights" doc:name="HTTP Request Configuration"/>

<http:request-config name="Bank_REST_Request_Configuration" host="mu.mulesoft-training.com" port="80" basePath="/build/banking/rest" doc:name="HTTP Request Configuration">

<http:raml-api-configuration location="https://anypoint.mulesoft.com/apiplatform/repository/v2/organizations/fd604b43-365c-42e8-810f-733a2b7f411f/public/apis/9565/versions/26302/files/root"/>

</http:request-config>

<ws:consumer-config name="Delta_Web_Service_Consumer" wsdlLocation="http://mu.mulesoft-training.com/essentials/delta?wsdl" service="TicketServiceService" port="TicketServicePort" serviceAddress="http://training-u.cloudhub.io/essentials/delta" doc:name="Web Service Consumer"/>

<db:mysql-config name="Training_MySQL_Configuration" host="mudb.mulesoft-training.com" port="3306" user="mule" password="mule" database="training" doc:name="MySQL Configuration"/>

<jms:activemq-connector name="Active_MQ" specification="1.1" brokerURL="tcp://54.69.115.37:61616" validateConnections="true" doc:name="Active MQ"/>

<sfdc:config name="Salesforce__Basic_authentication" username="joao_rln27@hotmail.com" password="nosense12" securityToken="JBdYny6LdaqGbllYGdOJWSX2N" doc:name="Salesforce: Basic authentication"/>

<mulexml:jaxb-context name="JAXB_Context" packageNames="com.mulesoft.training" doc:name="JAXB Context"/>

<data-mapper:config name="List_Map__To_Pojo" transformationGraphPath="list_map__to_pojo.grf" doc:name="List_Map__To_Pojo"/>

<data-mapper:config name="String_To_Xml_findFlight_" transformationGraphPath="string_to_xml_findflight_.grf" doc:name="String_To_Xml_findFlight_"/>

<data-mapper:config />

</mule>

 

Somebody, who has this code and maneged to uptade, can show me what I wrong? Thanks!

2 answers
  1. Nov 19, 2015, 1:37 AM
    @Joao,

     

    When I loaded your xml code, I notices that there are no flows in your application, but you have quite a few Global Elements defined. Here's a screenshot of your Global Elements that I see:

     

    @Joao, When I loaded your xml code, I notices that there are no flows in your application, but you have quite a few Global Elements defined.

     

    Also, I notices that there is a space character in front of your very first line in your code i.e. before <?xml. Remove that and your code gets loaded into Studio, but thre are no flows so far.

     

    -gopal

     

0/9000