Examples of toXml()


Examples of org.apache.muse.ws.notification.impl.Subscribe.toXML()

                                        Date termination)
        throws SoapFault
    {
        Subscribe sub = new Subscribe(consumer, filter, termination);
       
        Element responseXML = invoke(WsnConstants.SUBSCRIBE_URI, sub.toXML());
       
        SubscribeResponse response = new SubscribeResponse(responseXML);
        EndpointReference epr = response.getSubscriptionReference();
       
        return new SubscriptionClient(epr, getSource());
View Full Code Here

Examples of org.apache.muse.ws.notification.topics.Topic.toXML()

        Iterator i = getRootTopics().iterator();
       
        while (i.hasNext())
        {
            Topic topic = (Topic)i.next();
            Element topicXML = topic.toXML(doc);
            topicSpace.appendChild(topicXML);
        }
       
        return topicSpace;
    }
View Full Code Here

Examples of org.apache.muse.ws.resource.lifetime.impl.SetTerminationTime.toXML()

    public Date setTerminationTime(Date time)
        throws SoapFault
    {
        SetTerminationTime set = new SetTerminationTime(time);  
       
        Element response = invoke(WsrlConstants.SET_TERMINATION_URI, set.toXML());
       
        try
        {
            SetTerminationTimeResponse setResponse =
                new SetTerminationTimeResponse(response);
View Full Code Here

Examples of org.apache.muse.ws.resource.metadata.MetadataDescriptor.toXML()

    {
        if (dialect != null && dialect.equals(WsrmdConstants.NAMESPACE_URI))
        {
            WsResource resource = (WsResource)getResource();
            MetadataDescriptor rmd = resource.getPropertyCollection().getMetadata();
            return new Element[]{ rmd.toXML() };
        }
       
        return super.getMetadata(dialect);
    }
}
View Full Code Here

Examples of org.apache.muse.ws.resource.properties.get.impl.GetMultipleRequest.toXML()

   
    public Element[] getMultipleResourceProperties(QName[] qnames)
        throws SoapFault
    {
        GetMultipleRequest get = new GetMultipleRequest(qnames);         
        Element response = invoke(WsrpConstants.GET_MULTIPLE_PROPERTIES_URI, get.toXML());
        return XmlUtils.getAllElements(response);
    }
   
    /**
     *
 
View Full Code Here

Examples of org.apache.muse.ws.resource.properties.get.impl.GetRequest.toXML()

   
    public Element[] getResourceProperty(QName qname)
        throws SoapFault
    {
        GetRequest get = new GetRequest(qname);
        Element response = invoke(WsrpConstants.GET_RESOURCE_PROPERTY_URI, get.toXML());
        return XmlUtils.getAllElements(response);
    }
   
    public Element getResourcePropertyDocument()
        throws SoapFault
View Full Code Here

Examples of org.apache.muse.ws.resource.properties.query.impl.QueryRequest.toXML()

    public Node[] queryResourceProperties(String query, String dialect)
        throws SoapFault
    {
        QueryRequest request = new QueryRequest(query, dialect);  
       
        Element response = invoke(WsrpConstants.QUERY_RESOURCE_PROPERTIES_URI, request.toXML());
       
        NodeList children = response.getChildNodes();
        return XmlUtils.convertToArray(children);
    }
   
View Full Code Here

Examples of org.apache.muse.ws.resource.sg.Entry.toXML()

    {
        //
        // write the service group entry XML infoset to file
        //
        Entry entry = (Entry)resource.getCapability(WssgConstants.ENTRY_URI);
        Element entryXML = entry.toXML();
       
        try
        {
            XmlUtils.toFile(entryXML, resourceFile);
        }
View Full Code Here

Examples of org.apache.muse.ws.resource.sg.impl.AddRequest.toXML()

     */
    public WsResourceClient add(EndpointReference memberEPR, Date termination)
        throws SoapFault
    {
        AddRequest add = new AddRequest(memberEPR, termination);
        Element responseXML = invoke(WssgConstants.ADD_URI, add.toXML());
        AddResponse response = new AddResponse(responseXML);
        return response.getEntryClient();
    }
   
    /**
 
View Full Code Here

Examples of org.apache.ode.bpel.iapi.EndpointReference.toXML()

                            .getInitialPartnerRoleEPR(oplink);

                    if (pepr != null) {
                        TEndpointReferences.EndpointRef epr = eprs.addNewEndpointRef();
                        Document eprNodeDoc = epr.getDomNode().getOwnerDocument();
                        epr.getDomNode().appendChild(eprNodeDoc.importNode(pepr.toXML().getDocumentElement(), true));
                    }
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.