use of org.mule.runtime.soap.api.client.metadata.SoapOperationMetadata in project mule by mulesoft.
the class InvokeOutputTypeResolver method getOutputType.
/**
* {@inheritDoc}
*/
@Override
public MetadataType getOutputType(MetadataContext context, WebServiceTypeKey key) throws MetadataResolvingException, ConnectionException {
SoapClient client = getClient(context, key);
SoapOperationMetadata metadata = client.getMetadataResolver().getOutputMetadata(key.getOperation());
return buildOutputType(metadata.getBodyType(), metadata.getHeadersType(), metadata.getAttachmentsType(), context.getTypeBuilder());
}
use of org.mule.runtime.soap.api.client.metadata.SoapOperationMetadata in project mule by mulesoft.
the class InvokeRequestTypeResolver method getInputMetadata.
/**
* {@inheritDoc}
*/
@Override
public MetadataType getInputMetadata(MetadataContext context, WebServiceTypeKey key) throws MetadataResolvingException, ConnectionException {
SoapClient client = getClient(context, key);
SoapOperationMetadata metadata = client.getMetadataResolver().getInputMetadata(key.getOperation());
return metadata.getBodyType();
}
use of org.mule.runtime.soap.api.client.metadata.SoapOperationMetadata in project mule by mulesoft.
the class InvokeInputHeadersTypeResolver method getInputMetadata.
/**
* {@inheritDoc}
*/
@Override
public MetadataType getInputMetadata(MetadataContext context, WebServiceTypeKey key) throws MetadataResolvingException, ConnectionException {
SoapClient client = getClient(context, key);
SoapOperationMetadata metadata = client.getMetadataResolver().getInputMetadata(key.getOperation());
return metadata.getHeadersType();
}
use of org.mule.runtime.soap.api.client.metadata.SoapOperationMetadata in project mule by mulesoft.
the class InvokeInputAttachmentsTypeResolver method getInputMetadata.
@Override
public MetadataType getInputMetadata(MetadataContext context, WebServiceTypeKey key) throws MetadataResolvingException, ConnectionException {
SoapClient client = getClient(context, key);
SoapOperationMetadata metadata = client.getMetadataResolver().getInputMetadata(key.getOperation());
return metadata.getAttachmentsType();
}
Aggregations