Skip to main content


 

Symptoms


In K2 Studio, when clicking on the "Browse" button for Content Types in the SharePoint List Items wizard, the following error is received:

"Server did not recognize the value of HTTP Header SOAPAction: SourceCode.SharePoint.WebServices/GetListDetail2."

Details:
System.Web.Services

at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Objectt] parameters)
at SourceCode.SharePoint.WebServices.K2SPLists.GetListDetail2(String listName, Boolean includeObjects, Boolean includeCollections, Boolean includeLongOperations)
at SourceCode.Workflow.SharePoint.Common.Lists.GetOnlineList(String listTitle, Boolean includeObjects, Boolean includeCollections, Boolean includeLongOperations, CredentialCache CredCache)
at SourceCode.Workflow.Wizards.SharePoint.ListItems.SettingsPage.CheckContentType(K2SPList selectedList, Boolean populateCT, Boolean checkCTEnabled, Boolean showMessage)
at SourceCode.Workflow.Wizards.SharePoint.ListItems.SettingsPage._btnGetContentType_Click(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Booleanand handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Booleanand handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Booleanand handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSGand msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.ShowDialog()
at SourceCode.Workflow.VisualDesigners.ProcessDesigner.RunWizard(IPropertyWizardd] wizardsToRun, Objectt] wizardsInitializeArguments, IK2Objectt] parents, Boolean delayedRun, Point dropPoint, Boolean mustCanConfigureInstance, Boolean showPropertiesOnNoGUI)
 

Diagnoses


This kind of error often indicates a mismatch of versions between K2 components. In this case, the customer was using K2 blackpearl 4.6.6 in SharePoint 2010 and K2 Studio 4.6.8 (4.12060.1600.0).
 

Resolution

It is not supported to use K2 components of different versions together. Your K2 Studio version will need to match your K2 blackpearl host server version, and your K2 for SharePoint 2010 components version.
Either upgrade your K2 blackpearl environment to 4.6.8, or use K2 Studio 4.6.6.




 
Be the first to reply!

Reply