/*
 * Copyright (c) 2007, 2009, Oracle and its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id: MTOMTestTwoImpl.java 62602 2011-04-21 14:51:41Z kgrucci $
 */

package com.sun.ts.tests.jaxws.ee.w2j.document.literal.mtomtest;

import com.sun.ts.lib.util.*;
import com.sun.ts.lib.porting.*;
import com.sun.ts.lib.harness.*;

import javax.xml.ws.WebServiceException;
import javax.jws.WebService;
import javax.xml.ws.BindingType;

import javax.xml.ws.Holder;
import javax.xml.ws.BindingType;
import javax.xml.ws.soap.SOAPBinding;
import java.awt.Image;

@WebService(
    portName="MTOMTestTwoPort",
    serviceName="MTOMTestService",
    targetNamespace="http://mtomtestservice.org/wsdl",
    wsdlLocation="WEB-INF/wsdl/WSW2JDLMTOMTestService.wsdl",
    endpointInterface="com.sun.ts.tests.jaxws.ee.w2j.document.literal.mtomtest.MTOMTestTwo"
)
@BindingType(SOAPBinding.SOAP11HTTP_MTOM_BINDING)

public class MTOMTestTwoImpl implements MTOMTestTwo {

    public void mtomInOut2(javax.xml.ws.Holder<String> testname, javax.xml.ws.Holder<java.awt.Image> image ) {
      System.out.println("--------------------------");
      System.out.println("In mtomInOut2");
    }


}
