how can we call a http servlet from mule? -


I have a requirement in which I need to call servlet calls from mules flows. I got an answer from the following site

But when I copy that cell into my flow, it shows some errors in the flow to call mules to servlet There is no other way or solution. I have sublet URL and username and password. I am using mule 3.5 any studio. Please help me complete this task

Edit: (pasted with a comment from OP)

   & Lt; Object To String Transformer Doctor: name = "Object To String" / & gt; & Lt; Http: outbound-endpoint exchange-pattern = "request-response" user = "javauser" password = "javauser1" method = "GET" doctor: name = "HTTP" address = "servlet / customtask circle?" Connector-Ref = "HTTP_HTTPS" /> & Lt; / Flow & gt; You are copying the old radish 2 syntax in mule 3, so it can not be done  

Reference:

EDIT: If you use the address If you use the

attribute in the HTTP endpoint (the host port and path ), you can Must specify. For example, you should enter address = "http: // localhost: 8080 / servlet" with address = "localhost: 8080 / servlet" .

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -