내 웹 응용 프로그램은 다음 주소에있는 웹 응용 프로그램 및 뮬 ESB 간의 통신 :뮬 -
http://localhost:8080/MyProject/page-obj.html
나는 데, (글래스 피쉬에 배포) 웹 응용 프로그램에서, 뮬 프로젝트를 호출하고 다음 URL의 URL :
`<form action="http://localhost:28146/CallObject" method="post" id="objform">`
Mule 프로젝트가 원격 서버에서 무언가를 실행하고 성공을 반환합니다. 리디렉션, 내가 대신 http://localhost:8080/MyProject/page-sucess.html
의, 주소 표시 줄에 http://localhost:28146/CallObject
를 볼 때 내가 다른 페이지로 성공을 리디렉션 할
http://localhost:8080/MyProject/page-sucess.html
말한다. 둘째, CSS 및 JS를 제대로로드 할 수 없습니다.
`
<http:endpoint exchange-pattern="request-response" address="http://localhost:8080/MyProject/page-sucess.html" name="page" method="POST"/>
<flow name="Create_Work_Flow" doc:name="Create_Work_Flow">
<http:inbound-endpoint exchange-pattern="request-response" address="http://localhost:28146/CallObject" contentType="text/html" doc:name="Request">
<http:body-to-parameter-map-transformer doc:name="HTMLForm-Parameters-To-Mule"/>
</http:inbound-endpoint>
<logger level="INFO" doc:name="Form-Parameters" message="#[payload]" />
<http:outbound-endpoint exchange-pattern="request-response" method="POST" doc:name="HTTP" ref="Page">
<custom-transformer class="com.ExecuteWorkflow" doc:name="Call-CreateWorkflow"/>
</http:outbound-endpoint>
</flow>`
이 있다는 오류를 던지고있다 HTTP의 요소. – fatherazrael
예제를 수정했습니다. 속성 대신 set-property 요소를 사용해야합니다. – neildo