• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCOM Connector for java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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,
Thej
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Thanks,

Mehis
 
machines help you to do more, but experience less. Experience this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic