Problem relating SEFS

Hi
i m trying to create a flat file schema using wm.b2b.edi.SEFParse service in webmethods6.5 and the input given are as follows

SEFFileName : D:\WebMethods\IntegrationServer\packages\WmEDI\pub\SEFS\X12\2000.SEF
EDIDocName:850
version:2000
targetSchema:EDI_trying.X12
targetPackage:EDI_trying
targetDictionary:EDI_trying.X12:dic_test

when i try to run to run my service
EDI_trying.Flow_Service:generate_edi which contain wm.b2b.edi.SEFParse
than i m getting java.lang.NullPointerException
can anyone help me out ?

Hi,
The null pointer exception is due to wrong value to the input field ‘targetSchema’. The input value you have provided is only the folder path and it does not include the schema name. Please change the input value for the field targetSchema to EDI_trying.X12:testSchema(for example) instead of EDI_trying.X12 and you should get rid of the exception.

Other points to be noted

  1. The dictionary should be created before you run the service. Even a empty dictionary will do. You will get an error message ‘Unable to find Flat File Dictionary: Default.X12:testDictionary’, if the target dictionary ‘Default.X12:testDictionary’ is not present.
  2. You get an ClassCastException if you miss the dictionary name and give only the folder path for input field ‘targetDictionary’.

Hope this will help you and please revert back if it does not.

Thanks
Bhaskar

Thank U Bhaskar
I have done as u have said and now its working fine

Hi
i m trying to create a flat file schema using wm.b2b.edi.SEFParse service in webmethods6.5 Developer and the input given are as follows

SEFFileName : D:\WebMethods\IntegrationServer\packages\WmEDI\pub\SEFS\TRADACOMS\TRAD98.SEF
EDIDocName:INVOIC
version:98
targetSchema:EDI_trying.X12:tradacomSchema
targetPackage:EDI_trying
targetDictionary:EDI_trying.X12:tradacom_dic

i have also created empty dictionary as mentioned above
when i try to run my service named as
EDI_trying.Flow_Service:tradacom_edi

i m getting “[FFP.0000.0002] Transaction set not defined: INVOIC” error
can anyone help me out what is prob and how to overcome this ?

Hi frds,

i m trying to create a flat file schema using wm.b2b.edi.SEFParse service in webmethods6.5 Developer while execute the SEFParse service I am getting error like

com.wm.ff.parse.SEFFormatException: [FFP.0000.0027] Unable to parse Transaction set 823: [FFP.0013.0008] Configuration error: [FFP.0013.0007] Missing sef file packages/WmEDI/config/tradhdr.SEF for standard TRADACOMS

I think , I need a package WmEDI_6-5_Fix7. I don’t know exactly
can anyone help me out

HI,

Hi frds,

i m trying to create a flat file schema using wm.b2b.edi.SEFParse service in webmethods6.5 Developer while execute the SEFParse service I am getting error like

com.wm.ff.parse.SEFFormatException: [FFP.0000.0027] Unable to parse Transaction set 850: [FFP.0013.0008] Configuration error: [FFP.0013.0007] Missing sef file packages/WmEDI/config/tradhdr.SEF for standard TRADACOMS

can anyone help me out

Aziz

What files you currently see in your envioronment under folder?

IntegrationServer/packages/WmEDI/config

Make sure you have the TRADACOM related .sef file in your old 6.5 environment.

You may search in the Empower or request SAG if they can provide the sef file.

HTH,
RMG

sorry,
but i am not using the 6.5…i am using 8.2. i have never used that version, actually i copied the same problem from the forum & i did not see the version…

and also i have reinstalled both wmedi & wmeditn packages just to make sure if is there any proble related to packages installation, i have taken both the packages from a system of my n/w in which same service is working fine…please help me
Regards & thanks
Aziz

Why do you have to use SEFparse service in the 8.2 environment…Can you explain what you are trying to do installing any EDI doc types if yes what standards…

You can create EDI doc types from WmEDI home page (deprecated) or MWS thru in the 8.2 env.

Please dont mess up moving packages from other IS version to IS8.2…you have to use EDI Module 8.0.1 assuming you did standard Installation via SUM (update manager)

HTH,
RMG