Tuesday, June 02, 2015

Error publishing new container for:OSBApplication


YOu are trying to create a REST service by calling ADF-BC services.

The steps you followed are

Created a Business service for the ADF-BC service.

Create a pipeline based on the same WSDL of ADF-BC service.

Next

You are creating a REST service based on your custom schema for input and output.

NOw you are trying to connect your REST proxy to the pipeline and you are getting the error in the REST as shown below.



When you try to compile or deploy you get following error

[11:32:01 AM] Deployment cancelled.
[11:32:01 AM] ---- Deployment incomplete ----.
[11:32:01 AM] One or more resources to export/publish contains errors.
[11:32:01 AM] Error publishing new container for:OSBApplication
[11:32:01 AM] One or more resources to export/publish contains errors.

Now the reason for this error lies in understanding the concept.

YOu have developed a pipeline based on ADF-BC WSDL and you are creating a REST procy based on custom WSDL

Which mean the wsdl that will be generated for the REST will be different from that of WSDL used by pipeline

So if you will try to connect these two activities pointing to two different wsdl you are bound to get the error.

If you are supposed to use custom schema for your rest service

First develop a REST service based on schema and then create a pipeline based on the wsdl generated out of REST service.

All the transformation logic can be implemented in pipeline to transform the custom schema to the ADF-BC business schema format for both request and response.


No comments: