cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Contract Generation

former_member906139
Active Participant
0 Kudos

Hi All,

I am facing problem with E-Sourcing application.

when we upload any word document in system it gave below error.

There is problem with contract generation web service.

But contract generation web sevice is working fine.

When searched for this got following troubleshooting steps ( which are basic steps)

Steps for troubleshooting:

1. Log into the "System" login for the specific customer.

2. Go to System Properties.

3. Look for the property called "contractgen.serviceurl".

4. Copy the whole URL in this property (ends in asmx)

5. Open a new browser and paste the URL from step 4.

This should open a WordService page. If you get a page not found error, then the service needs to be restarted.

My WordService page is opening. Hence no help here.

Next step is only to Create CSS message to SAP.

But before that if anyone had encounterd this problem before then please let me know how to proceed here.

Also when restarted WebLogic server, in C:/fci/logs we can fingd one error as follows.

Startting word service instance.....

12/4/2008 4:02:20 PM local3 ERROR class=Global.asax.cs;sessionid=fciSessionId;username=fciUserId;server=wasserver;method=Application_Error;exception=System.Xml.Schema.XmlSchemaException: The global attribute 'http://www.w3.org/XML/1998/namespace:lang' has already been declared.| at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)| at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)| at System.Xml.Schema.BaseProcessor.AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)| at System.Xml.Schema.Compiler.Prepare(XmlSchema schema, Boolean cleanup)| at System.Xml.Schema.XmlSchemaSet.Compile()| at System.Xml.Serialization.XmlSchemas.Compile(ValidationEventHandler handler, Boolean fullCompile)| at System.Web.Services.Description.SchemaCompiler.Compile(XmlSchemas schemas)| at System.Web.Services.Description.WebServicesInteroperability.AnalyzeDescription(ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations)| at System.Web.Services.Description.WebServicesInteroperability.CheckConformance(WsiProfiles claims, ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations)| at ASP.defaultwsdlhelpgenerator_aspx.Page_Load(Object sender, EventArgs e) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\DefaultWsdlHelpGenerator.aspx:line 1439| at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)| at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)| at System.Web.UI.Control.OnLoad(EventArgs e)| at System.Web.UI.Control.LoadRecursive()| at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint);stacktrace= at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e)| at System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity)| at System.Xml.Schema.BaseProcessor.AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)| at System.Xml.Schema.Compiler.Prepare(XmlSchema schema, Boolean cleanup)| at System.Xml.Schema.XmlSchemaSet.Compile()| at System.Xml.Serialization.XmlSchemas.Compile(ValidationEventHandler handler, Boolean fullCompile)| at System.Web.Services.Description.SchemaCompiler.Compile(XmlSchemas schemas)| at System.Web.Services.Description.WebServicesInteroperability.AnalyzeDescription(ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations)| at System.Web.Services.Description.WebServicesInteroperability.CheckConformance(WsiProfiles claims, ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations)| at ASP.defaultwsdlhelpgenerator_aspx.Page_Load(Object sender, EventArgs e) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\DefaultWsdlHelpGenerator.aspx:line 1439| at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)| at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)| at System.Web.UI.Control.OnLoad(EventArgs e)| at System.Web.UI.Control.LoadRecursive()| at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Unexpected error happened in the application.

So please advice here.

Regards,

Abhay

Accepted Solutions (1)

Accepted Solutions (1)

tridip_chakraborthy
Contributor
0 Kudos

Hi Abhay

Please check SAP Note 1011267 - FAQ - Questions about Contract Gen

There is a clause in the note for the error mentioned by you. There is a solution where SAP can help you if yours is a hosted environment.

If yours is a On-premise,you can restart the Contract Generation Webservice, due to some bad data going thru

Download the note, you will find the details that I have mentioned below

Problem statement

Question: There is an error that states "There is a problem with the

Contract Generation web service. Please contact your syustem

administrator

Solution

This error indicates that the contract gen server is not running. This can

happen when bad data is passed through the server. The operations group at

SAP can restart this for you. Contact Support to have this initiated

Let me know if this has helped you

Cheers

tridip

Please award points for useful answers

Answers (2)

Answers (2)

Former Member
0 Kudos

Go to the installation guide of the version that your e-sourcing app is running, ensure that the steps that listed under "Contract Generation" have been performed. i.e. MS IIS and ASP.NET installed properly, MS Word installed properly, etc.

Without the above, you cannot run Contract Generation.

Former Member
0 Kudos

Hi Abhay,

Jeff is right we also had the similar Issue where we tried to restart the Contract Gen Server and installed the Windows patches required for the Word Service and our issue was resolved.

Thanks

Kanchan

former_member906139
Active Participant
0 Kudos

Thanks for your reply....

I will check this with Hosting...