Regarding Newly created Business Service ?
Hi @,
In my scenarion I have created one New Business Service which is web service and it will be used in sync manner.while creating the Business Service there are two tabs Sender and Receiver which conatins the interface names .My doubt is as the web service is going to be used in Sync Manner whether the interface defined for the both will be same or I have to define different Interfaces?
I tried SDn but wasn't sucessful in finding a reasonable answer.
Regards
Hi,
If your webservice will be fire/start the communication, I mean, it will send the request to some resource it will be the Sender, and you have to assign to it Outbound Synchronous interface.
If your webservice will be a provider of information then you have to assign to it Inbound Synchronous interface.
Regards,
Jakub
Similar Messages
-
Oracle Day Exercise--Creating Business Services
Hello,I am a beginner of Jdeveloper ,I met some problems in practise the 'Creating Business Services ',below is the logging message, Is there any experts and would please give me some instruction on it ?
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config>
D:\oracle\jdev1012\jdk\bin\javaw.exe -ojvm -classpath D:\oracle\jdev1012\j2ee\home\oc4j.jar;D:\oracle\jdev1012\jdev\lib\jdev-oc4j.jar -Dhttp.proxyHost=rkfdproxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=192.168.*|172.22.1.*|10.*|190.*|*.sspi.com|*.aesysllc.com|*.woodward.com|localhost|127.0.0.1 -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
05/03/25 09:59:55 Copying default deployment descriptor from archive at D:\oracle\jdev1012\jdev\mywork\EmployeeRequisitionApplication\Lab2_BusinessServices\classes/META-INF/orion-ejb-jar.xml to deployment directory D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\application-deployments\current-workspace-app\classes...
05/03/25 09:59:55 Auto-deploying - file:/D:/oracle/jdev1012/jdev/mywork/EmployeeRequisitionApplication/Lab2_BusinessServices/classes/ (No previous deployment found)...
05/03/25 09:59:55 Auto-deploying - compiling and loading...
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0.java:567: error #300: variable requestApproval___101_wrapperPE not found in class EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0
requestApproval___101_wrapperPE = (PhaseEventIntf) ApplicationServer.phaseEventFactory().create(requestApproval___101_noun, "wrapper", "wrapper");
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0.java:569: error #300: variable requestApproval___101_wrapperPE not found in class EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0
requestApproval___101_wrapperPE.deriveMetric(SensorIntf.all);
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0.java:364: error #300: variable requestApproval___101_wrapperPE not found in class EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0
requestApproval___101_wrapperPE.stop(wtoken);
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0.java:210: error #300: variable requestApproval___101_wrapperPE not found in class EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0
wtoken = requestApproval___101_wrapperPE.start();
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0.java:263: error #300: class SatelessSessionEJBHome not found in class EmployeeReqFacadeLocal_StatelessSessionBeanWrapper0
context = ((SatelessSessionEJBHome)home).getLocalContextInstance();
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacade_StatelessSessionBeanWrapper2.java:246: error #300: class bolean not found in class EmployeeReqFacade_StatelessSessionBeanWrapper2
bolean created = false;
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacade_StatelessSessionBeanWrapper2.java:528: error #300: variable contextCntainer not found in class com.evermind.server.ThreadState
thread.contextCntainer = previousContainer;
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacadeHome_StatelessSessionHomeWrapper3.java:228: error #300: class PhaseEventItf not found in class EmployeeReqFacadeHome_StatelessSessionHomeWrapper3
create___0_wrapperPE = (PhaseEventItf) ApplicationServer.phaseEventFactory().create(create___0_noun, "wrapper", "wrapper");
^
D:\oracle\jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\EmployeeReqFacadeLocalHome_StatelessSessionHomeWrapper1.java:227: error #300: variable ApplicationSerer not found in class EmployeeReqFacadeLocalHome_StatelessSessionHomeWrapper1
ApplicationSerer.stateFactory().create(create___0_noun, "trans-attribute", "", "trans attribute", "unspecified");
^
9 errors
Error compiling D:\oracle\jdev1012\jdev\mywork\EmployeeRequisitionApplication\Lab2_BusinessServices\classes: Syntax error in source
Error in application current-workspace-app: Error loading package at file:/D:/oracle/jdev1012/jdev/mywork/EmployeeRequisitionApplication/Lab2_BusinessServices/classes/,
Error compiling D:\oracle\jdev1012\jdev\mywork\EmployeeRequisitionApplication\Lab2_BusinessServices\classes: Syntax error in source
05/03/25 09:59:59 done.
05/03/25 09:59:59 Error instantiating application 'current-workspace-app' at file:/D:/oracle/jdev1012/jdev/mywork/EmployeeRequisitionApplication/EmployeeRequisitionApplication-oc4j-app.xml: Error initializing ejb-module; Exception Error in application current-workspace-app: Error loading package at file:/D:/oracle/jdev1012/jdev/mywork/EmployeeRequisitionApplication/Lab2_BusinessServices/classes/,
Error compiling D:\oracle\jdev1012\jdev\mywork\EmployeeRequisitionApplication\Lab2_BusinessServices\classes: Syntax error in source
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 7382 ms.
05/03/25 10:00:00 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initializedMost likely the issue is that the deployment profile is not assembling all the required components, in this case EJB which was exposed as the Web Service.
I also notice that you are deploying to 10.1.2 OC4J, these labs are designed to work with OC4J 10.1.3 Developer preview3 (DP3) not OC4J 10.1.2
Make sure you are deploying to OC4J 10.1.3 DP3, and also double check your deployment profile to make sure all the required components are assembled.
raghu
JDev Team -
Create Business Service for Dotnet Webservice?
Hi all,
I have one dotnet Webservice which is implemented from remote server.
I begin create Business service for this service in OSB, but I don't know what I must choice between five Services Type:
- WSDL Web Service
- Transport Typed Service
- Messaging Service
- Any SOAP Service
- Any XML Service
My dotnet Webservice return one String in XML format like that <string>Hello World</string>Anybody can help me ?. If can,please give me full example show how to binding dotnet Webservice to OSB to Weblogic portal
Thank a lot!Hi Patrick,
I think my dotnet Webservice have WSDL
when I access this address
http://localhost/DotnetWebService/Service1.asmx?Wsdland I receive the result:
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="HelloWorld">
<s:complexType />
</s:element>
<s:element name="HelloWorldResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="HelloWorldSoapIn">
<wsdl:part name="parameters" element="tns:HelloWorld" />
</wsdl:message>
<wsdl:message name="HelloWorldSoapOut">
<wsdl:part name="parameters" element="tns:HelloWorldResponse" />
</wsdl:message>
<wsdl:portType name="Service1Soap">
<wsdl:operation name="HelloWorld">
<wsdl:input message="tns:HelloWorldSoapIn" />
<wsdl:output message="tns:HelloWorldSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Service1Soap" type="tns:Service1Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="HelloWorld">
<soap:operation soapAction="http://tempuri.org/HelloWorld" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="Service1Soap12" type="tns:Service1Soap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="HelloWorld">
<soap12:operation soapAction="http://tempuri.org/HelloWorld" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="Service1">
<wsdl:port name="Service1Soap" binding="tns:Service1Soap">
<soap:address location="http://localhost/DotnetWebService/Service1.asmx" />
</wsdl:port>
<wsdl:port name="Service1Soap12" binding="tns:Service1Soap12">
<soap12:address location="http://localhost/DotnetWebService/Service1.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Do you have any suggestion for me ?
Thanks
Edited by: AS84 on May 11, 2011 12:10 AM -
How to create Business Services in SLD
Hi Experts,
I'm working on SAP background and wanted to learn SAP-XI.
I'm interesting to work in XI and for this need your support.
I installed XI in my PC and wanted to start learning.
But there are no Business Services (or) Systems configured in the SLD.
I want to start with a simple FILE to FILE scenario.
Could anyone please tell me how to create services in SLD and carry on from there.
Thanks,
PrajwalHi,
please look at the bleow links
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4013f6bb-7ec3-2b10-62b5-e5be01e498f7
Blogs
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i - Step by Step Guide: XML File 2 XML File Scenario: Part I
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii - Step by Step Guide: XML File 2 XML File Scenario: Part 2
Regards,
Pradeep A.
Edited by: Pradeep Amisagadda on Apr 16, 2010 9:39 AM -
Creating business services in integration directory
Hi
When business services are created in integration directory - these business services are not tied back to entries in the SLD - i.e we can create entries for business services directly in integration directory without having to import them from SLD.
Now, when we migrate - from Dev environment to other landscapes - my understanding is that these business service entries are going to be migrated with the same names -and no transport target entries / validations is made during the target system import time - which happens in case of business systems having entries in SLD....
Could anybody out there - clarify these thoughts about business service entries
Thanks in advance - for your time .Hi Karthik,
Check out these help file links, hope this will help you:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fe/131eb4ef2fb344abf471c9eac0063a/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/fe/131eb4ef2fb344abf471c9eac0063a/frameset.htm</a>
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c7/301640033ae569e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/c7/301640033ae569e10000000a155106/frameset.htm</a>
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/7d/6b82cd0d1aef48ab5953524c9cc5b2/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/7d/6b82cd0d1aef48ab5953524c9cc5b2/frameset.htm</a>
http://help.sap.com/saphelp_nw2004s/helpdata/en/e6/908d3f7057eb0ce10000000a114084/frameset.htm]
Regards,
Subhasha ranjan -
Integration directory problem while creating business service
HI,
CURRENTLY I AM FACING A PROBLEM IN INTEGRATION DIRECTORY. WHEN I TRY TO CREATE A BUSINESS SERVICE INSIDE THE SERVICE WITHOUT PARTY WHICH I AM TAKING AS A SENDER, I AM UNABLE TO GET THE SOFTWARE COMPONENT VERSIONS IN THE SENDER PARAMETERS.
IF ANYONE CAN GIVE THE COMPLETE CONFIGURATION STEPS FOR SENDER AND RECIEVER SYSTEM THAT WILL BE VERY HELPFUL.
BEST REGARDS,
MONAHi Mona,
Let me explain you in detail:-
First, Activate the Change List in the Integration Repository once the design objects are complete. By activating the change list, the object becomes available for Configuration in the Integration Directory.
Secondly, to transfer Integration scenario from Integration Repository - you need your Integration Scenario to be created correctly and when you run this wizard you actually pull the Integration scenario in the Integration directory.
You also have the option of 'Configuration Wizard'.
This tool is a wizard for creating your Recevier Determination, Receiver Agreement, Sender Agreement and Interface Determination. For this tool, you do not need the Integration scenario
It is not mandatory to use any of these tools to configure your scenario.
All you have to do for configuring your scenario is
1. Create Business system/Business service
2. Create Communication Channel
3. Create Receiver Determination
4. Create Interface Determination
5. Sender Agreement
6. Receiver Agreement
I hope this provides you a solution.
Regards.
Praveen -
Error creating business service with EJB transport on Unix
I have ALSB 3.0 installed on a Unix system and I am unable to create a business service based on the EJB transport. After I associate the client jar to the business service, ALSB recognizes the home and remote interfaces in the jar file but as soon as I click the Next button I see the following error:
An expected exception occurred during the creation or update of this service: null
If I install ALSB 3.0 on Windows then I am able to create the identical EJB based business service that fails on Unix.
Has anyone been able to create an EJB based business service on Unix or is this a known issue with ALSB 3.0?
Thanks for any help!Hi irgendwo,
user profile server must be required when you need the to enable the People Search feature. and this pre-request.
you can confg search but you can used because there are many service which are depeded to each other
check the link for depended services
http://technet.microsoft.com/en-us/library/ee662538%28v=office.15%29.aspx
Please verify all the depended service as well which is required in serach service...
see the below link from MSDN about serch service application ..
http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
Please mark the Answe and vote me if it will you while search configuration -
Basic question about creating Business Service
When we create a new Business Service there is an option to create a Business Service from an existing BusinessService, or an existing ProxyService. What is the meaning of such definitions? Can you give an example where these two use cases are needed/useful?
One of the primary reasons for using an enterprise service bus is to de-couple the backend service (business service) from the service consumers (or clients) using a proxy service. One of the simplest scenarios is to expose the backend service with an identical interface but with perhaps a different service (endpoint) address or using a different protocol. The create from existing business service/proxy service options create a proxy service with the same interface and a message flow already configured to route to the service you selected. You can read through a simple example of this on my blog here:
http://dev2dev.bea.com/blog/ctomkins/archive/2007/12/exposing_a_new_service_via_aqu.html
Hope that makes sense. -
Unable to create Business Service "Web Engine Interface" (sbl-dat-00227)
Does anybody know about this issue? I can't test my workflows because of the same message please it is urgent fix it.
Regards.Hi,
Does the Application is working only on ENU or any other language. Pls confirm.
If you are trying to test the worklfow other than ENU, this error will occur.
There are some LOV Value for "ACCESS_RESOURCE_TYPE". Please check if it exists and the Language is ENU.
Regards,
Joseph Arul Dass -
Hands on Lab JD Edwards Enterprise One Business Service Development
Hi,
I completed the "Oracle Open World 2008 - Hands on Lab JD Edwards Enterprise One Business Service Development" PDF at [http://www.oracle.com/technology/tech/fmw4apps/jde/pdf/openworld08_businessservicedevelopment.pdf].
I ran the business service at the end of the lab to get the following error:
Internal Server Error (Caught exception while handing request: oracle.e1.bssvfoundation.exception.E1AuthorizationException: User is not authorized to invoke this published business service)
How can this be resolved?
We are on 8.12 and 8.97.1.2 tools
Cheers,
Steve.Hi,
I am having problems at step 5 in your last post.
" 5) Check your Published BSSv is set to published or not in OMW. If not go to security workbench and select the option publish BSSV from Form Exit and Add Custom Published Business service created, make it Executable."
- The business function is not published. I try to in Security workbench (P00950) and publish BSSV row exit not to find my newly created business service object (JP55HOL). I can see all the standard ones but not mine. I open the P00950 application to know what the underlying tables are in the Business Views the grids source the data from, to find that JP55HOL exists in the Object Librarian table F9860 but not in the Business Service Published Methods P98630. For the business function to be published, the record needs to exist in this table. How could this record not be written and how can it be corrected through the Application?
- I don't understand what "or not in OMW" means?
Please understand that I have followed the hands on lab with no other BSS setup on 8.12/8.97
Thanks,
Steve -
OSB Business service not getting created
Dear team,
We created a db adaptor which invokes a DB procedure with input paramter as tabletype .
Db procedure and tabletype are in same schema .
We are trying a generate a Business service based on jca file. We are getting error
"Error while retrieving information from JCA file".
Can you please suggest1. What instrument did you use for creating Business Service?
2. How did you create the Business Service step by step?
3. Can you please attach JCA, WSDL, XSD for Db procedure? -
How to create Web Service based on PI WSDL message
Hi all,
we have following scenario:
Within PI (version 7.1) we set up a message type and inbound service interface. This service interface should send the PI message to a web service running on a SAP J2EE (version 7.01). As the PI message is sent as WSDL I thought it should be easy to build a web service on the SAP J2EE based on this WSDL from PI.
Unfortunately, I have problems creating the Web Service.
For my current project we integrated the NWDI to the SAP NetWeaver Developer Studio and I'm required to add the Web Service to an existing DC (Development Component) within the NWDI.
What I tried so far is:
- I created a Deployable Proxy Project and within this I created a Client Proxy Definition based on the WSDL from the PI. But I can't add this Proxy to the DCs of the NWDI and I don't know how to implement my own coding here in order execute specific functions.
- I created a new class within the NWDI DC and a public method. Based on this I created a Virtual Interface and a Web Service Definition (WSD). Then I added this to a Web Service Deployment Descriptor. I uploaded this to the SAP J2EE. But I'm not able to access this and I don't know hoe to assign the WSDL here.
I also tried here to create a client proxy based on this WSD as I thought I might assign the WSDL here. But I don't see the WSD in the list of Web Services uploaded to the SAP J2EE...
Can you please advice me how to create a Web Service in such an environment?
regards
René JurmannHi Tahir,
sorry that you needed to wait this long - but this is how I created the web service:
The steps on how to create the web service in NetWeaver Developer studio are nearly the same as described in the blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5838. [original link is broken] [original link is broken] [original link is broken]
Some steps I just skipped and some others I added. Some of the steps I did the way I described it as I needed to connect the web service with the SAP PI.
Prerequisites:
Add Java Perspective and J2EE Development Perspective to the open perspectives.
Within "Window - Preferences - Web Services" check "Soap extensions visible in the virtual interface editor"
The SDM of the corresponding SAP J2EE is configured within "Window - Preferences"
Create a Development Component (DC) with type "J2EE -> EJB Module"
The business logic of the web service will be implemented in an Enterprise Java Bean (EJB). So first the EJB component must be created:
Choose "File -> New -> Other"
In opening PopUp choose "Development Component -> Development Component Project"
Select the Software Component for which you want to add the DC (e.g. "Local Development -> MyComponents")
Choose now vendor, name and type:
vendor is an alpha-numeric string of 20 characters starting with a letter - all in lower case
name is an alpha-numeric string starting with a letter - all in lower case
vendor and name concatenated must not be longer then 40 characters
the name can be separated into different part using "/" as separator
each part of the name must not be longer than 8 characters
the type is "J2EE - EJB Module"
you can specify a Caption as general description for the web service
Create new EJB
To create the EJB itself:
In J2EE DC Explorer of J2EE Development Perspective expand new DC and right-click on folder "ejbModule"
Choose "New - EJB" with following details:
EJB Name: <name as for PI service Interface to be created - starting in upper case>
EJB Project: <pre selected>
Bean Type: Stateless Session Bean
Default EJB Package: <corresponds to namespace in PI>
generate default interfaces: Checked
Regarding the "Default EJB Package" this should be created according the namespace in PI for which all PI objects will be created. This only applies if you have some naming conventions here.
Example:
Namespace in PI is: http://company.net/pi/SOFTWARE_COMP/Application
The corresponding package then is: net.company.pi.software_comp.application
Implement coding for web service
As the web service will be called via PI some transfer variables will be submitted. Most likely, those variables will not be standard type (e.g. String) but a complex type. Those types must be generated as Java classes. Below an example of a complex type I needed:
Data Type
net.company.pi.software_comp.application.types.MessageProcessingInformation
Structure:
Element name Element type
sendingSystemID String
interfaceID String
businessProcessVariantCode String
testIndicator Boolean
For every element described a public "get", "set" and "has" method must be created in the corresponding Java class:
package net.company.pi.software_comp.application.types;
import java.io.Serializable;
public class MessageProcessingInformation implements Serializable {
protected String sendingSystemID;
protected String interfaceID;
protected String businessProcessVariantCode;
protected Boolean testIndicator;
public String getSendingSystemID() {
return sendingSystemID;
public void setSendingSystemID(String value) {
this.sendingSystemID = value;
public boolean hasSendingSystemID() {
if(sendingSystemID != null && !sendingSystemID.equals("")){
return true;
return false;
All Java classes representing complex types and all classes referenced here (used for sub-types) must implement java.io.Serializable. Java standard types which do not implement this class must not be used as sub-types.
As soon as all data types are declared the real business logic can be implemented:
In J2EE DC Explorer of J2EE Development Perspective expand DC - "ejb-jar.xml" - <Name> and double click on "ejbCreate"
In detail view select folder "Business Methods" and click "Add"
choose name of business method - this should be the same as the PI message type used for the service interface - starting lower case
return type should be "void"
add needed parameters fully qualified - including package (as specified in PI and created previously in DC)
you can mark certain parameters as array if necessary
Remark:
It might be that after saving you get an error. This might be as the package name of one component is copied to the corresponding Java class at the very beginning (before the package declaration within the Java class). Simply delete the string here.
It also might be, that the new business method is only defined in the remote interface class but not in the bean class. Just create an according method in the bean class.
Within the newly created business method within the bean class you can now implement the business logic.
Create a DC with type "J2EE -> Enterprise Application"
In order to create the "real" web service and deploy it to the J2EE an Enterprise Application project has to be created. So create a new DC as for the EJB Module but choose as type "J2EE -> Enterprise Application".
After the DC is created right click on the EJB DC and choose "Add to EAR Project". Choose the new DC.
Create web service for EJB
As soon as you implemented the business logic you can create the "real" web service. Therefore:
Right click on the EJB name below "ejb-jar.xml"
Choose "New - Web Service"
Choose proper "Web Service Name" and "Configuration Name" (probably oriented at the EJB name)
Copy the URL of the web service - you'll need it later for PI configuration
on the second next screen use the same name for "Virtual Interface" and "Web Service Definition" (the name should be the name of the "Endpoint")
the "EAR Project" should be preselected
Unfortunately, the web service can't be used in its current configuration to be accessed by PI. Therefore the Virtual Interface must be changed. To do so, expand folder "Virtual Interfaces" and double click the virtual interface created.
Within the detail view expand in tabs "Mapping" and "Types" the complete folder structure. For any "SOAP Extension" where a namespace can be defined use as namespace the corresponding namespace in PI (e.g. http://corpintra.net/pi/CBFC_GLOBAL_SAP_APPL/BillerDirect) but do not change any "Soap Extension" of a standard Java type. (if you don't have any naming convetions for namespaces in PI you can leave the SOAP Extension here. But then the namespace in PI should be set accordingly.)
Probably it can be necessary on top level "Soap Extensions" in tab "Mapping" to leave "Use Namespaces for Parameters" unchecked. For some of my web services this parameter must be checked for others not - just try.
If you can define a "New Name", "Local Name" or "Item Label" for a Soap Extension then use a name with starting upper case letter. (For Java Naming conventions most of the data type names will start with lower case letters.) Especially the method name must be renamed this way in order to stick to the PI namings.
As a last point to change here check in tab "Mapping" all "Incoming Parameters" which you specified as array. Use for those as "New Name" a different name - do not just simply change from lower case to upper case. This is necessary as on PI we need to create two levels although here only one is specified.
For any own sub-type declared as array the name within the coding should also differ from the corresponding Java Class name the type refers to.
If all this is done you can deploy the web service to the J2EE:
right click on "Enterprise Application" DC and choose "Development Component - Build..." and build all corresponding components
right click on "Enterprise Application" DC and choose "Development Component - Deploy"
Test the new web service via <J2EE URL>/wsnavigator/enterwsdl.html
Create PI interface
After the web service is created successfully the PI integration can be started.
Therefore, within the Enterprise Services Builder create a data type according to the web service definition. All components defined on top-level for this data type should be declared as incoming parameter for the web service business method. Therefore it could be necessary to create some sub data types on PI first and add those to the "master" data type.
Ensure that the names of the components correspond to the names defined in the web service (see virtual interface here). Those names must exactly be the same - including lower/upper case. Also take care for the ordering of the components.
In case you need to include arrays following applies:
The upper level is of occurrence "1:1". This has only one sub-entry with occurrence "1:n". The names for upper and sub-level must not equal.
Based on the data type a message type is created. The name of the message type must be exactly the same as the name of the web service business method. (Hint: the name of the web service business method was most likely changed in the virtual interface. Then this name must correspond to the message type name.) Based on the message type an asynchronous inbound interface is to be created (which will be referred in the Integration Directory). The operation name for this interface (left panel) should be the same as the name for the web service business method.
Create PI mappings and routings
How to map (message mapping and operation mapping) from source to the web service message I wont explain here as this depends on the source message. The only important things here are:
When creating the SOAP communication channel within the Integration Builder the "Target URL" is:
<J2EE URL>/<Access URL as specified in web service creation>?wsdl&style=document
The soap action is the name of the web service business method.
Most likely the web service needs authentication to be executed. -
Business Service Without Party in Integration Scenrio Configurator
Hi everybody
I am stucking in a small issue but do not found a related thread.
Can anybody explain me, why I cannot assign a "Business Service" of typ "Service without Party" to an Application Component? I am try to configure my integration Process and call in the directory Tools --> Transfer Integration Scenario from Integration Repository. In the following Configurator I can only assign Business Systems from SLD or Services with a Party depending on the settings of the Application Component in the Repository (Flag "External Party with B2B Communication"). If you configure the scenario manually it is possible to involve Business Services without party. But I would like to make use of the Wizard and my Customer has a lot of Systems maintained as Business services.
Any suggestions?
Regards OliverHi,
I have not done this type of task before.. but from the given links
see the below information was in the above first link
The following steps are then only required if the application component has at least one connection to a B2B component.
3. On the Business Services for B2B tab page, enter the business service that you want to use for B2B communication.
The integration process service that is already entered on the Integration Process Service for A2A tab page is then assigned to this business service.
B2B Component...
1. On the Business Services for B2B tab page, assign the business services.
Use the input help () to select the business services.
2. If you want to create a new business service, choose Create Business Service ().
To assign multiple services simultaneously, choose Input Help () in the toolbar of the table (only when assigning business services and business system services).
Regards
Chilla -
Its possible to Create Bussiness Service for IDOC Communication Channel
HI FRNDS,
My scenario File to Idoc,
When we will go for business Service , Its possible to create Business Service SAP R/3, its a Good advice.
To which Adapters we will use business Service, business System
Regards,
rajHi,
This is the basic difference between Business Service and Business System. This will help you in concluding why you use them and hence you can deduce your answer....
Business System
Business systems are logical systems that function as senders or receivers within the SAP Exchange Infrastructure. You configure business systems in the SAP System Landscape Directory (SLD). A business system is always associated with a technical system (here: SAP Web AS ABAP system).
Business Service
Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details.
Regards
Arpil
Reward points for the useful answer -
Hi all,
I have two questions:
1. Can any body please tell me how to trigger a buisness service ? For example, if we define a business sysem, then we can create an instance of the proxy class and call method execute_asynchronous.?
2. In sxmb_moni, the status of a message is "Commit Missing" which is not listed even in the list of status symbols. Can anybody please tell me why this status is shown and its possible causes?
Thanks and best regards,
Kulwant SinghHi
Business services are used when the landscape of the communicating partner is unknown
At secondary level when set of interfaces needs tobe grouped service type "business service is used ".
Refer these help doc and thread which would give u an idea of bus service
Creating business services in integration directory
http://help.sap.com/saphelp_nw2004s/helpdata/en/c7/301640033ae569e10000000a155106/frameset.htm
Also there are infinite threads on SDN which illustrates business service.
Maybe you are looking for
-
Hi all, When i am trying to close a project,i am getting an error that there are still some PO commitments left for a network.When i cross checked i found that GR had been made for the PO and hence the PO is closed.When i checked in the PS reports,a
-
My Razr maxx hd keeps dropping calls daily no matter where I am. How can I fix this?
This phone keeps dropping calls a few minutes in most of the time. I am tempted to tossing this phone out and switching to iPhone but I loved the droids since the beginning. This has been happening for the last year and now I am tired of it. This pho
-
Premiere Elements DVD looks awful
Hello, I am trying to make computer tutorial videos both available on DVD and on the web. I am only on the DVD part so far and having major trouble. Here is what I am trying to do Creating screen captures using CamStudio I have tried setting the valu
-
I continually am denied access to acrobat reader plug-in. I have Win XP & have re-installed Adobe Reader 8.1 numerous times but still no availibility to Acrobat. Any suggestions?
-
'Cordova / CDVViewController.h' file not found
Good afternoon, I'm having trouble compiling a project using XCode Cordova. The following message is displayed: /Users/clicksoftclicksoft/Documents/projetos/40st-Ios/App40st/Classes/AppDelegat e.h:30:9: fatal error: 'Cordova / CDVViewControlle