Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cosmos-dev] Connecting to COSMOS EPRs using MAX


The errors you see in the OSGi console are not really errors - it is simply Muse reporting that it has no topics and the endpoint is not a service group. This is because the MAX checks all endpoints that you connect it to to see if they are a SG or if they have topics. You can see similar errors/warnings in the MAX log (MAX reports these as errors - they are warnings and there is a bug open in TPTP to fix that).

It seems to me that metadata exchange is failing. This can be because 1) no WSDL is being returned (but I think you were able to do MEX and get the WSDL - please confirm and post the WSDL if you can) 2) returned WSDM fails validation/has parsing errors. If you post the WSDL, I can take a look and see why MAX can't parse it.


Balan Subramanian
Autonomic Computing, IBM, RTP, NC
919.543.0197 | bsubram@xxxxxxxxxx





Hubert H Leung <hkyleung@xxxxxxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

10/01/2007 03:53 PM

Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>

To
Joel.Hawkins@xxxxxxxxxxxxx
cc
cosmos-dev@xxxxxxxxxxx
Subject
[cosmos-dev] Connecting to COSMOS EPRs using MAX






Hi Joel,


I need some help with using MAX to connect to the EPRs of the COSMOS assemblies.  I copied the EPR of COSMOS Runtime to the MAX config dialog box, and started profiling on this endpoint.  The MAX editor does not show up, and I get errors in the OSGi console and the workspace .log file.  I am using TPTP 4.4 MAX.  Can you give me some suggestions on what the problem might be?  Thanks.  



I attached the errors logs with this email.  


 


Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:dummy="http://docs.oasis-open.org/wsdm/muws2-2.xsd"; xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2";>dummy:Caption</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"; xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2";>wsrf-sg:Entry</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsx:GetMetadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex";>
    <wsx:Dialect>http://schemas.xmlsoap.org/wsdl/</wsx:Dialect>
</wsx:GetMetadata>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"; xmlns:wssg="http://docs.oasis-open.org/wsrf/sg-2";>wssg:MembershipContentRule</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"; xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2";>muws2:Relationship</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"; xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2";>wsnt:TopicExpression</wsrf-rp:GetResourceProperty>

Oct 1, 2007 3:17:46 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:

[ID = 'PropertyNotInSchema'] There is no property named '{http://docs.oasis-open.org/wsrf/sg-2}Entry' defined in the schema. A property should not have any operations or metadata applied to it if it is not in the WS-RP document.

	org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.getResourceProperty(SimpleResourcePropertyCollection.java:596)
	org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability.getResourceProperty(SimpleGetCapability.java:92)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
	org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBinding.invoke(WSDMBinding.java:206)
	org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceRouter.java:290)
	org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.invoke(OSGiResourceRouter.java:118)
	org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(MiniIsolationLayer.java:111)
	org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:84)
	org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.doPost(OSGiMinServlet.java:52)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	17 more...
------------------------------------------

Oct 1, 2007 3:17:46 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:

[ID = 'PropertyNotInSchema'] There is no property named '{http://docs.oasis-open.org/wsrf/sg-2}MembershipContentRule' defined in the schema. A property should not have any operations or metadata applied to it if it is not in the WS-RP document.

	org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.getResourceProperty(SimpleResourcePropertyCollection.java:596)
	org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability.getResourceProperty(SimpleGetCapability.java:92)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
	org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBinding.invoke(WSDMBinding.java:206)
	org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceRouter.java:290)
	org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.invoke(OSGiResourceRouter.java:118)
	org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(MiniIsolationLayer.java:111)
	org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:84)
	org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.doPost(OSGiMinServlet.java:52)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	17 more...
------------------------------------------

Oct 1, 2007 3:17:46 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:

[ID = 'PropertyNotInSchema'] There is no property named '{http://docs.oasis-open.org/wsn/b-2}TopicExpression' defined in the schema. A property should not have any operations or metadata applied to it if it is not in the WS-RP document.

	org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.getResourceProperty(SimpleResourcePropertyCollection.java:596)
	org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability.getResourceProperty(SimpleGetCapability.java:92)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
	org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBinding.invoke(WSDMBinding.java:206)
	org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceRouter.java:290)
	org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.invoke(OSGiResourceRouter.java:118)
	org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(MiniIsolationLayer.java:111)
	org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:84)
	org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.doPost(OSGiMinServlet.java:52)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	17 more...
------------------------------------------

Attachment: workspace.log
Description: Binary data


Back to the top