Configuring B2B adaptor
Hi ,
I am doing follwoing setps in B2B console
Create a document definition:
°° Document protocol: custom
°° Version Name: 1.0
°° Document Type: PurchaseOrder
°° Document definition: PurchaseOrder_def
°° Schema: po.xsd
°° Identification Expression: //*[localname()='PurchaseOrder']
°° Routing ID: PurchaseOrder10
• Define the trading partners:
• Change host trading partner name.
°° Name: OracleServices
• Define the MarketInc trading partner:
°° Name: MarketInc
°° Document: PurchaseOrder_def
°° Sender: Check
°° Receiver: Uncheck
• Create a listening channel:
°° Name: File_ListeningChannel
°° Protocol: Generic File-1.0
°° Polling Interval: 5
°° Folder Name: c:\orclsrvs_in
°° Enable Channel: Selected
°° Internal: Uncheck
• Create agreement:
°° Partner: MarketInc
°° Document: Custom-1.0-PurchaseOrder-PurchaseOrder_
def
°° Agreement ID: OS_MI_1000
°° Name: OracleService_MarketInc_Agr
• Validate and deploy:
• Create Composite: B2BProcessing.
• Create B2B service binding:
°° Name: ReceivePO_B2B
°° B2B Integration Type: default
°° Operation: Receive
°° Document Definition Handling: basic
°° Document Definition: PurchaseOrder_def
As soon as I select Document Definition: PurchaseOrder_def I am getting error
" An error occurred while obtaining the schema for selected document defination.[Server Codehandler] Failed to encode fault - > Java.lang.nullpointException] at java.lang.string.string.<init> "
Since this error is comming from Jdev there is no log
Below is XSD file contains
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xmlns.oracle.com/ns/order"
xmlns:po="http://xmlns.oracle.com/ns/order"
elementFormDefault="qualified">
<element name="PurchaseOrder" type="po:PurchaseOrderType"/>
<complexType name="PurchaseOrderType">
<sequence>
<element name="CustID" type="string"/>
<element name="ID" type="string"/>
<element name="productName" type="string" minOccurs="0"/>
<element name="itemType" type="string" minOccurs="0"/>
<element name="price" type="decimal" minOccurs="0"/>
<element name="quantity" type="decimal" minOccurs="0"/>
<element name="status" type="string" minOccurs="0"/>
<element name="ccType" type="string" minOccurs="0"/>
<element name="ccNumber" type="string" minOccurs="0"/>
</sequence>
</complexType>
</schema>
Any help apprisiated
Thanks
Mubin
Hello Mubin,
I used your XSD and I could successfully fetch it in JDev after deploying the agreement.
Two things you should cross-check -
1. Your database is up and running
2. You actually saved the XSD in document (PurchaseOrder_def) before validating and deploying the agreement. You may try after recreating a new agreement using same Doc def. Make sure that XSD has got saved.
Regards,
Anuj
Similar Messages
-
Deploying B2B Adaptor to new instance
Hi,
I have developed composite and connecting to B2B through B2B Adaptor to import 810Def.
Currently I am in Dev environment and I see B2B Adaptor configuration created one .wsdl file and there is no .jca file.
In .wsdl file, there is b2bconfiguration values as below.
<b2bconfig:parameters
UIDocRef="EDI_X12--4010--820--820Def"
UISOAServer="WLS_SOA1"
UIConnectionName="Devm01" />
But now i need to deploy the code to new environment using ant script. So in that case is there any connection details do we need to mention in this .wsdl file.
And i am curious to know how B2B adaptor uses 810 definition from new environment.
Please help.
Thanks
VeerVeer,
At SOA layer, all the environment variables can be overridden at the time of deployment using configuration plan. You need to have one config plan for each env. To know more about config plan, please refer -
section "43.6 Customizing Your Application for the Target Environment Before Deployment" at -
http://docs.oracle.com/cd/E28280_01/dev.1111/e10224/sca_lifecycle.htm#CACBGDCG
So in that case is there any connection details do we need to mention in this .wsdl file.No. Nothing needs to be changed. Just make sure that B2B agreement is deployed before the composite gets deployed. SOAINFRA will take care of binding internally in case of fabric mode of integration.
and there is no .jca file.JCA files are created when you are using JMS/AQ mode of integration in B2B adapter.
And i am curious to know how B2B adaptor uses 810 definition from new environment.In the Document Definition Handling screen of B2B adapter wizard, you select an option that how B2B should use the definition. If you select "Import Schema from B2B" then XSD is copied locally in the composite (in xsd folder of composite) and same is used at runtime. If you select "Refer to Schema in B2B Repository" then SOA refers to the XSD which is loaded in MDS instead of creating a local copy. Rest of the options are self-explanatory. You may refer section "2.5.1 How To Use B2B Binding Components in a SOA Composite Application" at -
http://docs.oracle.com/cd/E28280_01/user.1111/e10229/intro_ui.htm#CHDEGEEB
Regards,
Anuj -
Difference between healthcare adaptor and b2b adaptor
Hi
What is the difference between healthcare adaptor and b2b adaptor ? which one to be used and whyB2B enables an enterprise to define, configure, manage, and monitor the exchange of information, electronically, with its trading partners or between different departments.
You can refer below link for more information :
http://www.oracle.com/technology/products/integration/b2b/pdf/DS_Oracle_Integration_B2B_1012_FNL.pdf
B2B supports various range of standards from the different fields like healthcare, retails etc.
Oracle B2B offers HL7, HIPPA , NCPDP and many other health care protocols along with the EDI, PFF ,RossettaNet etc.
For more information , you can refer :
http://www.oracle.com/technology/products/integration/b2b/pdf/DS_Oracle_Integration_B2B_for_Healthcare_1012_FNL.pdf
http://www.b2bgurus.com/
Just drop a mail([email protected]) if you need more input or contact support/PM
Edited by: Nitesh Jain on Nov 18, 2009 11:08 AM -
Error while configuring B2B adapter in Jdev 11.1.1.6
Hi All,
While configuring B2B adapter in jdev 11.1.1.6, i'm getting the following error at the Document definition step,
Unable to connect to URL: https://ip address:port no/integration/services/b2b/B2BMetadataWSPort due to javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: Violated path length constraints
please let me know if anyone of you faced this issue and has a resolution. We have SSL configured and using Rosettanet protocol.
Thanks,
TerryTerry,
It seems like a SSL issue related to the certificate. Can you make sure that certificate being presented by the server (hosting URL https://ip address:port no/integration/services/b2b/B2BMetadataWSPort) is valid and you have complete cert chain in the keystore of SOA server?
Regards,
Anuj -
Configuring b2b/transportServlet on another HTTP server
Hi All,
Here we have a strange requirement
Actually we are trying to configure B2B with DMZ in place
Our approach follows like
B2B should be within Oracle firewall and HTTP server will be in DMZ
we will open required ports on firewall to have communication between HTTP and B2B instance
Now HTTP server sits between remote TP and host B2B
To make above configuration possible
I am thinking whether it is possibe to host 'b2b/transportServlet' which comes with B2B on the HTTP server sits in DMZ
Any ideas would be great and helpful
Thanks
-PraveenBut Ramesh
Our main intention is not high availability configuration fro B2B
Its just connecting to B2B(in Firewall) from OHS(in DMZ)
After going through the doc what I understood is
Whole components should be in Active-Active topology
For this to happen we need atleast 2-mid tiers running B2B instances
Obviously which we are not having
Thanks
-Praveen -
Configure LDAP Adaptor without ODSM
Hi,
Is there any way I can configure LDAP adaptor without ODSM?
Regards.You can modify the Adapters xml which would create the adapter after the OVD Instance bounce but for the password you would have to login via ODSM. That is the tool provided for such operations.
There are ldap commands but I don't think it would be able to create a new adapter. It can add/delete LDAP entries from the browser view that too for a localstore adapter but not create adpater -
WARNING: Unable to connect to URL: in oracle b2b adaptor
Hi
I am facing the following error while configuring the b2b in jdev
WARNING: Unable to connect to URL: http://localhost:7001/integration/services/b2b/B2BMetadataWSPort due to javax.xml.soap.SOAPException: Message send failed: emeacache.uk.oracle.comHi,
Check whether admin server is up and running.
Regards,
Anuj -
I use my work PC for all computing - my Linksys router's wireless connection works on the WIN adapter that comes with my computer but not the network adapter used by my work/office which is the default. It is the Odyssey Client Manager. Any idea how I can configure Odyssey to connect to the the Linksys router so I don't have to keep turning it off and disabling it?
Is this a personal install? If so did you install the loopback adaptor? Can you confirm you can connect to the oracle instance, have you checked the config logs for more information.
Cheers
John
http://john-goodwin.blogspot.com/ -
Troubles when configuring B2B with XCM
hello all,
I m a newbie to sap World..i have some troubles to create a b2b scenario:
I'm using XCM and the "internet sales R/3 best practces tutorial" to do this , there are the steps i 've followed :
1 - create a new custumer specific configuration :
XCM menu : Start -- Application Configurations -- SAP -- r3shop
then : The new Configuration has been created and can be accessed via:
XCM-Menu -- Start -- Application Configurations --Customer --<MY_CONFIGURATION>
2- create JCO component :
XCM Menu Start -- Components -- Customer -- JCO
then :
XCM-Menu -- Start -- Components -- Customer -- JCO -- <MY_JCO_COMPONENT>
(the connexion test was OK)
3- Create a shop component :
XCM Menu Start -- Components -- Customer -- Shop
so there i'm not sure about the OBJECT-PATh : i put
D:\usr\sap\CRM\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\crm~shopadmin\servlet_jsp\shopadmin\r3shop
where of course "shopadmin\r3shop" is shared folder
is that correct?
then :
XCM Menu -- Start -- Components -- Customer -- Shop -- <MY_SHOP_COMPONENT>
4- Assigning the Components to the Configuration
Use :
No prolu00E8me with this step.
then i access B2B XCM config via the url :
http://host:50000/B2B/admin/xcm/init.do
and normaly if all was ok i should see "MY_CONFIGURATION" under the menu :
Start -- Application Configurations -- Customer --
but i hve nothong there..
Nor have i "MY_JCO_COMPONENT" under the menu :
Start -- Components --Customer -- JCO --
I've repeated the steps many time by i have the same problu00E8me always at the end.
<u><b>what is the problu00E8me?</b></u>
what is the application
http://host:port/shopadmin/shopamin/init.do
for and what are the login/pass to acces it?
thnx a lotHi
Shop Admin XCM :
http://rjksystem:57600/shopadmin/admin/xcm/init.do?
Start-->Application Configuration --> Components --> Customer --> jco
Here you create the JCO
Start-->Application Configuration --> SAP --> r/3 Shop
Here you create the Shop !!! (by using the created JCO)
Important : The below step is required only when you migrate from 3.1 to 4 version
Start-->Application Configuration -->Components --> Customer --> Shop
Configures additional settings used by the selected shop-type. File system path that contains the ISA R/3 shops.The file system path you use for Shop Data upload from the file system to the J2EE DB.
Shop Admin : for creating the Shop:
http://rjksystem:57600/shopadmin/shopadmin/init.do
I think you are right on the remainings !!!
Please check and let me know !!!
Thanks
Jack
<b>Allot points if my post helps !!!</b> -
Getting Error while configuring thirdparty adaptor on weblogic server.
Hi,
I am using Oracle SOA Suite 11g & weblogic server 10.1.3. We have requirement in which SAP need to call BPEL webservice. So i came to know that this i can achive through oracle thirdparty adaptor. I have installed this as per oracle document. Now for SAP, i am going to deploy J2CA into weblogic server. I am getting following error. Could you please help me on this?
java.lang.IllegalArgumentException: </resourceadapter> </connector> icrosystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'> <connector> <display-name>IWAFJCA10</display-name> <vendor-name>IWAY Software</vendor-name> <spec-version>1.0</spec-version> <eis-type>IWAF</eis-type> <version>1.0</version> <license> <license-required>false</license-required> </license> <resourceadapter> <managedconnectionfactory-class>com.ibi.afjca.spi.IWAFManagedConnectionFactory</managedconnectionfactory-class> <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface> <connectionfactory-impl-class>com.ibi.afjca.cci.IWAFConnectionFactory</connectionfactory-impl-class> <connection-interface>javax.resource.cci.Connection</connection-interface> <connection-impl-class>com.ibi.afjca.cci.IWAFConnection</connection-impl-class> <transaction-support>LocalTransaction</transaction-support> <config-property> <config-property-name>AdapterName</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>SAP</config-property-value> </config-property> <config-property> <config-property-name>Config</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value></config-property-value> </config-property> <config-property> <config-property-name>IWayHome</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>D:\Oracle\ora11g\fmw11gHome\Oracle_SOA1\soa\thirdparty\ApplicationAdapters</config-property-value> </config-property> <config-property> <config-property-name>IWayConfig</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>J2CA_SampleConfig</config-property-value> </config-property> <config-property> <config-property-name>IWayRepoDriver</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value></config-property-value> </config-property> <config-property> <config-property-name>IWayRepoURL</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value></config-property-value> </config-property> <config-property> <config-property-name>IWayRepoUser</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>weblogic</config-property-value> </config-property> <config-property> <config-property-name>IWayRepoPassword</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>weblogic1</config-property-value> </config-property> <config-property> <config-property-name>LogLevel</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>DEBUG</config-property-value> </config-property> <config-property> <config-property-name>LogSize</config-property-name> <config-property-type>java.lang.Integer</config-property-type> <config-property-value>100000</config-property-value> </config-property> <config-property> <config-property-name>LogCount</config-property-name> <config-property-type>java.lang.Integer</config-property-type> <config-property-value>10</config-property-value> </config-property> <authentication-mechanism> <authentication-mechanism-type>BasicPassword</authentication-mechanism-type> <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface> </authentication-mechanism> <reauthentication-support>false</reauthentication-support> is not a legal value for TransactionSupport. The value must be one of the following: [NoTransaction, LocalTransaction, XATransaction]
ThanksHi,
anybody has any idea on this??
i am also facing one issue in which after installing Oracle Application Adaptor. i am not able see adaptors detail like SAP, peoplesoft, JDEdwards, Siebel.
Please help me onthis issue.
Thanks
Amit -
Issue in B2B-BPEL configuration
Hi,
Problem: Not able to configure B2B-BPEL plugin for BPEL PM for B2B.
Background:
I am using soa suite 10.1.3.1 and B2B server 10.1.2.02. After going through B2B user guide docs and Bpel docs, i have tried to configure B2B-BPEL zip file which comes with B2B installation inside BPEL server but in vain. It seems there is some problem with build.xml which comes with zip file. I have tried to modify contents of the same and build it but no output.
Can anyone please tell me how to configure soa suite bpel/esb server with B2B repository using B2B-BPEL zip file or if there is any other procedure plz let me know. After installing the same I should be able to get all the deployed ones under B2B inside WSIL browser of JDeveloper. But Im not able to.
Regards,Hi,
you can publish data to B2B internal delivery channel by configuring AQ adapter in BPEL/ESB.
Please refer this document for ESB : http://www.oracle.com/technology/products/integration/b2b/pdf/B2B_TN_028_ESB_B2B_Interop.pdf
If you want to enable WSIL browser, you need to apply patch 5105622 for more information refer this link
Re: BPEL-B2B integration
Edited by: RameshT on Mar 27, 2009 2:41 AM -
How to configure Integration B2B to request and process AS2 Sync MDN
Hi,
Is it possible to configure B2B to request and process sync MDN in Custom Document Over Internet scenario?
I have set up the TP Delivery Channel's Acknowledgement mode to Sync but It does not work for outgoing documents. Our trading partner sends back MDN over the same https connection but it only results in an error. The business message status of is Wait Ack for few minutes and then changes to Error:
Business Message Details
Collaboration
Revision
Business Action PROCESS
Revision 1
Process Protocol
Exchange Protocol AS2 - 1.1
B2B Message Id 1036
Protocol Message Id <1036@as2test>
Protocol Collaboration Id
Receive Time Stamp April 21, 2009 2:37:43 PM
Send Time Stamp April 21, 2009 2:37:43 PM
Acknowledge Mode Sync
Reply Mode Async
Agreement TP_TEST_AGR
Message Date Time April 21, 2009 2:37:43 PM
Error Code AIP-50079
Message Type
State Error
Remaining Retry 0
Acknowledge Type Document Exchange
Direction Outbound
Time To Acknowledge
Sending Trading Partner HOST_TEST
Wire Message View
Correlated Message
Payload Payload
Transport error: [IPT_HttpSendError] HTTP encounters send error :.
Premature EOF encountered
Also our trading partner reports that he gets the message six times during the time between Wait Ack and Error status and each time send Ack. Nothing is visible in b2b.log in that time.
When we switch to Async Ack, B2B also sends message six times and each time receives Async MDN. This time however, each MDN is received and processed correctly. Our request has status Complete, until the 6th Ack is received, then it changes to the same error as above.
Have any of you experienced above error? Is it at all possible to process AS2 MDN's correctly especially in Sync mode?
Thank you in advance.Just consider your BPM is receiver, and sender:
Src --> BPM (BPM is Receiver)
==========
Sender Agreement (If it is IDOC or HTTP, then you do not have to create)
Commnunication Channel
Receiver Determination
Interface Determination
BPM --> Target (BPM is sender)
============
Receiver Determination
Interface Determination
Communication Channel
Receiver Agreement
If your BPM interact with other systems, you will have more Receiver Determination and Interface determination, possible Receiver agreement
Hope this clear your doubts
Liang -
Configuration of B2B Scenarios ?
Hi Experts,
Please tell me any one about
How to configure B2B scenarios ?
And what is difference between A2A and B2B ?
Thanks in Advance
Regards,
RaviHi Ravi,
there are many blog/discussions available on which provide the details. Please search on scn.
For B2B scenario configuration you can refer the below blogs
B2B- EDI Inbound -Step by Step Configuration
Quick Overview - B2B Scenario (End2End) with Seeburger EDI-Adapter
Configuring AS2 Adapters provided by B2B toolkit 1.0 - Part I
regards,
Harish -
Deleting the B2B configuration completely
Hi
Could you please tell me how to delete my confgiruation completely.
I have quiesced my configuration, purged it successfully.
But when I am trying to delete Agreement or anything, I am not able to delete anything.
Could you please tell me the order of deletion of the configuration. I want to import the config fresh again by deleteing completely the previous config.
Regards,
Praveena.Thanks Dheeraj and Anuj.
I want to delete only configuration related to my component, I don't want to purge everything.
I purged my configuration, b2b server is restarted. then When I am trying to delete my agreement, I am getting the below error.
There was an error deleting agreement.
Error -: AIP-16015: Delete of Internal Delivery Channel Usage failed with error: Cannot delete Internal Delivery Channel Usage because parent Trading Partner is in validated or deployed configuration.
Error -: AIP-16016: Cannot delete Internal Delivery Channel Usage because parent Trading Partner is in validated or deployed configuration.
Could you please tell me how to delete only my component related config?
Regards,
Praveena. -
CRM Adaptor Configuration - Get Organizations - cannot find any
I am using CRM 2013 and the Dynamics Adaptor
My understanding is that each CRM ONLINE represents a single organisation.
In any case I have not setup any CRM Organisations apart from the single instance of CRM online that I am subscribed to.
When I try to configure the adaptor I get the following message as it fails to find any organisations.
The user-id and password are correct
Any help welcome
JoeOK - I do appreciate your help.
I am making no progress !
To Review:
1. I setup a Windows Live account for
[email protected] - I can access O365 and CRM 2013 Online. This user is the system administrator in O365 and is assigned the system administrator role in CRM
2. I setup a Windows Live account for
[email protected] - this user can access O365 and CRM 2013 online. The user has been assigned the CRM role of system customizer.
3. I installed Dynamics NAV 2013 R2 on my laptop with all the required services - I can access that no problem
4. I enabled integration in NAV
5. I downloaded and installed the latest version of the "Connector for Microsoft Dynamics NAV.msi"
6. I run the Connector for Microsoft Dynamics -> Click on Adaptor Settings -> configure the connection with NAV -> Press "Test Settings" -> "Test Settings Succeeded"
7. I configure the Microsoft Dynamics CRM adaptor as follows:-
ATTEMPT #1
DOMAIN: crm.dynamics.com
User Name:
[email protected]
Password: (entered from copy and paste - ie same password always used for this user)
Port: (blank)
CRM Discovery Server: dev.crm.dynamics.com
Microsoft Dynamics Online: (box ticked)
Then click on "Configure Microsoft Dynamics CRM" -> press "Next"
CRM Discovery Server pre-populated with dev.crm.dynamics.com
CRM Online or Hosted Environment: box ticked
Domain: pre-populated with crm.dynamics.com
Account:
[email protected]
Password: (entered from copy and paste - ie same password always used for this user)
Press "Get Organizations" returns the message "Did not find any organizations" after several seconds
ATTEMPT #2
DOMAIN: crm4.dynamics.com
User Name:
[email protected]
Password: (entered from copy and paste - ie same password always used for this user)
Port: (blank)
CRM Discovery Server: disco.crm4.dynamics.com
Microsoft Dynamics Online: (box ticked)
Then click on "Configure Microsoft Dynamics CRM" -> press "Next"
CRM Discovery Server pre-populated with disco.crm4.dynamics.com
CRM Online or Hosted Environment: box ticked
Domain: pre-populated with crm4.dynamics.com
Account:
[email protected]
Password: (entered from copy and paste - ie same password always used for this user)
Press "Get Organizations" returns the message "Did not find any organizations" after several seconds
Joe
Maybe you are looking for
-
Regarding Virtual InfoCube with Services
Hi All, I have a general doubt regarding two Standard InfoCubes We have two InfoCubes FIGL_C01, FIGL_C01, based on which we have two Virtual InfoCubes with services. FIGL_VC1, FIGL_VC2. What is the necessity for maintaining these InfoProviders as we
-
How to convert dll to a java class file?
Hi folks: I have some DLLs in VB and C++ and I wanna to convert them to a java class file. Does anybody know if exist a sw or easy way to do it? thanks Autair
-
How to improve the performance of insert statement.
Hi All, I have one procedure and it inserts 40 million records into one table. As my current method taking long time to accomplish the task, Is there any mechanism to improve the performance Thanks in Advance.
-
How do I remove a DVD that is stuck in the drive on MacBook
I put a DVD in my drive to watch a movie and it is making a sound as if it cannot red it and my computer is not booting up.
-
Hello. I'm getting more and more excited about Solaris/X86 due to all the new development features in 10. So i've loaded up B63 (I've tried previous Express releases in the past). Problem is that I get 2 odd errors at startup. The first is complainin