below are wsn.xml and the peice of code which is used to create pullpoint is
given
wsn.xml
--------
<http:soap-consumer service="wsn:NotificationBroker" endpoint="Broker"
locationURI="${baseUrl}/Broker/"
validateWsdl="true">
<http:policies>
<bean
class="org.apache.servicemix.soap.ws.addressing.WsAddressingPolicy" />
</http:policies>
<http:ssl>
<http:sslParameters keyStore="conf/motomgr_server.keystore"
keyStorePassword="motomgr" trustStore="conf/Servertruststore.truststore"
trustStorePassword="motomgr" wantClientAuth="true" needClientAuth="true"/>
</http:ssl>
</http:soap-consumer>
<http:soap-consumer service="wsn:CreatePullPoint" endpoint="Broker"
locationURI="${baseUrl}/CreatePullPoint/"
validateWsdl="true">
<http:policies>
<bean
class="org.apache.servicemix.soap.ws.addressing.WsAddressingPolicy" />
</http:policies>
<http:ssl>
<http:sslParameters keyStore="conf/motomgr_server.keystore"
keyStorePassword="motomgr" trustStore="conf/Servertruststore.truststore"
trustStorePassword="motomgr" wantClientAuth="true" needClientAuth="true"/>
</http:ssl>
</http:soap-consumer>
<bean class="org.apache.servicemix.common.osgi.EndpointExporter" />
<osgi:reference id="notificationBrokerEndpoint"
interface="org.apache.servicemix.nmr.api.Endpoint"
filter="(&(jbi.internal=true)(SERVICE_NAME={http://servicemix.org/wsnotification}NotificationBroker))"
/>
<osgi:reference id="createPullpointEndpoint"
interface="org.apache.servicemix.nmr.api.Endpoint"
filter="(&(jbi.internal=true)(SERVICE_NAME={http://servicemix.org/wsnotification}CreatePullPoint))"
/>
<osgix:cm-properties id="wsnProps"
persistent-id="org.apache.servicemix.examples.wsn">
<prop key="baseUrl">https://192.168.10.132:8192</prop>
</osgix:cm-properties>
<ctx:property-placeholder properties-ref="wsnProps" />
</beans>
Please let me know what is the issue here.
Pullpoint code
--------------
SOAPMessage message = c_messageFactory.createMessage();
// Create objects for the message parts
SOAPPart soapPart = message.getSOAPPart();
SOAPEnvelope envelope = soapPart.getEnvelope();
SOAPBody body = envelope.getBody();
// Populate the body of the message
Name bodyName = c_soapFactory.createName( "CreatePullPoint", "wsnt",
"http://docs.oasis-open.org/wsn/b-2" );
body.addBodyElement( bodyName );
SOAPMessage response = connection.call( message, endPoint );
// Check for error
SOAPBody pullpointResponse = response.getSOAPBody();
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Create-pullpoint-is-throwing-exception-in-servicemix-logs-tp5165415p5165774.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.