package uk.org.sappho.jira4j.soap;

import java.net.MalformedURLException;
import java.net.URL;
import java.rmi.RemoteException;

import javax.xml.rpc.ServiceException;

import uk.org.sappho.jira.rpc.soap.client.GetParent;
import uk.org.sappho.jira.rpc.soap.client.GetParentServiceLocator;

public class GetParentService {

    private final GetParent service;

    public GetParentService(String url) throws MalformedURLException, ServiceException {

        service = new GetParentServiceLocator().getSapphoGetparentV1(new URL(url
                + "/rpc/soap/sappho-getparent-v1"));
    }

    public String getParent(String issueKey) throws RemoteException {

        return service.getParentKey(issueKey);
    }
}

@@ -367,16 +367,49 @@
 ervice;%0D
+%0A    private final String token;%0D
 %0A%0D%0A    p
@@ -445,46 +445,110 @@
  url
-) throws MalformedURLException, Servic
+, String username, String password) throws MalformedURLException,%0D%0A            ServiceException, Remot
 eExc
@@ -691,24 +691,76 @@
 ent-v1%22));%0D%0A
+        token = service.login(username, password);%0D%0A
     %7D%0D%0A%0D%0A   
@@ -865,16 +865,23 @@
 rentKey(
+token, 
 issueKey

Add authentication.