wso2esb - How to create a Default Endpoint in wso2 ESB -


I have different services and related endpoint points like my WSO2 DSS such as

  Http: // localhost: 9764 / services / gate_tetails / http: // localhost: 9764 / services / muser_DataService /  

etc.

Therefore, when in WSO2 I'm creating a proxy service. ESB wants to give me a default endpoint in my proxy but rather a special endpoint in DSS

For this approach, Use Raptkrta list group

  & lt; Endpoint xmlns = "http://ws.apache.org/ns/synapse" name = "endpoint" & gt;  

  and lieutenant name = "null_value" & gt; & Lt; Address uri = "http: // localhost: 9764 / service / null_value /" & gt; & Lt; SuspendOnFailure & gt; & Lt; ProgressionFactor & gt; 1.0 & lt; / ProgressionFactor & gt; & Lt; / SuspendOnFailure & gt; & Lt; MarkForSuspension & gt; & Lt; RetriesBeforeSuspension & gt; 0 & lt; / RetriesBeforeSuspension & gt; & Lt; RetryDelay & gt; 0 & lt; / RetryDelay & gt; & Lt; / MarkForSuspension & gt; & Lt; / Address & gt; & Lt; / Endpoint & gt; And lieutenant; Endpoint Name = "Get_details" & gt; & Lt; Address uri = "http: // localhost: 9764 / services / gate_details /" & gt; & Lt; SuspendOnFailure & gt; & Lt; ProgressionFactor & gt; 1.0 & lt; / ProgressionFactor & gt; & Lt; / SuspendOnFailure & gt; & Lt; MarkForSuspension & gt; & Lt; RetriesBeforeSuspension & gt; 0 & lt; / RetriesBeforeSuspension & gt; & Lt; RetryDelay & gt; 0 & lt; / RetryDelay & gt; & Lt; / MarkForSuspension & gt; & Lt; / Address & gt; & Lt; / Endpoint & gt; & Lt; Endpoint name = "go_gooode description" & gt; & Lt; Address uri = "http: // localhost: 9764 / services / gate_zod details /" & gt; & Lt; SuspendOnFailure & gt; & Lt; ProgressionFactor & gt; 1.0 & lt; / ProgressionFactor & gt; & Lt; / SuspendOnFailure & gt; & Lt; MarkForSuspension & gt; & Lt; RetriesBeforeSuspension & gt; 0 & lt; / RetriesBeforeSuspension & gt; & Lt; RetryDelay & gt; 0 & lt; / RetryDelay & gt; & Lt; / MarkForSuspension & gt; & Lt; / Address & gt; & Lt; / Endpoint & gt; & Lt; Endpoint name = "muser_DataService" & gt; & Lt; Address uri = "http: // localhost: 9764 / services / mascar_dataService /" & gt; & Lt; SuspendOnFailure & gt; & Lt; ProgressionFactor & gt; 1.0 & lt; / ProgressionFactor & gt; & Lt; / SuspendOnFailure & gt; & Lt; MarkForSuspension & gt; & Lt; RetriesBeforeSuspension & gt; 0 & lt; / RetriesBeforeSuspension & gt; & Lt; RetryDelay & gt; 0 & lt; / RetryDelay & gt; & Lt; / MarkForSuspension & gt; & Lt; / Address & gt; & Lt; / Endpoint & gt;  

But while using this endpoint in my proxy, the process failed to find the required end point in the recipient list group and an error as shown below. "Fault": "axis2ns2: client", "faultstring": "Endpoint reference (EPR) for operation is not found \ / services \ / get_details \ / And WSA Action = empty. If this EPR was previously accessible, please contact server Contact the installer. "," Description ":" "}

What can be done for a successful execution ... ...

The recipient endpoint is used for a different purpose. If your backend service URL is different, then you need a definition of a separate termination. Then use the appropriate endpoint in your proxy.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -