/*
* Copyright 2002-2013 SCOOP Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* 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 "AS IS" 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.
*/
package de.scoopgmbh.copper.examples.orechstration.simulators.clients;
import java.net.URL;
import javax.xml.namespace.QName;
import de.scoopgmbh.orchestration.OrchestrationService;
import de.scoopgmbh.orchestration.OrchestrationService_Service;
public final class OrchestrationServiceTestClient {
private static final QName SERVICE_NAME = new QName("http://orchestration.scoopgmbh.de/", "OrchestrationService");
private OrchestrationServiceTestClient() {
}
public static void main(String args[]) throws java.lang.Exception {
URL wsdlURL = new URL(args[0]);
OrchestrationService_Service ss = new OrchestrationService_Service(wsdlURL, SERVICE_NAME);
OrchestrationService port = ss.getOrchestrationServicePort();
String resetMailbox_msisdn = args[1];
String resetMailbox_secret = args[2];
port.resetMailbox(resetMailbox_msisdn, resetMailbox_secret);
}
}