OSB-12c : Any XML Message type usecase
As WSDL
type’s services, we can create proxy and business service based on AnyXML MessageType
in oracle Service Bus
Create a new folder and name it as “AnyXML_Based_ServiceType”.
Create sub folder structure as shown below.
Create new Http based proxy service which is of message type ‘AnyXML’.
Service Name: AnyXML_MessageType_ProxyService
Transport: HTTP
Service Type: AnyXML
In Pipeline, add an ‘IF’ condition with below logic.
($inbound/ctx:transport/ctx:request/tp:headers/tp:user-header[@name="Content-Type"]/@value)="text/xml"
If ‘IF’ condition passes,
incoming body will be replaced with final success response structure.
If ‘IF’ condition fails, error
will be raised with below code and description.
Error Code: 1001
Error Desc: Testing of Any XML
Message Failed.
Deploy the service into local standalone server. Once deployment is successful, we can locate service in sb console.
Run AnyXML_Based_ServiceTypePipeline
Pass some valid XML structure
as shown below
On successful execution, we
can see response as below.













Hi.
ReplyDeleteI am working with an "Any XML" proxy server and everything works fine except for the final response. All I get is the content of the body from a proxy I call via Dynamic Routing. I get no header at all but when I check the OSB debug console I can see the response variables "$header" and "$body" do have all the info returned by the called proxy.
How can I forward that response so that it appears just as the called proxy gave it?
Proxy **SERVICE**, I wrote "server" by mistake
DeleteThanks for support
ReplyDeleteAppian BPM online training
ReplyDeleteAppian BPM training
arcsight online training
arcsight training
Build and Release online training
Build and Release training
Dell Bhoomi online training
Dell Bhoomi training
Dot Net online training
Dot Net training
ETL Testing online training
ETL Testing training
Hadoop online training
Hadoop training
Tibco online training
Tibco training
Thank you for sharing this OSB ORACLE Oracle OSB Training
ReplyDeleteAppreciate you sharing, great article .Much thanks again. Really Cool.
ReplyDeleteSAP ABAP training
SSAP PP online training
data science training
teradata training
oracle bpm training
angular js training
sql server dba training
oracle golden gate training
nice post.data modelling training
ReplyDeletedata modelling online training
data modelling online course