WSDLAtomicGroundingImpl.java revision 2
// The MIT License
//
// Copyright (c) 2004 Evren Sirin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
/*
* Created on Dec 28, 2003
*
*/
/**
* @author Evren Sirin
*
*/
super(ind);
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicProcessGrounding#setWSDL(java.lang.String)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicProcessGrounding#getWSDL()
*/
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicProcessGrounding#setOperation(java.lang.String)
*/
}
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicProcessGrounding#getOperation()
*/
public URI getOperation() {
return getOperationRef().getOperation();
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicProcessGrounding#setPortType(java.lang.String)
*/
}
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicProcessGrounding#getPortType()
*/
public URI getPortType() {
return getOperationRef().getPortType();
}
}
WSDLService s = null;
try {
}
throw new ExecutionException("Operation " + operation + " cannot be found in the WSDL description");
}
if( value instanceof OWLIndividual ) {
if(inputValue == null)
}
else {
throw new ExecutionException("Cannot apply XSLT transformation to data value '" + value + "' for input parameter '" + param + "'");
}
}
}
try {
} catch(Exception e) {
e.printStackTrace();
throw new ExecutionException( e.toString() );
}
throw new ExecutionException("Parameter '" + mp.getGroundingParameter() + "' is not found in the WSDL file!");
if(outputValue == null)
throw new ExecutionException("Value of output parameter '" + out + "' is not set by the WSDL operation!");
if( ProcessExecutionEngineImpl.DEBUG ) {
}
if(outputValue == null)
throw new ExecutionException(
"An error occurred when applying xsltTransformtion to output parameter " +
}
else
}
return results;
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.AtomicProcessGrounding#getDescriptionURL()
*/
public URL getDescriptionURL() {
try {
} catch(MalformedURLException e) {
return null;
}
}
/**
* @return Returns the inputMessage.
*/
public URI getInputMessage() {
}
/**
* @param inputMessage The inputMessage to set.
*/
}
/**
* @return Returns the outputMessage.
*/
public URI getOutputMessage() {
}
/**
* @param outputMessage The outputMessage to set.
*/
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.AtomicGrounding#getInputMap()
*/
public MessageMapList getInputMap() {
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.AtomicGrounding#getOutputMap()
*/
public MessageMapList getOutputMap() {
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicGrounding#getOperationRef()
*/
public WSDLOperationRef getOperationRef() {
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.WSDLAtomicGrounding#setOperationRef(org.mindswap.owls.grounding.WSDLOperationRef)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owls.grounding.AtomicGrounding#addMessageMap(org.mindswap.owls.process.Parameter, java.lang.String, java.lang.String)
*/
public void addMessageMap(Parameter owlsParameter, String groundingParameter, String xsltTransformation) {
if(owlsParameter instanceof Input)
else if(owlsParameter instanceof Output)
else
throw new IllegalArgumentException("OWL-S parameter in the MessageMap is neither an Input nor Output!");
}
}