wso2esb - Not able to invoke axis2 service from wso2 ESB proxy service -
i new osb.
-> have axis2 webservice application running on wso2 appserver. if pass name
parameter return hello + name
.
-> trying access application proxyservice in wso2 esb application.
the project name sampleesbconfig
, proxy service name: esbtoaxis2ps1
steps implementing proxy service:
- the proxy service ha wsdl url : http://localhost:9763/services/test1?wsdl ; wsdl type: source_url
inflow
placed
logmediator
place
sendmediator
created address endpoint points : http://localhost:9763/services/test1 [ target url, axis2 webservice application url]
outflow
placed
logmediator
place
sendmediator
fault sequence
placed
logmediator
created composite application includes above proxyservice
deployed application on wso2 esb server running on localhost.
note: both esb & appserver running on localhost
when trying test application getting below error.
[2015-06-18 16:27:55,212] error - axis2sender unexpected error during sending message out org.apache.axis2.axisfault: system cannot infer transport information /services/esbtoaxis2ps1.esbtoaxis2ps1httpsoap11endpoint url.
how fix this?
let assume calling echo proxy , creating soap project providing wsdl of proxy service.then request url echo service http://localhost:8280/services/echo.echohttpsoap11endpoint , when going invoke it, above error.
as solution need remove part behind "." operator. proxy calling url http://localhost:8280/services/echo
according error log found calling proxy service /services/esbtoaxis2ps1.esbtoaxis2ps1httpsoap11endpoint . need call proxy /services/esbtoaxis2ps1 mentioned earlier.
hope may solve issue.
Comments
Post a Comment