Hi, I have posted this to the ESB forum.But just to be safe i will post it here too.
Following this guide i managed to make my services discoverable. http://wso2.org/library/articles/2011/08/rediscover-soa-wso2-carbon-wsdiscovery#wsdsupport One of my Services was AuthenticationAdmin, which originaly is a web service from the carbon core. I wanted to use this service with a proxy service DynamicAuthenticationAdmin to send authentication request. So far AuthenticationAdmin has an uuid and epr on WS Discovery GUI and i added the WS-Discovery Mediation Extensions plug-in. Here is the source for the proxy services configuration: "<?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://ws.apache.org/ns/synapse"> <registry provider="org.wso2.carbon.mediation.registry.WSO2Registry"> <parameter name="extensions">org.wso2.carbon.discovery.mediation.ext.WSDiscoveryRegistryExtension</parameter> <parameter name="discoveryProxy">https://discovery-governance-arcsp.ardich.com:9443/services/DiscoveryProxy</parameter> <parameter name="cachableDuration">15000</parameter> </registry> <proxy name="DynamicWSStorageService" startOnLoad="true" trace="disable"> <target endpoint="wsdd://urn:uuid:65013b0a-1858-48d3-9a31-c5938a7b589a/https"> <outSequence> <send/> </outSequence> </target> <parameter name="wsDiscoveryParams"> <Scopes>http://ws.arcsp.ardic.com/storage</Scopes> </parameter> </proxy> <proxy name="DynamicAuthenticationAdmin" startOnLoad="true" trace="disable"> <target endpoint="wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https"> <outSequence> <send/> </outSequence> </target> <publishWSDL key="local:AuthenticationAdmin.wsdl"/> <parameter name="wsDiscoveryParams"> <Scopes>http://ws.arcsp.ardic.com/auth</Scopes> </parameter> </proxy> <proxy name="WSStorageProxy" transports="https" startOnLoad="true" trace="disable"> <target> <endpoint> <address uri="https://manager-storage-arcsp.ardich.com:9443/services/WSStorageService"/> </endpoint> <outSequence> <send/> </outSequence> </target> <policy key="conf:/repository/axis2/service-groups/WSStorageProxy/services/WSStorageProxy/policies/UTOverTransport"/> <parameter name="enableMTOM">true</parameter> <enableSec/> </proxy> <proxy name="AuthenticationAdminProxy" startOnLoad="true" trace="disable"> <target> <endpoint> <address uri="https://manager-storage-arcsp.ardich.com:9443/services/AuthenticationAdmin"/> </endpoint> <outSequence> <send/> </outSequence> </target> <parameter name="wsDiscoveryParams"> <Scopes>http://public.ims.traderpauls.com/sales/pricing</Scopes> </parameter> </proxy> <sequence name="fault"> <log level="full"> <property name="MESSAGE" value="Executing default 'fault' sequence"/> <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/> <property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/> </log> <drop/> </sequence> <sequence name="main"> <in> <log level="full"/> <filter source="get-property('To')" regex="http://localhost:9000.*"> <send/> </filter> </in> <out> <send/> </out> </sequence> </definitions> " When i try to access to the AuthenticationAdmin with the DynamicAuthenticationAdmin i receive following error: "TID: [] [WSO2 Stratos Internal Enterprise Service Bus] [2011-11-21 16:38:57,903] ERROR {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - Unable to find the endpoint specified : wsdd://urn:uuid:651e0822-24d8-4e07-90d8-dfbd5e78b53a/https {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}" As i understand the plugin does not work properly or it cannot recognized the uuid for the AuthenticationService,which needs to be mapped with the EPR. ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER Tel: + 90 262 642 42 52 GSM: + 90 554 542 48 50
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
