Having upgraded to Prizm 3.00r1, my (C#) applications using the northbound SOAP interface are failing.
I have regenerated the client proxy code from the WSDL files and can successfully call methods on the Version, Customer and Server interfaces, but any call to a method on the Network interface generates the following exception:
java.rmi.RemoteException: Northbound Interface Not Available.; nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Invalid Service Name: Canopy.Prizm.NorthboundInterface at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse( SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke( String methodName, Object[] parameters)
The key message here is
java.rmi.RemoteException: Invalid Service Name: Canopy.Prizm.NorthboundInterface
Have you seen this problem? If so, how did you work around it?
Here is what our c# code looks like. Let me know if this helps or if someone ever converts something like this to PHP because we could use it…
using System; using System.Net; using System.Data; using System.Configuration; using System.Collections; using System.Collections.Generic; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Security.Cryptography.X509Certificates; using CustomerIfService; using ServerIfService; using NetworkIfService; using LogEventIfService;
public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { _textBoxSearchParam.Focus(); if (!IsPostBack) { ViewState[“SelectMethod”] = _odsCustomerGridData.SelectMethod; } else { _odsCustomerGridData.SelectMethod = ViewState[“SelectMethod”].ToString(); } }
The problem is not related to the certificate, we nailed that issue with the previous version.
Curiously, we only have trouble with NetworkIfService. The other interfaces work fine.
If your code can successfully call NetworkIfService.getPrizmElementSearchFields (just picking the simplest method) then I'd like to have a look at it.
Dave.
How did you resolve the certificate issue?
I continue to get errors that point directly (according to MSDN) to issues with certificates, but changing soap:address information did not change anything. Something dealing with certificates... still trying to invoke a simple GetAllCustomers() using VBScript & SOAP and having authority issues.