> Could you define "bombing out"?
old term means the same as crash the ASP page gives the error:-
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Index.asp, line 959
Invalid class string
> Also post the structure of your .net class. ie the class without the actual
> code inside the functions, just the class definitions, function definitions
> etc.
Imports Microsoft.VisualBasic
Imports System
Imports System.IO
Imports System.Net
Imports System.Configuration
Imports System.Xml
Imports System.Xml.XPath
Imports System.Runtime.InteropServices
<ProgId("TLDOTNETGDS.Galileo")> _
<Microsoft.VisualBasic.ComClass(ComHeader.CLSID_GALILEO,
ComHeader.INFID_GALILEO, ComHeader.EVEID_GALILEO)> _
Partial Public Class Galileo
Inherits com.cendant.copyws.XmlSelect
Public ReadOnly Property Requests() As String
Public ReadOnly Property Responses() As String
Public Property GlobalConn() As String
Public Property DepartureAirport() As String
Public Property DestinationAirport() As String
Public Property DepartureDate() As Date
Public Property ReturnDate() As Date
Public Property Airline() As String
Public Property Seats() As String
Public Property CabinClass() As String
Public Property JourneyType() As String
Public Property Duration() As Integer
Public Sub New()
Public Sub Initialise(ByVal Conn As String)
Public Sub Initialise(ByVal Username As String, _
ByVal Password As String, _
ByVal Profile As String, _
ByVal Url As String, _
ByVal Debug As String)
Public Sub ClearLogs()
Public Function SendXml(ByVal request As String) As XmlElement
Public Function SendXmlOnSession(ByVal request As String) As
XmlElement
Public Sub CloseSession()
Public Function SuperBBRequest() As XmlDocument
Public Function SuperBBSearch() As XmlDocument
Public Function FareSearch() As XmlDocument
Public Function GetFareRules(ByVal strLineNumber As String) As
XmlDocument
Public Function AirAvailability() As XmlDocument
End Class
Aidy - 20 Dec 2007 15:22 GMT
Two things. First have you registered the component using regasm?
http://msdn2.microsoft.com/en-us/library/ms753058.aspx
Secondly, I don't think you'll get your functions that return things like
XmlElement etc working as there is no COM equivalent for the recipient code
to use. Things like int, string etc will be mapped from .net to COM for
you, but complex structures aren't possible.
>> Could you define "bombing out"?
> old term means the same as crash the ASP page gives the error:-
[quoted text clipped - 73 lines]
> Public Function AirAvailability() As XmlDocument
> End Class