blob: 4ad10b6d07a40cff53a6d1c67777d8419bbdbc95 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>UDDIServiceV2.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">jUDDI Client side Code</a> &gt; <a href="index.source.html" class="el_package">org.apache.juddi.v3.client</a> &gt; <span class="el_source">UDDIServiceV2.java</span></div><h1>UDDIServiceV2.java</h1><pre class="source lang-java linenums">package org.apache.juddi.v3.client;
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import org.uddi.v2_service.Inquire;
import org.uddi.v2_service.Publish;
/**
* The UDDIService is defined by the UDDI v2 specification as the Service from which
* all UDDI Ports can be obtained. All known ports: Inquire, Publish
*
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.4-b01
* Generated source version: 2.2
*
*/
@WebServiceClient(name = &quot;UDDI_Service&quot;, targetNamespace = &quot;urn:uddi-org:v2_service&quot;, wsdlLocation = &quot;classpath:/uddi_v2_service.wsdl&quot;)
public class UDDIServiceV2
extends Service
{
private final static URL UDDISERVICE_WSDL_LOCATION;
<span class="fc" id="L43"> private final static QName UDDISERVICE_QNAME = new QName(&quot;urn:uddi-org:v2_service&quot;, &quot;UDDI_Service&quot;);</span>
static {
<span class="fc" id="L46"> URL url = ClassUtil.getResource(&quot;uddi_v2_service.wsdl&quot;,UDDIServiceV2.class);</span>
<span class="fc" id="L47"> UDDISERVICE_WSDL_LOCATION = url;</span>
<span class="fc" id="L48"> }</span>
public UDDIServiceV2() {
<span class="fc" id="L51"> super(UDDISERVICE_WSDL_LOCATION, UDDISERVICE_QNAME);</span>
<span class="fc" id="L52"> }</span>
public UDDIServiceV2(URL wsdlLocation) {
<span class="nc" id="L55"> super(wsdlLocation, UDDISERVICE_QNAME);</span>
<span class="nc" id="L56"> }</span>
public UDDIServiceV2(URL wsdlLocation, QName serviceName) {
<span class="nc" id="L59"> super(wsdlLocation, serviceName);</span>
<span class="nc" id="L60"> }</span>
/**
* UDDI v2 Inquire API
* @return
* returns Inquire
*/
@WebEndpoint(name = &quot;Inquire&quot;)
public Inquire getInquire() {
<span class="fc" id="L69"> return super.getPort(new QName(&quot;urn:uddi-org:v2_service&quot;, &quot;Inquire&quot;), Inquire.class);</span>
}
/**
* UDDI v2 Publish API
* @return
* returns Publish
*/
@WebEndpoint(name = &quot;Publish&quot;)
public Publish getPublish() {
<span class="fc" id="L80"> return super.getPort(new QName(&quot;urn:uddi-org:v2_service&quot;, &quot;Publish&quot;), Publish.class);</span>
}
}
</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.7.9.201702052155</span></div></body></html>