jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes SCOM Connector for java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SCOM Connector for java" Watch "SCOM Connector for java" New topic

SCOM Connector for java

Thej Km

Joined: Jul 16, 2009
Posts: 1

I am trying to create a connector for Microsoft SCOM(2007) . The wsdl is accessible at server and able to generate stub using JWSDP. But When i try to connect using the generated stub, I am getting an error,

Error..The security context token is expired or is not valid. The message was not processed.
javax.xml.ws.soap.SOAPFaultException: The security context token is expired or is not valid. The message was not processed.
at com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(ClientEncoderDecoder.java:80)
at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(SOAPXMLDecoder.java:200)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:549)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:288)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153)
at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85)
at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176)
at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105)
at $Proxy27.setup(Unknown Source)
at Test.OmcfProxy.main(OmcfProxy.java:238)

below is the code part:

ConnectorFrameworkDataAccess connectorFrameworkDataAccess = new ConnectorFrameworkDataAccess(new URL("http://a3a-mspoctst1:51905/ConnectorFramework?wsdl"),new QName("http://tempuri.org/","ConnectorFrameworkDataAccess"));
IConnectorFramework port = (IConnectorFramework)connectorFrameworkDataAccess.getPort(IConnectorFramework.class);
connectorInfo.setName(objectFactory.createConnectorInfoName("Test OMCF"));
String connectionResult = port.setup(ObjectFactory.createConnectorInfo(connectorInfo));

Thanks for any help,
mehis harem

Joined: May 20, 2011
Posts: 1
Hello Thej,

I know your post is not recent but I have been assigned the task to create a SCOM connector in Java and facing the same issues as you.

Did you, by any chance at all, fix your connection issues?


I agree. Here's the link: http://aspose.com/file-tools
subject: SCOM Connector for java
It's not a secret anymore!