#import "IHEConceptsService.h" #import #if TARGET_OS_IPHONE #import #endif @implementation IHEConceptsService_SOAPException - (id)init { if((self = [super init])) { message = 0; } return self; } - (void)dealloc { if(message != nil) [message release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:SOAPException"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.message != 0) { xmlAddChild(node, [self.message xmlNodeForDoc:node->doc elementName:@"message"]); } } /* elements */ @synthesize message; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_SOAPException *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_SOAPException *newObject = [[IHEConceptsService_SOAPException new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "message")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.message = newChild; } } } } @end @implementation IHEConceptsService_getActorByKeyword - (id)init { if((self = [super init])) { actorKeyword = 0; } return self; } - (void)dealloc { if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.actorKeyword != 0) { xmlAddChild(node, [self.actorKeyword xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } /* elements */ @synthesize actorKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getActorByKeyword *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getActorByKeyword *newObject = [[IHEConceptsService_getActorByKeyword new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actorKeyword = newChild; } } } } @end @implementation IHEConceptsService_auditModule - (id)init { if((self = [super init])) { lastModifierId = 0; } return self; } - (void)dealloc { if(lastModifierId != nil) [lastModifierId release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.lastModifierId != 0) { xmlAddChild(node, [self.lastModifierId xmlNodeForDoc:node->doc elementName:@"lastModifierId"]); } } /* elements */ @synthesize lastModifierId; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_auditModule *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_auditModule *newObject = [[IHEConceptsService_auditModule new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "lastModifierId")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.lastModifierId = newChild; } } } } @end @implementation IHEConceptsService_domain - (id)init { if((self = [super init])) { description = 0; id_ = 0; integrationProfilesForDP = [[NSMutableArray alloc] init]; keyword = 0; name = 0; } return self; } - (void)dealloc { if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(integrationProfilesForDP != nil) [integrationProfilesForDP release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.integrationProfilesForDP != 0) { for(IHEConceptsService_integrationProfile * child in self.integrationProfilesForDP) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"integrationProfilesForDP"]); } } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } } /* elements */ @synthesize description; @synthesize id_; @synthesize integrationProfilesForDP; - (void)addIntegrationProfilesForDP:(IHEConceptsService_integrationProfile *)toAdd { if(toAdd != nil) [integrationProfilesForDP addObject:toAdd]; } @synthesize keyword; @synthesize name; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_domain *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_domain *newObject = [[IHEConceptsService_domain new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfilesForDP")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfile class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.integrationProfilesForDP addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } } } } @end @implementation IHEConceptsService_integrationProfileStatusType - (id)init { if((self = [super init])) { description = 0; id_ = 0; keyword = 0; name = 0; } return self; } - (void)dealloc { if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } } /* elements */ @synthesize description; @synthesize id_; @synthesize keyword; @synthesize name; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_integrationProfileStatusType *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_integrationProfileStatusType *newObject = [[IHEConceptsService_integrationProfileStatusType new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } } } } @end @implementation IHEConceptsService_integrationProfileType - (id)init { if((self = [super init])) { description = 0; id_ = 0; integrationProfiles = [[NSMutableArray alloc] init]; keyword = 0; name = 0; } return self; } - (void)dealloc { if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(integrationProfiles != nil) [integrationProfiles release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.integrationProfiles != 0) { for(IHEConceptsService_integrationProfile * child in self.integrationProfiles) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"integrationProfiles"]); } } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } } /* elements */ @synthesize description; @synthesize id_; @synthesize integrationProfiles; - (void)addIntegrationProfiles:(IHEConceptsService_integrationProfile *)toAdd { if(toAdd != nil) [integrationProfiles addObject:toAdd]; } @synthesize keyword; @synthesize name; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_integrationProfileType *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_integrationProfileType *newObject = [[IHEConceptsService_integrationProfileType new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfiles")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfile class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.integrationProfiles addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } } } } @end @implementation IHEConceptsService_integrationProfile - (id)init { if((self = [super init])) { description = 0; domainsForDP = [[NSMutableArray alloc] init]; id_ = 0; integrationProfileStatusType = 0; integrationProfileTypes = [[NSMutableArray alloc] init]; keyword = 0; listOfActorIntegrationProfileOption = [[NSMutableArray alloc] init]; name = 0; toDisplay = 0; } return self; } - (void)dealloc { if(description != nil) [description release]; if(domainsForDP != nil) [domainsForDP release]; if(id_ != nil) [id_ release]; if(integrationProfileStatusType != nil) [integrationProfileStatusType release]; if(integrationProfileTypes != nil) [integrationProfileTypes release]; if(keyword != nil) [keyword release]; if(listOfActorIntegrationProfileOption != nil) [listOfActorIntegrationProfileOption release]; if(name != nil) [name release]; if(toDisplay != nil) [toDisplay release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.domainsForDP != 0) { for(IHEConceptsService_domain * child in self.domainsForDP) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"domainsForDP"]); } } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.integrationProfileStatusType != 0) { xmlAddChild(node, [self.integrationProfileStatusType xmlNodeForDoc:node->doc elementName:@"integrationProfileStatusType"]); } if(self.integrationProfileTypes != 0) { for(IHEConceptsService_integrationProfileType * child in self.integrationProfileTypes) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"integrationProfileTypes"]); } } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.listOfActorIntegrationProfileOption != 0) { for(IHEConceptsService_actorIntegrationProfileOption * child in self.listOfActorIntegrationProfileOption) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"listOfActorIntegrationProfileOption"]); } } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } if(self.toDisplay != 0) { xmlAddChild(node, [self.toDisplay xmlNodeForDoc:node->doc elementName:@"toDisplay"]); } } /* elements */ @synthesize description; @synthesize domainsForDP; - (void)addDomainsForDP:(IHEConceptsService_domain *)toAdd { if(toAdd != nil) [domainsForDP addObject:toAdd]; } @synthesize id_; @synthesize integrationProfileStatusType; @synthesize integrationProfileTypes; - (void)addIntegrationProfileTypes:(IHEConceptsService_integrationProfileType *)toAdd { if(toAdd != nil) [integrationProfileTypes addObject:toAdd]; } @synthesize keyword; @synthesize listOfActorIntegrationProfileOption; - (void)addListOfActorIntegrationProfileOption:(IHEConceptsService_actorIntegrationProfileOption *)toAdd { if(toAdd != nil) [listOfActorIntegrationProfileOption addObject:toAdd]; } @synthesize name; @synthesize toDisplay; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_integrationProfile *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_integrationProfile *newObject = [[IHEConceptsService_integrationProfile new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "domainsForDP")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_domain class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.domainsForDP addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileStatusType")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfileStatusType class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileStatusType = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileTypes")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfileType class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.integrationProfileTypes addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "listOfActorIntegrationProfileOption")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actorIntegrationProfileOption class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.listOfActorIntegrationProfileOption addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "toDisplay")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [USBoolean class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.toDisplay = newChild; } } } } @end @implementation IHEConceptsService_transactionLink - (id)init { if((self = [super init])) { fromActor = 0; id_ = 0; toActor = 0; transaction = 0; } return self; } - (void)dealloc { if(fromActor != nil) [fromActor release]; if(id_ != nil) [id_ release]; if(toActor != nil) [toActor release]; if(transaction != nil) [transaction release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.fromActor != 0) { xmlAddChild(node, [self.fromActor xmlNodeForDoc:node->doc elementName:@"fromActor"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.toActor != 0) { xmlAddChild(node, [self.toActor xmlNodeForDoc:node->doc elementName:@"toActor"]); } if(self.transaction != 0) { xmlAddChild(node, [self.transaction xmlNodeForDoc:node->doc elementName:@"transaction"]); } } /* elements */ @synthesize fromActor; @synthesize id_; @synthesize toActor; @synthesize transaction; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_transactionLink *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_transactionLink *newObject = [[IHEConceptsService_transactionLink new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "fromActor")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actor class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.fromActor = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "toActor")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actor class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.toActor = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "transaction")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transaction class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transaction = newChild; } } } } @end @implementation IHEConceptsService_transactionStatusType - (id)init { if((self = [super init])) { description = 0; id_ = 0; keyword = 0; name = 0; } return self; } - (void)dealloc { if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } } /* elements */ @synthesize description; @synthesize id_; @synthesize keyword; @synthesize name; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_transactionStatusType *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_transactionStatusType *newObject = [[IHEConceptsService_transactionStatusType new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } } } } @end @implementation IHEConceptsService_transaction - (id)init { if((self = [super init])) { description = 0; id_ = 0; keyword = 0; name = 0; profileLinks = [[NSMutableArray alloc] init]; reference = 0; transactionLinks = [[NSMutableArray alloc] init]; transactionStatusType = 0; } return self; } - (void)dealloc { if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; if(profileLinks != nil) [profileLinks release]; if(reference != nil) [reference release]; if(transactionLinks != nil) [transactionLinks release]; if(transactionStatusType != nil) [transactionStatusType release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } if(self.profileLinks != 0) { for(IHEConceptsService_profileLink * child in self.profileLinks) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"profileLinks"]); } } if(self.reference != 0) { xmlAddChild(node, [self.reference xmlNodeForDoc:node->doc elementName:@"reference"]); } if(self.transactionLinks != 0) { for(IHEConceptsService_transactionLink * child in self.transactionLinks) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"transactionLinks"]); } } if(self.transactionStatusType != 0) { xmlAddChild(node, [self.transactionStatusType xmlNodeForDoc:node->doc elementName:@"transactionStatusType"]); } } /* elements */ @synthesize description; @synthesize id_; @synthesize keyword; @synthesize name; @synthesize profileLinks; - (void)addProfileLinks:(IHEConceptsService_profileLink *)toAdd { if(toAdd != nil) [profileLinks addObject:toAdd]; } @synthesize reference; @synthesize transactionLinks; - (void)addTransactionLinks:(IHEConceptsService_transactionLink *)toAdd { if(toAdd != nil) [transactionLinks addObject:toAdd]; } @synthesize transactionStatusType; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_transaction *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_transaction *newObject = [[IHEConceptsService_transaction new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "profileLinks")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_profileLink class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.profileLinks addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "reference")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.reference = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionLinks")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transactionLink class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.transactionLinks addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionStatusType")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transactionStatusType class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionStatusType = newChild; } } } } @end @implementation IHEConceptsService_transactionOptionType - (id)init { if((self = [super init])) { description = 0; id_ = 0; keyword = 0; name = 0; } return self; } - (void)dealloc { if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } } /* elements */ @synthesize description; @synthesize id_; @synthesize keyword; @synthesize name; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_transactionOptionType *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_transactionOptionType *newObject = [[IHEConceptsService_transactionOptionType new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } } } } @end @implementation IHEConceptsService_profileLink - (id)init { if((self = [super init])) { actorIntegrationProfile = 0; id_ = 0; transaction = 0; transactionOptionType = 0; } return self; } - (void)dealloc { if(actorIntegrationProfile != nil) [actorIntegrationProfile release]; if(id_ != nil) [id_ release]; if(transaction != nil) [transaction release]; if(transactionOptionType != nil) [transactionOptionType release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.actorIntegrationProfile != 0) { xmlAddChild(node, [self.actorIntegrationProfile xmlNodeForDoc:node->doc elementName:@"actorIntegrationProfile"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.transaction != 0) { xmlAddChild(node, [self.transaction xmlNodeForDoc:node->doc elementName:@"transaction"]); } if(self.transactionOptionType != 0) { xmlAddChild(node, [self.transactionOptionType xmlNodeForDoc:node->doc elementName:@"transactionOptionType"]); } } /* elements */ @synthesize actorIntegrationProfile; @synthesize id_; @synthesize transaction; @synthesize transactionOptionType; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_profileLink *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_profileLink *newObject = [[IHEConceptsService_profileLink new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorIntegrationProfile")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actorIntegrationProfile class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actorIntegrationProfile = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "transaction")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transaction class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transaction = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionOptionType")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transactionOptionType class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionOptionType = newChild; } } } } @end @implementation IHEConceptsService_actorIntegrationProfile - (id)init { if((self = [super init])) { actor = 0; actorIntegrationProfileOption = [[NSMutableArray alloc] init]; id_ = 0; integrationProfile = 0; profileLinks = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(actor != nil) [actor release]; if(actorIntegrationProfileOption != nil) [actorIntegrationProfileOption release]; if(id_ != nil) [id_ release]; if(integrationProfile != nil) [integrationProfile release]; if(profileLinks != nil) [profileLinks release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.actor != 0) { xmlAddChild(node, [self.actor xmlNodeForDoc:node->doc elementName:@"actor"]); } if(self.actorIntegrationProfileOption != 0) { for(IHEConceptsService_actorIntegrationProfileOption * child in self.actorIntegrationProfileOption) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"actorIntegrationProfileOption"]); } } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.integrationProfile != 0) { xmlAddChild(node, [self.integrationProfile xmlNodeForDoc:node->doc elementName:@"integrationProfile"]); } if(self.profileLinks != 0) { for(IHEConceptsService_profileLink * child in self.profileLinks) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"profileLinks"]); } } } /* elements */ @synthesize actor; @synthesize actorIntegrationProfileOption; - (void)addActorIntegrationProfileOption:(IHEConceptsService_actorIntegrationProfileOption *)toAdd { if(toAdd != nil) [actorIntegrationProfileOption addObject:toAdd]; } @synthesize id_; @synthesize integrationProfile; @synthesize profileLinks; - (void)addProfileLinks:(IHEConceptsService_profileLink *)toAdd { if(toAdd != nil) [profileLinks addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_actorIntegrationProfile *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_actorIntegrationProfile *newObject = [[IHEConceptsService_actorIntegrationProfile new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actor")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actor class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actor = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "actorIntegrationProfileOption")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actorIntegrationProfileOption class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.actorIntegrationProfileOption addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfile")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfile class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfile = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "profileLinks")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_profileLink class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.profileLinks addObject:newChild]; } } } } @end @implementation IHEConceptsService_integrationProfileOption - (id)init { if((self = [super init])) { actorIntegrationProfileOption = [[NSMutableArray alloc] init]; description = 0; id_ = 0; keyword = 0; name = 0; reference = 0; toDisplay = 0; } return self; } - (void)dealloc { if(actorIntegrationProfileOption != nil) [actorIntegrationProfileOption release]; if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; if(reference != nil) [reference release]; if(toDisplay != nil) [toDisplay release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.actorIntegrationProfileOption != 0) { for(IHEConceptsService_actorIntegrationProfileOption * child in self.actorIntegrationProfileOption) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"actorIntegrationProfileOption"]); } } if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } if(self.reference != 0) { xmlAddChild(node, [self.reference xmlNodeForDoc:node->doc elementName:@"reference"]); } if(self.toDisplay != 0) { xmlAddChild(node, [self.toDisplay xmlNodeForDoc:node->doc elementName:@"toDisplay"]); } } /* elements */ @synthesize actorIntegrationProfileOption; - (void)addActorIntegrationProfileOption:(IHEConceptsService_actorIntegrationProfileOption *)toAdd { if(toAdd != nil) [actorIntegrationProfileOption addObject:toAdd]; } @synthesize description; @synthesize id_; @synthesize keyword; @synthesize name; @synthesize reference; @synthesize toDisplay; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_integrationProfileOption *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_integrationProfileOption *newObject = [[IHEConceptsService_integrationProfileOption new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorIntegrationProfileOption")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actorIntegrationProfileOption class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.actorIntegrationProfileOption addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "reference")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.reference = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "toDisplay")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [USBoolean class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.toDisplay = newChild; } } } } @end @implementation IHEConceptsService_actorIntegrationProfileOption - (id)init { if((self = [super init])) { actorIntegrationProfile = 0; id_ = 0; integrationProfileOption = 0; } return self; } - (void)dealloc { if(actorIntegrationProfile != nil) [actorIntegrationProfile release]; if(id_ != nil) [id_ release]; if(integrationProfileOption != nil) [integrationProfileOption release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.actorIntegrationProfile != 0) { xmlAddChild(node, [self.actorIntegrationProfile xmlNodeForDoc:node->doc elementName:@"actorIntegrationProfile"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.integrationProfileOption != 0) { xmlAddChild(node, [self.integrationProfileOption xmlNodeForDoc:node->doc elementName:@"integrationProfileOption"]); } } /* elements */ @synthesize actorIntegrationProfile; @synthesize id_; @synthesize integrationProfileOption; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_actorIntegrationProfileOption *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_actorIntegrationProfileOption *newObject = [[IHEConceptsService_actorIntegrationProfileOption new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorIntegrationProfile")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actorIntegrationProfile class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actorIntegrationProfile = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileOption")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfileOption class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileOption = newChild; } } } } @end @implementation IHEConceptsService_actor - (id)init { if((self = [super init])) { actorIntegrationProfileOption = [[NSMutableArray alloc] init]; combined = 0; description = 0; id_ = 0; keyword = 0; name = 0; toDisplay = 0; transactionLinksWhereActingAsReceiver = [[NSMutableArray alloc] init]; transactionLinksWhereActingAsSource = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(actorIntegrationProfileOption != nil) [actorIntegrationProfileOption release]; if(combined != nil) [combined release]; if(description != nil) [description release]; if(id_ != nil) [id_ release]; if(keyword != nil) [keyword release]; if(name != nil) [name release]; if(toDisplay != nil) [toDisplay release]; if(transactionLinksWhereActingAsReceiver != nil) [transactionLinksWhereActingAsReceiver release]; if(transactionLinksWhereActingAsSource != nil) [transactionLinksWhereActingAsSource release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { [super addAttributesToNode:node]; } - (void)addElementsToNode:(xmlNodePtr)node { [super addElementsToNode:node]; if(self.actorIntegrationProfileOption != 0) { for(IHEConceptsService_actorIntegrationProfileOption * child in self.actorIntegrationProfileOption) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"actorIntegrationProfileOption"]); } } if(self.combined != 0) { xmlAddChild(node, [self.combined xmlNodeForDoc:node->doc elementName:@"combined"]); } if(self.description != 0) { xmlAddChild(node, [self.description xmlNodeForDoc:node->doc elementName:@"description"]); } if(self.id_ != 0) { xmlAddChild(node, [self.id_ xmlNodeForDoc:node->doc elementName:@"id"]); } if(self.keyword != 0) { xmlAddChild(node, [self.keyword xmlNodeForDoc:node->doc elementName:@"keyword"]); } if(self.name != 0) { xmlAddChild(node, [self.name xmlNodeForDoc:node->doc elementName:@"name"]); } if(self.toDisplay != 0) { xmlAddChild(node, [self.toDisplay xmlNodeForDoc:node->doc elementName:@"toDisplay"]); } if(self.transactionLinksWhereActingAsReceiver != 0) { for(IHEConceptsService_transactionLink * child in self.transactionLinksWhereActingAsReceiver) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"transactionLinksWhereActingAsReceiver"]); } } if(self.transactionLinksWhereActingAsSource != 0) { for(IHEConceptsService_transactionLink * child in self.transactionLinksWhereActingAsSource) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"transactionLinksWhereActingAsSource"]); } } } /* elements */ @synthesize actorIntegrationProfileOption; - (void)addActorIntegrationProfileOption:(IHEConceptsService_actorIntegrationProfileOption *)toAdd { if(toAdd != nil) [actorIntegrationProfileOption addObject:toAdd]; } @synthesize combined; @synthesize description; @synthesize id_; @synthesize keyword; @synthesize name; @synthesize toDisplay; @synthesize transactionLinksWhereActingAsReceiver; - (void)addTransactionLinksWhereActingAsReceiver:(IHEConceptsService_transactionLink *)toAdd { if(toAdd != nil) [transactionLinksWhereActingAsReceiver addObject:toAdd]; } @synthesize transactionLinksWhereActingAsSource; - (void)addTransactionLinksWhereActingAsSource:(IHEConceptsService_transactionLink *)toAdd { if(toAdd != nil) [transactionLinksWhereActingAsSource addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_actor *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_actor *newObject = [[IHEConceptsService_actor new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { [super deserializeAttributesFromNode:cur]; } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { [super deserializeElementsFromNode:cur]; for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorIntegrationProfileOption")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actorIntegrationProfileOption class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.actorIntegrationProfileOption addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "combined")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [USBoolean class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.combined = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "description")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.description = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "id")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSNumber class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.id_ = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "keyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.keyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "name")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.name = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "toDisplay")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [USBoolean class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.toDisplay = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionLinksWhereActingAsReceiver")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transactionLink class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.transactionLinksWhereActingAsReceiver addObject:newChild]; } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionLinksWhereActingAsSource")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transactionLink class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.transactionLinksWhereActingAsSource addObject:newChild]; } } } } @end @implementation IHEConceptsService_getActorByKeywordResponse - (id)init { if((self = [super init])) { returnedActor = 0; } return self; } - (void)dealloc { if(returnedActor != nil) [returnedActor release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getActorByKeywordResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.returnedActor != 0) { xmlAddChild(node, [self.returnedActor xmlNodeForDoc:node->doc elementName:@"returnedActor"]); } } /* elements */ @synthesize returnedActor; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getActorByKeywordResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getActorByKeywordResponse *newObject = [[IHEConceptsService_getActorByKeywordResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "returnedActor")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actor class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.returnedActor = newChild; } } } } @end @implementation IHEConceptsService_getAllAIPO - (id)init { if((self = [super init])) { } return self; } - (void)dealloc { [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { } /* elements */ /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getAllAIPO *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getAllAIPO *newObject = [[IHEConceptsService_getAllAIPO new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { } @end @implementation IHEConceptsService_getAllAIPOResponse - (id)init { if((self = [super init])) { AIPO = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(AIPO != nil) [AIPO release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getAllAIPOResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.AIPO != 0) { for(IHEConceptsService_actorIntegrationProfileOption * child in self.AIPO) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"AIPO"]); } } } /* elements */ @synthesize AIPO; - (void)addAIPO:(IHEConceptsService_actorIntegrationProfileOption *)toAdd { if(toAdd != nil) [AIPO addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getAllAIPOResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getAllAIPOResponse *newObject = [[IHEConceptsService_getAllAIPOResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "AIPO")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_actorIntegrationProfileOption class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.AIPO addObject:newChild]; } } } } @end @implementation IHEConceptsService_getDomainByKeyword - (id)init { if((self = [super init])) { domainKeyword = 0; } return self; } - (void)dealloc { if(domainKeyword != nil) [domainKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.domainKeyword != 0) { xmlAddChild(node, [self.domainKeyword xmlNodeForDoc:node->doc elementName:@"domainKeyword"]); } } /* elements */ @synthesize domainKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getDomainByKeyword *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getDomainByKeyword *newObject = [[IHEConceptsService_getDomainByKeyword new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "domainKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.domainKeyword = newChild; } } } } @end @implementation IHEConceptsService_getDomainByKeywordResponse - (id)init { if((self = [super init])) { returnedDomain = 0; } return self; } - (void)dealloc { if(returnedDomain != nil) [returnedDomain release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getDomainByKeywordResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.returnedDomain != 0) { xmlAddChild(node, [self.returnedDomain xmlNodeForDoc:node->doc elementName:@"returnedDomain"]); } } /* elements */ @synthesize returnedDomain; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getDomainByKeywordResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getDomainByKeywordResponse *newObject = [[IHEConceptsService_getDomainByKeywordResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "returnedDomain")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_domain class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.returnedDomain = newChild; } } } } @end @implementation IHEConceptsService_getIntegrationProfileByKeyword - (id)init { if((self = [super init])) { integrationProfileKeyword = 0; } return self; } - (void)dealloc { if(integrationProfileKeyword != nil) [integrationProfileKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileKeyword != 0) { xmlAddChild(node, [self.integrationProfileKeyword xmlNodeForDoc:node->doc elementName:@"integrationProfileKeyword"]); } } /* elements */ @synthesize integrationProfileKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getIntegrationProfileByKeyword *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getIntegrationProfileByKeyword *newObject = [[IHEConceptsService_getIntegrationProfileByKeyword new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileKeyword = newChild; } } } } @end @implementation IHEConceptsService_getIntegrationProfileByKeywordResponse - (id)init { if((self = [super init])) { returnedIntegrationProfile = 0; } return self; } - (void)dealloc { if(returnedIntegrationProfile != nil) [returnedIntegrationProfile release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getIntegrationProfileByKeywordResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.returnedIntegrationProfile != 0) { xmlAddChild(node, [self.returnedIntegrationProfile xmlNodeForDoc:node->doc elementName:@"returnedIntegrationProfile"]); } } /* elements */ @synthesize returnedIntegrationProfile; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getIntegrationProfileByKeywordResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getIntegrationProfileByKeywordResponse *newObject = [[IHEConceptsService_getIntegrationProfileByKeywordResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "returnedIntegrationProfile")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfile class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.returnedIntegrationProfile = newChild; } } } } @end @implementation IHEConceptsService_getIntegrationProfileOptionByKeyword - (id)init { if((self = [super init])) { integrationProfileOptionKeyword = 0; } return self; } - (void)dealloc { if(integrationProfileOptionKeyword != nil) [integrationProfileOptionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileOptionKeyword != 0) { xmlAddChild(node, [self.integrationProfileOptionKeyword xmlNodeForDoc:node->doc elementName:@"integrationProfileOptionKeyword"]); } } /* elements */ @synthesize integrationProfileOptionKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getIntegrationProfileOptionByKeyword *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getIntegrationProfileOptionByKeyword *newObject = [[IHEConceptsService_getIntegrationProfileOptionByKeyword new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileOptionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileOptionKeyword = newChild; } } } } @end @implementation IHEConceptsService_getIntegrationProfileOptionByKeywordResponse - (id)init { if((self = [super init])) { returnedIntegrationProfileOption = 0; } return self; } - (void)dealloc { if(returnedIntegrationProfileOption != nil) [returnedIntegrationProfileOption release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getIntegrationProfileOptionByKeywordResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.returnedIntegrationProfileOption != 0) { xmlAddChild(node, [self.returnedIntegrationProfileOption xmlNodeForDoc:node->doc elementName:@"returnedIntegrationProfileOption"]); } } /* elements */ @synthesize returnedIntegrationProfileOption; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getIntegrationProfileOptionByKeywordResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getIntegrationProfileOptionByKeywordResponse *newObject = [[IHEConceptsService_getIntegrationProfileOptionByKeywordResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "returnedIntegrationProfileOption")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_integrationProfileOption class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.returnedIntegrationProfileOption = newChild; } } } } @end @implementation IHEConceptsService_getListOfAIP0ByTransactionForInitiators - (id)init { if((self = [super init])) { transactionKeyword = 0; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { xmlAddChild(node, [self.transactionKeyword xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } /* elements */ @synthesize transactionKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAIP0ByTransactionForInitiators *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAIP0ByTransactionForInitiators *newObject = [[IHEConceptsService_getListOfAIP0ByTransactionForInitiators new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionKeyword = newChild; } } } } @end @implementation IHEConceptsService_aipoContent - (id)init { if((self = [super init])) { actor = 0; integrationProfile = 0; option = 0; } return self; } - (void)dealloc { if(actor != nil) [actor release]; if(integrationProfile != nil) [integrationProfile release]; if(option != nil) [option release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.actor != 0) { xmlAddChild(node, [self.actor xmlNodeForDoc:node->doc elementName:@"actor"]); } if(self.integrationProfile != 0) { xmlAddChild(node, [self.integrationProfile xmlNodeForDoc:node->doc elementName:@"integrationProfile"]); } if(self.option != 0) { xmlAddChild(node, [self.option xmlNodeForDoc:node->doc elementName:@"option"]); } } /* elements */ @synthesize actor; @synthesize integrationProfile; @synthesize option; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_aipoContent *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_aipoContent *newObject = [[IHEConceptsService_aipoContent new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actor")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actor = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfile")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfile = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "option")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.option = newChild; } } } } @end @implementation IHEConceptsService_getListOfAIP0ByTransactionForInitiatorsResponse - (id)init { if((self = [super init])) { AIPO = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(AIPO != nil) [AIPO release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfAIP0ByTransactionForInitiatorsResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.AIPO != 0) { for(IHEConceptsService_aipoContent * child in self.AIPO) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"AIPO"]); } } } /* elements */ @synthesize AIPO; - (void)addAIPO:(IHEConceptsService_aipoContent *)toAdd { if(toAdd != nil) [AIPO addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAIP0ByTransactionForInitiatorsResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAIP0ByTransactionForInitiatorsResponse *newObject = [[IHEConceptsService_getListOfAIP0ByTransactionForInitiatorsResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "AIPO")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_aipoContent class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.AIPO addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfAIPOByTransactionForResponders - (id)init { if((self = [super init])) { transactionKeyword = 0; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { xmlAddChild(node, [self.transactionKeyword xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } /* elements */ @synthesize transactionKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAIPOByTransactionForResponders *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAIPOByTransactionForResponders *newObject = [[IHEConceptsService_getListOfAIPOByTransactionForResponders new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfAIPOByTransactionForRespondersResponse - (id)init { if((self = [super init])) { AIPO = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(AIPO != nil) [AIPO release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfAIPOByTransactionForRespondersResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.AIPO != 0) { for(IHEConceptsService_aipoContent * child in self.AIPO) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"AIPO"]); } } } /* elements */ @synthesize AIPO; - (void)addAIPO:(IHEConceptsService_aipoContent *)toAdd { if(toAdd != nil) [AIPO addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAIPOByTransactionForRespondersResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAIPOByTransactionForRespondersResponse *newObject = [[IHEConceptsService_getListOfAIPOByTransactionForRespondersResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "AIPO")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_aipoContent class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.AIPO addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfActorsForGivenDomain - (id)init { if((self = [super init])) { domainKeyword = 0; } return self; } - (void)dealloc { if(domainKeyword != nil) [domainKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.domainKeyword != 0) { xmlAddChild(node, [self.domainKeyword xmlNodeForDoc:node->doc elementName:@"domainKeyword"]); } } /* elements */ @synthesize domainKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfActorsForGivenDomain *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfActorsForGivenDomain *newObject = [[IHEConceptsService_getListOfActorsForGivenDomain new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "domainKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.domainKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfActorsForGivenDomainResponse - (id)init { if((self = [super init])) { actorKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfActorsForGivenDomainResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.actorKeyword != 0) { for(NSString * child in self.actorKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } } /* elements */ @synthesize actorKeyword; - (void)addActorKeyword:(NSString *)toAdd { if(toAdd != nil) [actorKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfActorsForGivenDomainResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfActorsForGivenDomainResponse *newObject = [[IHEConceptsService_getListOfActorsForGivenDomainResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.actorKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfActorsForGivenIntegrationProfile - (id)init { if((self = [super init])) { integrationProfileKeyword = 0; } return self; } - (void)dealloc { if(integrationProfileKeyword != nil) [integrationProfileKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileKeyword != 0) { xmlAddChild(node, [self.integrationProfileKeyword xmlNodeForDoc:node->doc elementName:@"integrationProfileKeyword"]); } } /* elements */ @synthesize integrationProfileKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfActorsForGivenIntegrationProfile *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfActorsForGivenIntegrationProfile *newObject = [[IHEConceptsService_getListOfActorsForGivenIntegrationProfile new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfActorsForGivenIntegrationProfileResponse - (id)init { if((self = [super init])) { actorKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfActorsForGivenIntegrationProfileResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.actorKeyword != 0) { for(NSString * child in self.actorKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } } /* elements */ @synthesize actorKeyword; - (void)addActorKeyword:(NSString *)toAdd { if(toAdd != nil) [actorKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfActorsForGivenIntegrationProfileResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfActorsForGivenIntegrationProfileResponse *newObject = [[IHEConceptsService_getListOfActorsForGivenIntegrationProfileResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.actorKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfActorsForGivenTransaction - (id)init { if((self = [super init])) { transactionKeyword = 0; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { xmlAddChild(node, [self.transactionKeyword xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } /* elements */ @synthesize transactionKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfActorsForGivenTransaction *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfActorsForGivenTransaction *newObject = [[IHEConceptsService_getListOfActorsForGivenTransaction new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfActorsForGivenTransactionResponse - (id)init { if((self = [super init])) { actorKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfActorsForGivenTransactionResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.actorKeyword != 0) { for(NSString * child in self.actorKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } } /* elements */ @synthesize actorKeyword; - (void)addActorKeyword:(NSString *)toAdd { if(toAdd != nil) [actorKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfActorsForGivenTransactionResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfActorsForGivenTransactionResponse *newObject = [[IHEConceptsService_getListOfActorsForGivenTransactionResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.actorKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfAllPossibleActors - (id)init { if((self = [super init])) { } return self; } - (void)dealloc { [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { } /* elements */ /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAllPossibleActors *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAllPossibleActors *newObject = [[IHEConceptsService_getListOfAllPossibleActors new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { } @end @implementation IHEConceptsService_getListOfAllPossibleActorsResponse - (id)init { if((self = [super init])) { actorKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfAllPossibleActorsResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.actorKeyword != 0) { for(NSString * child in self.actorKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } } /* elements */ @synthesize actorKeyword; - (void)addActorKeyword:(NSString *)toAdd { if(toAdd != nil) [actorKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAllPossibleActorsResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAllPossibleActorsResponse *newObject = [[IHEConceptsService_getListOfAllPossibleActorsResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.actorKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfAllPossibleIP - (id)init { if((self = [super init])) { } return self; } - (void)dealloc { [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { } /* elements */ /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAllPossibleIP *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAllPossibleIP *newObject = [[IHEConceptsService_getListOfAllPossibleIP new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { } @end @implementation IHEConceptsService_getListOfAllPossibleIPResponse - (id)init { if((self = [super init])) { integrationProfileKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(integrationProfileKeyword != nil) [integrationProfileKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfAllPossibleIPResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileKeyword != 0) { for(NSString * child in self.integrationProfileKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"integrationProfileKeyword"]); } } } /* elements */ @synthesize integrationProfileKeyword; - (void)addIntegrationProfileKeyword:(NSString *)toAdd { if(toAdd != nil) [integrationProfileKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfAllPossibleIPResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfAllPossibleIPResponse *newObject = [[IHEConceptsService_getListOfAllPossibleIPResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.integrationProfileKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfIPOForGivenActorAndIP - (id)init { if((self = [super init])) { integrationProfileKeyword = 0; actorKeyword = 0; } return self; } - (void)dealloc { if(integrationProfileKeyword != nil) [integrationProfileKeyword release]; if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileKeyword != 0) { xmlAddChild(node, [self.integrationProfileKeyword xmlNodeForDoc:node->doc elementName:@"integrationProfileKeyword"]); } if(self.actorKeyword != 0) { xmlAddChild(node, [self.actorKeyword xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } /* elements */ @synthesize integrationProfileKeyword; @synthesize actorKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfIPOForGivenActorAndIP *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfIPOForGivenActorAndIP *newObject = [[IHEConceptsService_getListOfIPOForGivenActorAndIP new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileKeyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actorKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfIPOForGivenActorAndIPResponse - (id)init { if((self = [super init])) { integrationProfileOptionKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(integrationProfileOptionKeyword != nil) [integrationProfileOptionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfIPOForGivenActorAndIPResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileOptionKeyword != 0) { for(NSString * child in self.integrationProfileOptionKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"integrationProfileOptionKeyword"]); } } } /* elements */ @synthesize integrationProfileOptionKeyword; - (void)addIntegrationProfileOptionKeyword:(NSString *)toAdd { if(toAdd != nil) [integrationProfileOptionKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfIPOForGivenActorAndIPResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfIPOForGivenActorAndIPResponse *newObject = [[IHEConceptsService_getListOfIPOForGivenActorAndIPResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileOptionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.integrationProfileOptionKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfInitiatorsForGivenTransaction - (id)init { if((self = [super init])) { transactionKeyword = 0; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { xmlAddChild(node, [self.transactionKeyword xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } /* elements */ @synthesize transactionKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfInitiatorsForGivenTransaction *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfInitiatorsForGivenTransaction *newObject = [[IHEConceptsService_getListOfInitiatorsForGivenTransaction new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfInitiatorsForGivenTransactionResponse - (id)init { if((self = [super init])) { initiatorKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(initiatorKeyword != nil) [initiatorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfInitiatorsForGivenTransactionResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.initiatorKeyword != 0) { for(NSString * child in self.initiatorKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"initiatorKeyword"]); } } } /* elements */ @synthesize initiatorKeyword; - (void)addInitiatorKeyword:(NSString *)toAdd { if(toAdd != nil) [initiatorKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfInitiatorsForGivenTransactionResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfInitiatorsForGivenTransactionResponse *newObject = [[IHEConceptsService_getListOfInitiatorsForGivenTransactionResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "initiatorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.initiatorKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfIntegrationProfilesForGivenDomain - (id)init { if((self = [super init])) { domainKeyword = 0; } return self; } - (void)dealloc { if(domainKeyword != nil) [domainKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.domainKeyword != 0) { xmlAddChild(node, [self.domainKeyword xmlNodeForDoc:node->doc elementName:@"domainKeyword"]); } } /* elements */ @synthesize domainKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfIntegrationProfilesForGivenDomain *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfIntegrationProfilesForGivenDomain *newObject = [[IHEConceptsService_getListOfIntegrationProfilesForGivenDomain new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "domainKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.domainKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfIntegrationProfilesForGivenDomainResponse - (id)init { if((self = [super init])) { integrationProfileKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(integrationProfileKeyword != nil) [integrationProfileKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfIntegrationProfilesForGivenDomainResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileKeyword != 0) { for(NSString * child in self.integrationProfileKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"integrationProfileKeyword"]); } } } /* elements */ @synthesize integrationProfileKeyword; - (void)addIntegrationProfileKeyword:(NSString *)toAdd { if(toAdd != nil) [integrationProfileKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfIntegrationProfilesForGivenDomainResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfIntegrationProfilesForGivenDomainResponse *newObject = [[IHEConceptsService_getListOfIntegrationProfilesForGivenDomainResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.integrationProfileKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfPossibleDomains - (id)init { if((self = [super init])) { } return self; } - (void)dealloc { [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { } /* elements */ /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfPossibleDomains *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfPossibleDomains *newObject = [[IHEConceptsService_getListOfPossibleDomains new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { } @end @implementation IHEConceptsService_getListOfPossibleDomainsResponse - (id)init { if((self = [super init])) { domainKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(domainKeyword != nil) [domainKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfPossibleDomainsResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.domainKeyword != 0) { for(NSString * child in self.domainKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"domainKeyword"]); } } } /* elements */ @synthesize domainKeyword; - (void)addDomainKeyword:(NSString *)toAdd { if(toAdd != nil) [domainKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfPossibleDomainsResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfPossibleDomainsResponse *newObject = [[IHEConceptsService_getListOfPossibleDomainsResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "domainKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.domainKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfRespondersForGivenTransaction - (id)init { if((self = [super init])) { transactionKeyword = 0; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { xmlAddChild(node, [self.transactionKeyword xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } /* elements */ @synthesize transactionKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfRespondersForGivenTransaction *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfRespondersForGivenTransaction *newObject = [[IHEConceptsService_getListOfRespondersForGivenTransaction new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfRespondersForGivenTransactionResponse - (id)init { if((self = [super init])) { responderKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(responderKeyword != nil) [responderKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfRespondersForGivenTransactionResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.responderKeyword != 0) { for(NSString * child in self.responderKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"responderKeyword"]); } } } /* elements */ @synthesize responderKeyword; - (void)addResponderKeyword:(NSString *)toAdd { if(toAdd != nil) [responderKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfRespondersForGivenTransactionResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfRespondersForGivenTransactionResponse *newObject = [[IHEConceptsService_getListOfRespondersForGivenTransactionResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "responderKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.responderKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenActor - (id)init { if((self = [super init])) { actorKeyword = 0; } return self; } - (void)dealloc { if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.actorKeyword != 0) { xmlAddChild(node, [self.actorKeyword xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } /* elements */ @synthesize actorKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenActor *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenActor *newObject = [[IHEConceptsService_getListOfTransactionsForGivenActor new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actorKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenActorAndIP - (id)init { if((self = [super init])) { integrationProfileKeyword = 0; actorKeyword = 0; } return self; } - (void)dealloc { if(integrationProfileKeyword != nil) [integrationProfileKeyword release]; if(actorKeyword != nil) [actorKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileKeyword != 0) { xmlAddChild(node, [self.integrationProfileKeyword xmlNodeForDoc:node->doc elementName:@"integrationProfileKeyword"]); } if(self.actorKeyword != 0) { xmlAddChild(node, [self.actorKeyword xmlNodeForDoc:node->doc elementName:@"actorKeyword"]); } } /* elements */ @synthesize integrationProfileKeyword; @synthesize actorKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenActorAndIP *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenActorAndIP *newObject = [[IHEConceptsService_getListOfTransactionsForGivenActorAndIP new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileKeyword = newChild; } if(xmlStrEqual(cur->name, (const xmlChar *) "actorKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.actorKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenActorAndIPResponse - (id)init { if((self = [super init])) { transactionKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfTransactionsForGivenActorAndIPResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { for(NSString * child in self.transactionKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } } /* elements */ @synthesize transactionKeyword; - (void)addTransactionKeyword:(NSString *)toAdd { if(toAdd != nil) [transactionKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenActorAndIPResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenActorAndIPResponse *newObject = [[IHEConceptsService_getListOfTransactionsForGivenActorAndIPResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.transactionKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenActorResponse - (id)init { if((self = [super init])) { transactionKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfTransactionsForGivenActorResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { for(NSString * child in self.transactionKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } } /* elements */ @synthesize transactionKeyword; - (void)addTransactionKeyword:(NSString *)toAdd { if(toAdd != nil) [transactionKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenActorResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenActorResponse *newObject = [[IHEConceptsService_getListOfTransactionsForGivenActorResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.transactionKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenDomain - (id)init { if((self = [super init])) { domainKeyword = 0; } return self; } - (void)dealloc { if(domainKeyword != nil) [domainKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.domainKeyword != 0) { xmlAddChild(node, [self.domainKeyword xmlNodeForDoc:node->doc elementName:@"domainKeyword"]); } } /* elements */ @synthesize domainKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenDomain *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenDomain *newObject = [[IHEConceptsService_getListOfTransactionsForGivenDomain new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "domainKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.domainKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenDomainResponse - (id)init { if((self = [super init])) { transactionKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfTransactionsForGivenDomainResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { for(NSString * child in self.transactionKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } } /* elements */ @synthesize transactionKeyword; - (void)addTransactionKeyword:(NSString *)toAdd { if(toAdd != nil) [transactionKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenDomainResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenDomainResponse *newObject = [[IHEConceptsService_getListOfTransactionsForGivenDomainResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.transactionKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenIP - (id)init { if((self = [super init])) { integrationProfileKeyword = 0; } return self; } - (void)dealloc { if(integrationProfileKeyword != nil) [integrationProfileKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.integrationProfileKeyword != 0) { xmlAddChild(node, [self.integrationProfileKeyword xmlNodeForDoc:node->doc elementName:@"integrationProfileKeyword"]); } } /* elements */ @synthesize integrationProfileKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenIP *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenIP *newObject = [[IHEConceptsService_getListOfTransactionsForGivenIP new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "integrationProfileKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.integrationProfileKeyword = newChild; } } } } @end @implementation IHEConceptsService_getListOfTransactionsForGivenIPResponse - (id)init { if((self = [super init])) { transactionKeyword = [[NSMutableArray alloc] init]; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getListOfTransactionsForGivenIPResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { for(NSString * child in self.transactionKeyword) { xmlAddChild(node, [child xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } } /* elements */ @synthesize transactionKeyword; - (void)addTransactionKeyword:(NSString *)toAdd { if(toAdd != nil) [transactionKeyword addObject:toAdd]; } /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getListOfTransactionsForGivenIPResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getListOfTransactionsForGivenIPResponse *newObject = [[IHEConceptsService_getListOfTransactionsForGivenIPResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; if(newChild != nil) [self.transactionKeyword addObject:newChild]; } } } } @end @implementation IHEConceptsService_getTransactionByKeyword - (id)init { if((self = [super init])) { transactionKeyword = 0; } return self; } - (void)dealloc { if(transactionKeyword != nil) [transactionKeyword release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { NSString * string = @"ws:" ; xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[ [string stringByAppendingString:((NSString *)elName) ] UTF8String], NULL); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.transactionKeyword != 0) { xmlAddChild(node, [self.transactionKeyword xmlNodeForDoc:node->doc elementName:@"transactionKeyword"]); } } /* elements */ @synthesize transactionKeyword; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getTransactionByKeyword *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getTransactionByKeyword *newObject = [[IHEConceptsService_getTransactionByKeyword new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "transactionKeyword")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [NSString class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.transactionKeyword = newChild; } } } } @end @implementation IHEConceptsService_getTransactionByKeywordResponse - (id)init { if((self = [super init])) { returnedTransaction = 0; } return self; } - (void)dealloc { if(returnedTransaction != nil) [returnedTransaction release]; [super dealloc]; } - (NSString *)nsPrefix { return @"IHEConceptsService"; } - (xmlNodePtr)xmlNodeForDoc:(xmlDocPtr)doc elementName:(NSString *)elName { xmlNodePtr root = xmlDocGetRootElement(doc); xmlNsPtr xsi = xmlSearchNs(doc, root, (const xmlChar*)"xsi"); xmlNodePtr node = xmlNewDocNode(doc, NULL, (const xmlChar*)[elName UTF8String], NULL); xmlSetNsProp(node, xsi, (const xmlChar*)"type", (const xmlChar*)"IHEConceptsService:getTransactionByKeywordResponse"); [self addAttributesToNode:node]; [self addElementsToNode:node]; return node; } - (void)addAttributesToNode:(xmlNodePtr)node { } - (void)addElementsToNode:(xmlNodePtr)node { if(self.returnedTransaction != 0) { xmlAddChild(node, [self.returnedTransaction xmlNodeForDoc:node->doc elementName:@"returnedTransaction"]); } } /* elements */ @synthesize returnedTransaction; /* attributes */ - (NSDictionary *)attributes { NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; return attributes; } + (IHEConceptsService_getTransactionByKeywordResponse *)deserializeNode:(xmlNodePtr)cur { IHEConceptsService_getTransactionByKeywordResponse *newObject = [[IHEConceptsService_getTransactionByKeywordResponse new] autorelease]; [newObject deserializeAttributesFromNode:cur]; [newObject deserializeElementsFromNode:cur]; return newObject; } - (void)deserializeAttributesFromNode:(xmlNodePtr)cur { } - (void)deserializeElementsFromNode:(xmlNodePtr)cur { for( cur = cur->children ; cur != NULL ; cur = cur->next ) { if(cur->type == XML_ELEMENT_NODE) { xmlChar *elementText = xmlNodeListGetString(cur->doc, cur->children, 1); NSString *elementString = nil; if(elementText != NULL) { elementString = [NSString stringWithCString:(char*)elementText encoding:NSUTF8StringEncoding]; [elementString self]; // avoid compiler warning for unused var xmlFree(elementText); } if(xmlStrEqual(cur->name, (const xmlChar *) "returnedTransaction")) { Class elementClass = nil; xmlChar *instanceType = xmlGetNsProp(cur, (const xmlChar *) "type", (const xmlChar *) "http://www.w3.org/2001/XMLSchema-instance"); if(instanceType == NULL) { elementClass = [IHEConceptsService_transaction class]; } else { NSString *elementTypeString = [NSString stringWithCString:(char*)instanceType encoding:NSUTF8StringEncoding]; NSArray *elementTypeArray = [elementTypeString componentsSeparatedByString:@":"]; NSString *elementClassString = nil; if([elementTypeArray count] > 1) { NSString *prefix = [elementTypeArray objectAtIndex:0]; NSString *localName = [elementTypeArray objectAtIndex:1]; xmlNsPtr elementNamespace = xmlSearchNs(cur->doc, cur, (const xmlChar *)[prefix UTF8String]); NSString *standardPrefix = [[USGlobals sharedInstance].wsdlStandardNamespaces objectForKey:[NSString stringWithCString:(char*)elementNamespace->href encoding:NSUTF8StringEncoding]]; elementClassString = [NSString stringWithFormat:@"%@_%@", standardPrefix, localName]; } else { elementClassString = [elementTypeString stringByReplacingOccurrencesOfString:@":" withString:@"_" options:0 range:NSMakeRange(0, [elementTypeString length])]; } elementClass = NSClassFromString(elementClassString); xmlFree(instanceType); } id newChild = [elementClass deserializeNode:cur]; self.returnedTransaction = newChild; } } } } @end @implementation IHEConceptsService + (void)initialize { [[USGlobals sharedInstance].wsdlStandardNamespaces setObject:@"xs" forKey:@"http://www.w3.org/2001/XMLSchema"]; [[USGlobals sharedInstance].wsdlStandardNamespaces setObject:@"IHEConceptsService" forKey:@"http://ws.tf.gazelle.ihe.net/"]; } + (IHEConceptsBinding *)IHEConceptsBinding { return [[[IHEConceptsBinding alloc] initWithAddress:@"http://127.0.0.1:8080/tm-dev-dev-TF-ejb/IHEConcepts"] autorelease]; } @end @implementation IHEConceptsBinding @synthesize address; @synthesize defaultTimeout; @synthesize logXMLInOut; @synthesize cookies; @synthesize authUsername; @synthesize authPassword; - (id)init { if((self = [super init])) { address = nil; cookies = nil; defaultTimeout = 10;//seconds logXMLInOut = NO; synchronousOperationComplete = NO; } return self; } - (id)initWithAddress:(NSString *)anAddress { if((self = [self init])) { self.address = [NSURL URLWithString:anAddress]; } return self; } - (void)addCookie:(NSHTTPCookie *)toAdd { if(toAdd != nil) { if(cookies == nil) cookies = [[NSMutableArray alloc] init]; [cookies addObject:toAdd]; } } - (IHEConceptsBindingResponse *)performSynchronousOperation:(IHEConceptsBindingOperation *)operation { synchronousOperationComplete = NO; [operation start]; // Now wait for response NSRunLoop *theRL = [NSRunLoop currentRunLoop]; while (!synchronousOperationComplete && [theRL runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]]); return operation.response; } - (void)performAsynchronousOperation:(IHEConceptsBindingOperation *)operation { [operation start]; } - (void) operation:(IHEConceptsBindingOperation *)operation completedWithResponse:(IHEConceptsBindingResponse *)response { synchronousOperationComplete = YES; } - (IHEConceptsBindingResponse *)getActorByKeywordUsingGetActorByKeyword:(IHEConceptsService_getActorByKeyword *)aGetActorByKeyword { return [self performSynchronousOperation:[[(IHEConceptsBinding_getActorByKeyword*)[IHEConceptsBinding_getActorByKeyword alloc] initWithBinding:self delegate:self getActorByKeyword:aGetActorByKeyword ] autorelease]]; } - (void)getActorByKeywordAsyncUsingGetActorByKeyword:(IHEConceptsService_getActorByKeyword *)aGetActorByKeyword delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getActorByKeyword*)[IHEConceptsBinding_getActorByKeyword alloc] initWithBinding:self delegate:responseDelegate getActorByKeyword:aGetActorByKeyword ] autorelease]]; } - (IHEConceptsBindingResponse *)getAllAIPOUsingGetAllAIPO:(IHEConceptsService_getAllAIPO *)aGetAllAIPO { return [self performSynchronousOperation:[[(IHEConceptsBinding_getAllAIPO*)[IHEConceptsBinding_getAllAIPO alloc] initWithBinding:self delegate:self getAllAIPO:aGetAllAIPO ] autorelease]]; } - (void)getAllAIPOAsyncUsingGetAllAIPO:(IHEConceptsService_getAllAIPO *)aGetAllAIPO delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getAllAIPO*)[IHEConceptsBinding_getAllAIPO alloc] initWithBinding:self delegate:responseDelegate getAllAIPO:aGetAllAIPO ] autorelease]]; } - (IHEConceptsBindingResponse *)getDomainByKeywordUsingGetDomainByKeyword:(IHEConceptsService_getDomainByKeyword *)aGetDomainByKeyword { return [self performSynchronousOperation:[[(IHEConceptsBinding_getDomainByKeyword*)[IHEConceptsBinding_getDomainByKeyword alloc] initWithBinding:self delegate:self getDomainByKeyword:aGetDomainByKeyword ] autorelease]]; } - (void)getDomainByKeywordAsyncUsingGetDomainByKeyword:(IHEConceptsService_getDomainByKeyword *)aGetDomainByKeyword delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getDomainByKeyword*)[IHEConceptsBinding_getDomainByKeyword alloc] initWithBinding:self delegate:responseDelegate getDomainByKeyword:aGetDomainByKeyword ] autorelease]]; } - (IHEConceptsBindingResponse *)getIntegrationProfileByKeywordUsingGetIntegrationProfileByKeyword:(IHEConceptsService_getIntegrationProfileByKeyword *)aGetIntegrationProfileByKeyword { return [self performSynchronousOperation:[[(IHEConceptsBinding_getIntegrationProfileByKeyword*)[IHEConceptsBinding_getIntegrationProfileByKeyword alloc] initWithBinding:self delegate:self getIntegrationProfileByKeyword:aGetIntegrationProfileByKeyword ] autorelease]]; } - (void)getIntegrationProfileByKeywordAsyncUsingGetIntegrationProfileByKeyword:(IHEConceptsService_getIntegrationProfileByKeyword *)aGetIntegrationProfileByKeyword delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getIntegrationProfileByKeyword*)[IHEConceptsBinding_getIntegrationProfileByKeyword alloc] initWithBinding:self delegate:responseDelegate getIntegrationProfileByKeyword:aGetIntegrationProfileByKeyword ] autorelease]]; } - (IHEConceptsBindingResponse *)getIntegrationProfileOptionByKeywordUsingGetIntegrationProfileOptionByKeyword:(IHEConceptsService_getIntegrationProfileOptionByKeyword *)aGetIntegrationProfileOptionByKeyword { return [self performSynchronousOperation:[[(IHEConceptsBinding_getIntegrationProfileOptionByKeyword*)[IHEConceptsBinding_getIntegrationProfileOptionByKeyword alloc] initWithBinding:self delegate:self getIntegrationProfileOptionByKeyword:aGetIntegrationProfileOptionByKeyword ] autorelease]]; } - (void)getIntegrationProfileOptionByKeywordAsyncUsingGetIntegrationProfileOptionByKeyword:(IHEConceptsService_getIntegrationProfileOptionByKeyword *)aGetIntegrationProfileOptionByKeyword delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getIntegrationProfileOptionByKeyword*)[IHEConceptsBinding_getIntegrationProfileOptionByKeyword alloc] initWithBinding:self delegate:responseDelegate getIntegrationProfileOptionByKeyword:aGetIntegrationProfileOptionByKeyword ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfAIP0ByTransactionForInitiatorsUsingGetListOfAIP0ByTransactionForInitiators:(IHEConceptsService_getListOfAIP0ByTransactionForInitiators *)aGetListOfAIP0ByTransactionForInitiators { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfAIP0ByTransactionForInitiators*)[IHEConceptsBinding_getListOfAIP0ByTransactionForInitiators alloc] initWithBinding:self delegate:self getListOfAIP0ByTransactionForInitiators:aGetListOfAIP0ByTransactionForInitiators ] autorelease]]; } - (void)getListOfAIP0ByTransactionForInitiatorsAsyncUsingGetListOfAIP0ByTransactionForInitiators:(IHEConceptsService_getListOfAIP0ByTransactionForInitiators *)aGetListOfAIP0ByTransactionForInitiators delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfAIP0ByTransactionForInitiators*)[IHEConceptsBinding_getListOfAIP0ByTransactionForInitiators alloc] initWithBinding:self delegate:responseDelegate getListOfAIP0ByTransactionForInitiators:aGetListOfAIP0ByTransactionForInitiators ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfAIPOByTransactionForRespondersUsingGetListOfAIPOByTransactionForResponders:(IHEConceptsService_getListOfAIPOByTransactionForResponders *)aGetListOfAIPOByTransactionForResponders { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfAIPOByTransactionForResponders*)[IHEConceptsBinding_getListOfAIPOByTransactionForResponders alloc] initWithBinding:self delegate:self getListOfAIPOByTransactionForResponders:aGetListOfAIPOByTransactionForResponders ] autorelease]]; } - (void)getListOfAIPOByTransactionForRespondersAsyncUsingGetListOfAIPOByTransactionForResponders:(IHEConceptsService_getListOfAIPOByTransactionForResponders *)aGetListOfAIPOByTransactionForResponders delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfAIPOByTransactionForResponders*)[IHEConceptsBinding_getListOfAIPOByTransactionForResponders alloc] initWithBinding:self delegate:responseDelegate getListOfAIPOByTransactionForResponders:aGetListOfAIPOByTransactionForResponders ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfActorsForGivenDomainUsingGetListOfActorsForGivenDomain:(IHEConceptsService_getListOfActorsForGivenDomain *)aGetListOfActorsForGivenDomain { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfActorsForGivenDomain*)[IHEConceptsBinding_getListOfActorsForGivenDomain alloc] initWithBinding:self delegate:self getListOfActorsForGivenDomain:aGetListOfActorsForGivenDomain ] autorelease]]; } - (void)getListOfActorsForGivenDomainAsyncUsingGetListOfActorsForGivenDomain:(IHEConceptsService_getListOfActorsForGivenDomain *)aGetListOfActorsForGivenDomain delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfActorsForGivenDomain*)[IHEConceptsBinding_getListOfActorsForGivenDomain alloc] initWithBinding:self delegate:responseDelegate getListOfActorsForGivenDomain:aGetListOfActorsForGivenDomain ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfActorsForGivenIntegrationProfileUsingGetListOfActorsForGivenIntegrationProfile:(IHEConceptsService_getListOfActorsForGivenIntegrationProfile *)aGetListOfActorsForGivenIntegrationProfile { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfActorsForGivenIntegrationProfile*)[IHEConceptsBinding_getListOfActorsForGivenIntegrationProfile alloc] initWithBinding:self delegate:self getListOfActorsForGivenIntegrationProfile:aGetListOfActorsForGivenIntegrationProfile ] autorelease]]; } - (void)getListOfActorsForGivenIntegrationProfileAsyncUsingGetListOfActorsForGivenIntegrationProfile:(IHEConceptsService_getListOfActorsForGivenIntegrationProfile *)aGetListOfActorsForGivenIntegrationProfile delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfActorsForGivenIntegrationProfile*)[IHEConceptsBinding_getListOfActorsForGivenIntegrationProfile alloc] initWithBinding:self delegate:responseDelegate getListOfActorsForGivenIntegrationProfile:aGetListOfActorsForGivenIntegrationProfile ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfActorsForGivenTransactionUsingGetListOfActorsForGivenTransaction:(IHEConceptsService_getListOfActorsForGivenTransaction *)aGetListOfActorsForGivenTransaction { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfActorsForGivenTransaction*)[IHEConceptsBinding_getListOfActorsForGivenTransaction alloc] initWithBinding:self delegate:self getListOfActorsForGivenTransaction:aGetListOfActorsForGivenTransaction ] autorelease]]; } - (void)getListOfActorsForGivenTransactionAsyncUsingGetListOfActorsForGivenTransaction:(IHEConceptsService_getListOfActorsForGivenTransaction *)aGetListOfActorsForGivenTransaction delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfActorsForGivenTransaction*)[IHEConceptsBinding_getListOfActorsForGivenTransaction alloc] initWithBinding:self delegate:responseDelegate getListOfActorsForGivenTransaction:aGetListOfActorsForGivenTransaction ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfAllPossibleActorsUsingGetListOfAllPossibleActors:(IHEConceptsService_getListOfAllPossibleActors *)aGetListOfAllPossibleActors { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfAllPossibleActors*)[IHEConceptsBinding_getListOfAllPossibleActors alloc] initWithBinding:self delegate:self getListOfAllPossibleActors:aGetListOfAllPossibleActors ] autorelease]]; } - (void)getListOfAllPossibleActorsAsyncUsingGetListOfAllPossibleActors:(IHEConceptsService_getListOfAllPossibleActors *)aGetListOfAllPossibleActors delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfAllPossibleActors*)[IHEConceptsBinding_getListOfAllPossibleActors alloc] initWithBinding:self delegate:responseDelegate getListOfAllPossibleActors:aGetListOfAllPossibleActors ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfAllPossibleIPUsingGetListOfAllPossibleIP:(IHEConceptsService_getListOfAllPossibleIP *)aGetListOfAllPossibleIP { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfAllPossibleIP*)[IHEConceptsBinding_getListOfAllPossibleIP alloc] initWithBinding:self delegate:self getListOfAllPossibleIP:aGetListOfAllPossibleIP ] autorelease]]; } - (void)getListOfAllPossibleIPAsyncUsingGetListOfAllPossibleIP:(IHEConceptsService_getListOfAllPossibleIP *)aGetListOfAllPossibleIP delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfAllPossibleIP*)[IHEConceptsBinding_getListOfAllPossibleIP alloc] initWithBinding:self delegate:responseDelegate getListOfAllPossibleIP:aGetListOfAllPossibleIP ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfIPOForGivenActorAndIPUsingGetListOfIPOForGivenActorAndIP:(IHEConceptsService_getListOfIPOForGivenActorAndIP *)aGetListOfIPOForGivenActorAndIP { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfIPOForGivenActorAndIP*)[IHEConceptsBinding_getListOfIPOForGivenActorAndIP alloc] initWithBinding:self delegate:self getListOfIPOForGivenActorAndIP:aGetListOfIPOForGivenActorAndIP ] autorelease]]; } - (void)getListOfIPOForGivenActorAndIPAsyncUsingGetListOfIPOForGivenActorAndIP:(IHEConceptsService_getListOfIPOForGivenActorAndIP *)aGetListOfIPOForGivenActorAndIP delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfIPOForGivenActorAndIP*)[IHEConceptsBinding_getListOfIPOForGivenActorAndIP alloc] initWithBinding:self delegate:responseDelegate getListOfIPOForGivenActorAndIP:aGetListOfIPOForGivenActorAndIP ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfInitiatorsForGivenTransactionUsingGetListOfInitiatorsForGivenTransaction:(IHEConceptsService_getListOfInitiatorsForGivenTransaction *)aGetListOfInitiatorsForGivenTransaction { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfInitiatorsForGivenTransaction*)[IHEConceptsBinding_getListOfInitiatorsForGivenTransaction alloc] initWithBinding:self delegate:self getListOfInitiatorsForGivenTransaction:aGetListOfInitiatorsForGivenTransaction ] autorelease]]; } - (void)getListOfInitiatorsForGivenTransactionAsyncUsingGetListOfInitiatorsForGivenTransaction:(IHEConceptsService_getListOfInitiatorsForGivenTransaction *)aGetListOfInitiatorsForGivenTransaction delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfInitiatorsForGivenTransaction*)[IHEConceptsBinding_getListOfInitiatorsForGivenTransaction alloc] initWithBinding:self delegate:responseDelegate getListOfInitiatorsForGivenTransaction:aGetListOfInitiatorsForGivenTransaction ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfIntegrationProfilesForGivenDomainUsingGetListOfIntegrationProfilesForGivenDomain:(IHEConceptsService_getListOfIntegrationProfilesForGivenDomain *)aGetListOfIntegrationProfilesForGivenDomain { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfIntegrationProfilesForGivenDomain*)[IHEConceptsBinding_getListOfIntegrationProfilesForGivenDomain alloc] initWithBinding:self delegate:self getListOfIntegrationProfilesForGivenDomain:aGetListOfIntegrationProfilesForGivenDomain ] autorelease]]; } - (void)getListOfIntegrationProfilesForGivenDomainAsyncUsingGetListOfIntegrationProfilesForGivenDomain:(IHEConceptsService_getListOfIntegrationProfilesForGivenDomain *)aGetListOfIntegrationProfilesForGivenDomain delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfIntegrationProfilesForGivenDomain*)[IHEConceptsBinding_getListOfIntegrationProfilesForGivenDomain alloc] initWithBinding:self delegate:responseDelegate getListOfIntegrationProfilesForGivenDomain:aGetListOfIntegrationProfilesForGivenDomain ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfPossibleDomainsUsingGetListOfPossibleDomains:(IHEConceptsService_getListOfPossibleDomains *)aGetListOfPossibleDomains { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfPossibleDomains*)[IHEConceptsBinding_getListOfPossibleDomains alloc] initWithBinding:self delegate:self getListOfPossibleDomains:aGetListOfPossibleDomains ] autorelease]]; } - (void)getListOfPossibleDomainsAsyncUsingGetListOfPossibleDomains:(IHEConceptsService_getListOfPossibleDomains *)aGetListOfPossibleDomains delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfPossibleDomains*)[IHEConceptsBinding_getListOfPossibleDomains alloc] initWithBinding:self delegate:responseDelegate getListOfPossibleDomains:aGetListOfPossibleDomains ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfRespondersForGivenTransactionUsingGetListOfRespondersForGivenTransaction:(IHEConceptsService_getListOfRespondersForGivenTransaction *)aGetListOfRespondersForGivenTransaction { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfRespondersForGivenTransaction*)[IHEConceptsBinding_getListOfRespondersForGivenTransaction alloc] initWithBinding:self delegate:self getListOfRespondersForGivenTransaction:aGetListOfRespondersForGivenTransaction ] autorelease]]; } - (void)getListOfRespondersForGivenTransactionAsyncUsingGetListOfRespondersForGivenTransaction:(IHEConceptsService_getListOfRespondersForGivenTransaction *)aGetListOfRespondersForGivenTransaction delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfRespondersForGivenTransaction*)[IHEConceptsBinding_getListOfRespondersForGivenTransaction alloc] initWithBinding:self delegate:responseDelegate getListOfRespondersForGivenTransaction:aGetListOfRespondersForGivenTransaction ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfTransactionsForGivenActorUsingGetListOfTransactionsForGivenActor:(IHEConceptsService_getListOfTransactionsForGivenActor *)aGetListOfTransactionsForGivenActor { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfTransactionsForGivenActor*)[IHEConceptsBinding_getListOfTransactionsForGivenActor alloc] initWithBinding:self delegate:self getListOfTransactionsForGivenActor:aGetListOfTransactionsForGivenActor ] autorelease]]; } - (void)getListOfTransactionsForGivenActorAsyncUsingGetListOfTransactionsForGivenActor:(IHEConceptsService_getListOfTransactionsForGivenActor *)aGetListOfTransactionsForGivenActor delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfTransactionsForGivenActor*)[IHEConceptsBinding_getListOfTransactionsForGivenActor alloc] initWithBinding:self delegate:responseDelegate getListOfTransactionsForGivenActor:aGetListOfTransactionsForGivenActor ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfTransactionsForGivenActorAndIPUsingGetListOfTransactionsForGivenActorAndIP:(IHEConceptsService_getListOfTransactionsForGivenActorAndIP *)aGetListOfTransactionsForGivenActorAndIP { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfTransactionsForGivenActorAndIP*)[IHEConceptsBinding_getListOfTransactionsForGivenActorAndIP alloc] initWithBinding:self delegate:self getListOfTransactionsForGivenActorAndIP:aGetListOfTransactionsForGivenActorAndIP ] autorelease]]; } - (void)getListOfTransactionsForGivenActorAndIPAsyncUsingGetListOfTransactionsForGivenActorAndIP:(IHEConceptsService_getListOfTransactionsForGivenActorAndIP *)aGetListOfTransactionsForGivenActorAndIP delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfTransactionsForGivenActorAndIP*)[IHEConceptsBinding_getListOfTransactionsForGivenActorAndIP alloc] initWithBinding:self delegate:responseDelegate getListOfTransactionsForGivenActorAndIP:aGetListOfTransactionsForGivenActorAndIP ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfTransactionsForGivenDomainUsingGetListOfTransactionsForGivenDomain:(IHEConceptsService_getListOfTransactionsForGivenDomain *)aGetListOfTransactionsForGivenDomain { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfTransactionsForGivenDomain*)[IHEConceptsBinding_getListOfTransactionsForGivenDomain alloc] initWithBinding:self delegate:self getListOfTransactionsForGivenDomain:aGetListOfTransactionsForGivenDomain ] autorelease]]; } - (void)getListOfTransactionsForGivenDomainAsyncUsingGetListOfTransactionsForGivenDomain:(IHEConceptsService_getListOfTransactionsForGivenDomain *)aGetListOfTransactionsForGivenDomain delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfTransactionsForGivenDomain*)[IHEConceptsBinding_getListOfTransactionsForGivenDomain alloc] initWithBinding:self delegate:responseDelegate getListOfTransactionsForGivenDomain:aGetListOfTransactionsForGivenDomain ] autorelease]]; } - (IHEConceptsBindingResponse *)getListOfTransactionsForGivenIPUsingGetListOfTransactionsForGivenIP:(IHEConceptsService_getListOfTransactionsForGivenIP *)aGetListOfTransactionsForGivenIP { return [self performSynchronousOperation:[[(IHEConceptsBinding_getListOfTransactionsForGivenIP*)[IHEConceptsBinding_getListOfTransactionsForGivenIP alloc] initWithBinding:self delegate:self getListOfTransactionsForGivenIP:aGetListOfTransactionsForGivenIP ] autorelease]]; } - (void)getListOfTransactionsForGivenIPAsyncUsingGetListOfTransactionsForGivenIP:(IHEConceptsService_getListOfTransactionsForGivenIP *)aGetListOfTransactionsForGivenIP delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getListOfTransactionsForGivenIP*)[IHEConceptsBinding_getListOfTransactionsForGivenIP alloc] initWithBinding:self delegate:responseDelegate getListOfTransactionsForGivenIP:aGetListOfTransactionsForGivenIP ] autorelease]]; } - (IHEConceptsBindingResponse *)getTransactionByKeywordUsingGetTransactionByKeyword:(IHEConceptsService_getTransactionByKeyword *)aGetTransactionByKeyword { return [self performSynchronousOperation:[[(IHEConceptsBinding_getTransactionByKeyword*)[IHEConceptsBinding_getTransactionByKeyword alloc] initWithBinding:self delegate:self getTransactionByKeyword:aGetTransactionByKeyword ] autorelease]]; } - (void)getTransactionByKeywordAsyncUsingGetTransactionByKeyword:(IHEConceptsService_getTransactionByKeyword *)aGetTransactionByKeyword delegate:(id)responseDelegate { [self performAsynchronousOperation: [[(IHEConceptsBinding_getTransactionByKeyword*)[IHEConceptsBinding_getTransactionByKeyword alloc] initWithBinding:self delegate:responseDelegate getTransactionByKeyword:aGetTransactionByKeyword ] autorelease]]; } - (void)sendHTTPCallUsingBody:(NSString *)outputBody soapAction:(NSString *)soapAction forOperation:(IHEConceptsBindingOperation *)operation { NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:self.address cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval:self.defaultTimeout]; NSData *bodyData = [outputBody dataUsingEncoding:NSUTF8StringEncoding]; if(cookies != nil) { [request setAllHTTPHeaderFields:[NSHTTPCookie requestHeaderFieldsWithCookies:cookies]]; } [request setValue:@"wsdl2objc" forHTTPHeaderField:@"User-Agent"]; [request setValue:soapAction forHTTPHeaderField:@"SOAPAction"]; [request setValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"]; [request setValue:[NSString stringWithFormat:@"%u", [bodyData length]] forHTTPHeaderField:@"Content-Length"]; [request setValue:self.address.host forHTTPHeaderField:@"Host"]; [request setHTTPMethod: @"POST"]; // set version 1.1 - how? [request setHTTPBody: bodyData]; if(self.logXMLInOut) { NSLog(@"OutputHeaders:\n%@", [request allHTTPHeaderFields]); NSLog(@"OutputBody:\n%@", outputBody); } NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:operation]; operation.urlConnection = connection; [connection release]; } - (void) dealloc { [address release]; [cookies release]; [super dealloc]; } @end @implementation IHEConceptsBindingOperation @synthesize binding; @synthesize response; @synthesize delegate; @synthesize responseData; @synthesize urlConnection; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)aDelegate { if (self = [super init]) { self.binding = aBinding; response = nil; self.delegate = aDelegate; self.responseData = nil; self.urlConnection = nil; } return self; } -(void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { if ([challenge previousFailureCount] == 0) { NSURLCredential *newCredential; newCredential=[NSURLCredential credentialWithUser:self.binding.authUsername password:self.binding.authPassword persistence:NSURLCredentialPersistenceForSession]; [[challenge sender] useCredential:newCredential forAuthenticationChallenge:challenge]; } else { [[challenge sender] cancelAuthenticationChallenge:challenge]; NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Authentication Error" forKey:NSLocalizedDescriptionKey]; NSError *authError = [NSError errorWithDomain:@"Connection Authentication" code:0 userInfo:userInfo]; [self connection:connection didFailWithError:authError]; } } - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)urlResponse { NSHTTPURLResponse *httpResponse; if ([urlResponse isKindOfClass:[NSHTTPURLResponse class]]) { httpResponse = (NSHTTPURLResponse *) urlResponse; } else { httpResponse = nil; } if(binding.logXMLInOut) { NSLog(@"ResponseStatus: %u\n", [httpResponse statusCode]); NSLog(@"ResponseHeaders:\n%@", [httpResponse allHeaderFields]); } NSMutableArray *cookies = [[NSHTTPCookie cookiesWithResponseHeaderFields:[httpResponse allHeaderFields] forURL:binding.address] mutableCopy]; binding.cookies = cookies; [cookies release]; if ([urlResponse.MIMEType rangeOfString:@"text/xml"].length == 0) { NSError *error = nil; [connection cancel]; if ([httpResponse statusCode] >= 400) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:[NSHTTPURLResponse localizedStringForStatusCode:[httpResponse statusCode]] forKey:NSLocalizedDescriptionKey]; error = [NSError errorWithDomain:@"IHEConceptsBindingResponseHTTP" code:[httpResponse statusCode] userInfo:userInfo]; } else { NSDictionary *userInfo = [NSDictionary dictionaryWithObject: [NSString stringWithFormat: @"Unexpected response MIME type to SOAP call:%@", urlResponse.MIMEType] forKey:NSLocalizedDescriptionKey]; error = [NSError errorWithDomain:@"IHEConceptsBindingResponseHTTP" code:1 userInfo:userInfo]; } [self connection:connection didFailWithError:error]; } } - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { if (responseData == nil) { responseData = [data mutableCopy]; } else { [responseData appendData:data]; } } - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { if (binding.logXMLInOut) { NSLog(@"ResponseError:\n%@", error); } response.error = error; [delegate operation:self completedWithResponse:response]; } - (void)dealloc { [binding release]; [response release]; delegate = nil; [responseData release]; [urlConnection release]; [super dealloc]; } @end @implementation IHEConceptsBinding_getActorByKeyword @synthesize getActorByKeyword; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getActorByKeyword:(IHEConceptsService_getActorByKeyword *)aGetActorByKeyword { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getActorByKeyword = aGetActorByKeyword; } return self; } - (void)dealloc { if(getActorByKeyword != nil) [getActorByKeyword release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getActorByKeyword != nil) [bodyElements setObject:getActorByKeyword forKey:@"getActorByKeyword"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getActorByKeywordResponse")) { IHEConceptsService_getActorByKeywordResponse *bodyObject = [IHEConceptsService_getActorByKeywordResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getAllAIPO @synthesize getAllAIPO; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getAllAIPO:(IHEConceptsService_getAllAIPO *)aGetAllAIPO { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getAllAIPO = aGetAllAIPO; } return self; } - (void)dealloc { if(getAllAIPO != nil) [getAllAIPO release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getAllAIPO != nil) [bodyElements setObject:getAllAIPO forKey:@"getAllAIPO"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getAllAIPOResponse")) { IHEConceptsService_getAllAIPOResponse *bodyObject = [IHEConceptsService_getAllAIPOResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getDomainByKeyword @synthesize getDomainByKeyword; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getDomainByKeyword:(IHEConceptsService_getDomainByKeyword *)aGetDomainByKeyword { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getDomainByKeyword = aGetDomainByKeyword; } return self; } - (void)dealloc { if(getDomainByKeyword != nil) [getDomainByKeyword release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getDomainByKeyword != nil) [bodyElements setObject:getDomainByKeyword forKey:@"getDomainByKeyword"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getDomainByKeywordResponse")) { IHEConceptsService_getDomainByKeywordResponse *bodyObject = [IHEConceptsService_getDomainByKeywordResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getIntegrationProfileByKeyword @synthesize getIntegrationProfileByKeyword; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getIntegrationProfileByKeyword:(IHEConceptsService_getIntegrationProfileByKeyword *)aGetIntegrationProfileByKeyword { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getIntegrationProfileByKeyword = aGetIntegrationProfileByKeyword; } return self; } - (void)dealloc { if(getIntegrationProfileByKeyword != nil) [getIntegrationProfileByKeyword release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getIntegrationProfileByKeyword != nil) [bodyElements setObject:getIntegrationProfileByKeyword forKey:@"getIntegrationProfileByKeyword"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getIntegrationProfileByKeywordResponse")) { IHEConceptsService_getIntegrationProfileByKeywordResponse *bodyObject = [IHEConceptsService_getIntegrationProfileByKeywordResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getIntegrationProfileOptionByKeyword @synthesize getIntegrationProfileOptionByKeyword; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getIntegrationProfileOptionByKeyword:(IHEConceptsService_getIntegrationProfileOptionByKeyword *)aGetIntegrationProfileOptionByKeyword { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getIntegrationProfileOptionByKeyword = aGetIntegrationProfileOptionByKeyword; } return self; } - (void)dealloc { if(getIntegrationProfileOptionByKeyword != nil) [getIntegrationProfileOptionByKeyword release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getIntegrationProfileOptionByKeyword != nil) [bodyElements setObject:getIntegrationProfileOptionByKeyword forKey:@"getIntegrationProfileOptionByKeyword"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getIntegrationProfileOptionByKeywordResponse")) { IHEConceptsService_getIntegrationProfileOptionByKeywordResponse *bodyObject = [IHEConceptsService_getIntegrationProfileOptionByKeywordResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfAIP0ByTransactionForInitiators @synthesize getListOfAIP0ByTransactionForInitiators; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfAIP0ByTransactionForInitiators:(IHEConceptsService_getListOfAIP0ByTransactionForInitiators *)aGetListOfAIP0ByTransactionForInitiators { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfAIP0ByTransactionForInitiators = aGetListOfAIP0ByTransactionForInitiators; } return self; } - (void)dealloc { if(getListOfAIP0ByTransactionForInitiators != nil) [getListOfAIP0ByTransactionForInitiators release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfAIP0ByTransactionForInitiators != nil) [bodyElements setObject:getListOfAIP0ByTransactionForInitiators forKey:@"getListOfAIP0ByTransactionForInitiators"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfAIP0ByTransactionForInitiatorsResponse")) { IHEConceptsService_getListOfAIP0ByTransactionForInitiatorsResponse *bodyObject = [IHEConceptsService_getListOfAIP0ByTransactionForInitiatorsResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfAIPOByTransactionForResponders @synthesize getListOfAIPOByTransactionForResponders; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfAIPOByTransactionForResponders:(IHEConceptsService_getListOfAIPOByTransactionForResponders *)aGetListOfAIPOByTransactionForResponders { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfAIPOByTransactionForResponders = aGetListOfAIPOByTransactionForResponders; } return self; } - (void)dealloc { if(getListOfAIPOByTransactionForResponders != nil) [getListOfAIPOByTransactionForResponders release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfAIPOByTransactionForResponders != nil) [bodyElements setObject:getListOfAIPOByTransactionForResponders forKey:@"getListOfAIPOByTransactionForResponders"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfAIPOByTransactionForRespondersResponse")) { IHEConceptsService_getListOfAIPOByTransactionForRespondersResponse *bodyObject = [IHEConceptsService_getListOfAIPOByTransactionForRespondersResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfActorsForGivenDomain @synthesize getListOfActorsForGivenDomain; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfActorsForGivenDomain:(IHEConceptsService_getListOfActorsForGivenDomain *)aGetListOfActorsForGivenDomain { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfActorsForGivenDomain = aGetListOfActorsForGivenDomain; } return self; } - (void)dealloc { if(getListOfActorsForGivenDomain != nil) [getListOfActorsForGivenDomain release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfActorsForGivenDomain != nil) [bodyElements setObject:getListOfActorsForGivenDomain forKey:@"getListOfActorsForGivenDomain"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfActorsForGivenDomainResponse")) { IHEConceptsService_getListOfActorsForGivenDomainResponse *bodyObject = [IHEConceptsService_getListOfActorsForGivenDomainResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfActorsForGivenIntegrationProfile @synthesize getListOfActorsForGivenIntegrationProfile; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfActorsForGivenIntegrationProfile:(IHEConceptsService_getListOfActorsForGivenIntegrationProfile *)aGetListOfActorsForGivenIntegrationProfile { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfActorsForGivenIntegrationProfile = aGetListOfActorsForGivenIntegrationProfile; } return self; } - (void)dealloc { if(getListOfActorsForGivenIntegrationProfile != nil) [getListOfActorsForGivenIntegrationProfile release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfActorsForGivenIntegrationProfile != nil) [bodyElements setObject:getListOfActorsForGivenIntegrationProfile forKey:@"getListOfActorsForGivenIntegrationProfile"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfActorsForGivenIntegrationProfileResponse")) { IHEConceptsService_getListOfActorsForGivenIntegrationProfileResponse *bodyObject = [IHEConceptsService_getListOfActorsForGivenIntegrationProfileResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfActorsForGivenTransaction @synthesize getListOfActorsForGivenTransaction; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfActorsForGivenTransaction:(IHEConceptsService_getListOfActorsForGivenTransaction *)aGetListOfActorsForGivenTransaction { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfActorsForGivenTransaction = aGetListOfActorsForGivenTransaction; } return self; } - (void)dealloc { if(getListOfActorsForGivenTransaction != nil) [getListOfActorsForGivenTransaction release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfActorsForGivenTransaction != nil) [bodyElements setObject:getListOfActorsForGivenTransaction forKey:@"getListOfActorsForGivenTransaction"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfActorsForGivenTransactionResponse")) { IHEConceptsService_getListOfActorsForGivenTransactionResponse *bodyObject = [IHEConceptsService_getListOfActorsForGivenTransactionResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfAllPossibleActors @synthesize getListOfAllPossibleActors; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfAllPossibleActors:(IHEConceptsService_getListOfAllPossibleActors *)aGetListOfAllPossibleActors { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfAllPossibleActors = aGetListOfAllPossibleActors; } return self; } - (void)dealloc { if(getListOfAllPossibleActors != nil) [getListOfAllPossibleActors release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfAllPossibleActors != nil) [bodyElements setObject:getListOfAllPossibleActors forKey:@"getListOfAllPossibleActors"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfAllPossibleActorsResponse")) { IHEConceptsService_getListOfAllPossibleActorsResponse *bodyObject = [IHEConceptsService_getListOfAllPossibleActorsResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfAllPossibleIP @synthesize getListOfAllPossibleIP; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfAllPossibleIP:(IHEConceptsService_getListOfAllPossibleIP *)aGetListOfAllPossibleIP { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfAllPossibleIP = aGetListOfAllPossibleIP; } return self; } - (void)dealloc { if(getListOfAllPossibleIP != nil) [getListOfAllPossibleIP release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfAllPossibleIP != nil) [bodyElements setObject:getListOfAllPossibleIP forKey:@"getListOfAllPossibleIP"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfAllPossibleIPResponse")) { IHEConceptsService_getListOfAllPossibleIPResponse *bodyObject = [IHEConceptsService_getListOfAllPossibleIPResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfIPOForGivenActorAndIP @synthesize getListOfIPOForGivenActorAndIP; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfIPOForGivenActorAndIP:(IHEConceptsService_getListOfIPOForGivenActorAndIP *)aGetListOfIPOForGivenActorAndIP { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfIPOForGivenActorAndIP = aGetListOfIPOForGivenActorAndIP; } return self; } - (void)dealloc { if(getListOfIPOForGivenActorAndIP != nil) [getListOfIPOForGivenActorAndIP release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfIPOForGivenActorAndIP != nil) [bodyElements setObject:getListOfIPOForGivenActorAndIP forKey:@"getListOfIPOForGivenActorAndIP"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfIPOForGivenActorAndIPResponse")) { IHEConceptsService_getListOfIPOForGivenActorAndIPResponse *bodyObject = [IHEConceptsService_getListOfIPOForGivenActorAndIPResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfInitiatorsForGivenTransaction @synthesize getListOfInitiatorsForGivenTransaction; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfInitiatorsForGivenTransaction:(IHEConceptsService_getListOfInitiatorsForGivenTransaction *)aGetListOfInitiatorsForGivenTransaction { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfInitiatorsForGivenTransaction = aGetListOfInitiatorsForGivenTransaction; } return self; } - (void)dealloc { if(getListOfInitiatorsForGivenTransaction != nil) [getListOfInitiatorsForGivenTransaction release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfInitiatorsForGivenTransaction != nil) [bodyElements setObject:getListOfInitiatorsForGivenTransaction forKey:@"getListOfInitiatorsForGivenTransaction"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfInitiatorsForGivenTransactionResponse")) { IHEConceptsService_getListOfInitiatorsForGivenTransactionResponse *bodyObject = [IHEConceptsService_getListOfInitiatorsForGivenTransactionResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfIntegrationProfilesForGivenDomain @synthesize getListOfIntegrationProfilesForGivenDomain; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfIntegrationProfilesForGivenDomain:(IHEConceptsService_getListOfIntegrationProfilesForGivenDomain *)aGetListOfIntegrationProfilesForGivenDomain { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfIntegrationProfilesForGivenDomain = aGetListOfIntegrationProfilesForGivenDomain; } return self; } - (void)dealloc { if(getListOfIntegrationProfilesForGivenDomain != nil) [getListOfIntegrationProfilesForGivenDomain release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfIntegrationProfilesForGivenDomain != nil) [bodyElements setObject:getListOfIntegrationProfilesForGivenDomain forKey:@"getListOfIntegrationProfilesForGivenDomain"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfIntegrationProfilesForGivenDomainResponse")) { IHEConceptsService_getListOfIntegrationProfilesForGivenDomainResponse *bodyObject = [IHEConceptsService_getListOfIntegrationProfilesForGivenDomainResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfPossibleDomains @synthesize getListOfPossibleDomains; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfPossibleDomains:(IHEConceptsService_getListOfPossibleDomains *)aGetListOfPossibleDomains { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfPossibleDomains = aGetListOfPossibleDomains; } return self; } - (void)dealloc { if(getListOfPossibleDomains != nil) [getListOfPossibleDomains release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfPossibleDomains != nil) [bodyElements setObject:getListOfPossibleDomains forKey:@"getListOfPossibleDomains"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfPossibleDomainsResponse")) { IHEConceptsService_getListOfPossibleDomainsResponse *bodyObject = [IHEConceptsService_getListOfPossibleDomainsResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfRespondersForGivenTransaction @synthesize getListOfRespondersForGivenTransaction; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfRespondersForGivenTransaction:(IHEConceptsService_getListOfRespondersForGivenTransaction *)aGetListOfRespondersForGivenTransaction { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfRespondersForGivenTransaction = aGetListOfRespondersForGivenTransaction; } return self; } - (void)dealloc { if(getListOfRespondersForGivenTransaction != nil) [getListOfRespondersForGivenTransaction release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfRespondersForGivenTransaction != nil) [bodyElements setObject:getListOfRespondersForGivenTransaction forKey:@"getListOfRespondersForGivenTransaction"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfRespondersForGivenTransactionResponse")) { IHEConceptsService_getListOfRespondersForGivenTransactionResponse *bodyObject = [IHEConceptsService_getListOfRespondersForGivenTransactionResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfTransactionsForGivenActor @synthesize getListOfTransactionsForGivenActor; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfTransactionsForGivenActor:(IHEConceptsService_getListOfTransactionsForGivenActor *)aGetListOfTransactionsForGivenActor { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfTransactionsForGivenActor = aGetListOfTransactionsForGivenActor; } return self; } - (void)dealloc { if(getListOfTransactionsForGivenActor != nil) [getListOfTransactionsForGivenActor release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfTransactionsForGivenActor != nil) [bodyElements setObject:getListOfTransactionsForGivenActor forKey:@"getListOfTransactionsForGivenActor"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfTransactionsForGivenActorReponse")) { IHEConceptsService_getListOfTransactionsForGivenActorResponse *bodyObject = [IHEConceptsService_getListOfTransactionsForGivenActorResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfTransactionsForGivenActorAndIP @synthesize getListOfTransactionsForGivenActorAndIP; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfTransactionsForGivenActorAndIP:(IHEConceptsService_getListOfTransactionsForGivenActorAndIP *)aGetListOfTransactionsForGivenActorAndIP { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfTransactionsForGivenActorAndIP = aGetListOfTransactionsForGivenActorAndIP; } return self; } - (void)dealloc { if(getListOfTransactionsForGivenActorAndIP != nil) [getListOfTransactionsForGivenActorAndIP release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfTransactionsForGivenActorAndIP != nil) [bodyElements setObject:getListOfTransactionsForGivenActorAndIP forKey:@"getListOfTransactionsForGivenActorAndIP"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfTransactionsForGivenActorAndIPResponse")) { IHEConceptsService_getListOfTransactionsForGivenActorAndIPResponse *bodyObject = [IHEConceptsService_getListOfTransactionsForGivenActorAndIPResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfTransactionsForGivenDomain @synthesize getListOfTransactionsForGivenDomain; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfTransactionsForGivenDomain:(IHEConceptsService_getListOfTransactionsForGivenDomain *)aGetListOfTransactionsForGivenDomain { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfTransactionsForGivenDomain = aGetListOfTransactionsForGivenDomain; } return self; } - (void)dealloc { if(getListOfTransactionsForGivenDomain != nil) [getListOfTransactionsForGivenDomain release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfTransactionsForGivenDomain != nil) [bodyElements setObject:getListOfTransactionsForGivenDomain forKey:@"getListOfTransactionsForGivenDomain"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfTransactionsForGivenDomainResponse")) { IHEConceptsService_getListOfTransactionsForGivenDomainResponse *bodyObject = [IHEConceptsService_getListOfTransactionsForGivenDomainResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getListOfTransactionsForGivenIP @synthesize getListOfTransactionsForGivenIP; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getListOfTransactionsForGivenIP:(IHEConceptsService_getListOfTransactionsForGivenIP *)aGetListOfTransactionsForGivenIP { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getListOfTransactionsForGivenIP = aGetListOfTransactionsForGivenIP; } return self; } - (void)dealloc { if(getListOfTransactionsForGivenIP != nil) [getListOfTransactionsForGivenIP release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getListOfTransactionsForGivenIP != nil) [bodyElements setObject:getListOfTransactionsForGivenIP forKey:@"getListOfTransactionsForGivenIP"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getListOfTransactionsForGivenIPResponse")) { IHEConceptsService_getListOfTransactionsForGivenIPResponse *bodyObject = [IHEConceptsService_getListOfTransactionsForGivenIPResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end @implementation IHEConceptsBinding_getTransactionByKeyword @synthesize getTransactionByKeyword; - (id)initWithBinding:(IHEConceptsBinding *)aBinding delegate:(id)responseDelegate getTransactionByKeyword:(IHEConceptsService_getTransactionByKeyword *)aGetTransactionByKeyword { if((self = [super initWithBinding:aBinding delegate:responseDelegate])) { self.getTransactionByKeyword = aGetTransactionByKeyword; } return self; } - (void)dealloc { if(getTransactionByKeyword != nil) [getTransactionByKeyword release]; [super dealloc]; } - (void)main { [response autorelease]; response = [IHEConceptsBindingResponse new]; IHEConceptsBinding_envelope *envelope = [IHEConceptsBinding_envelope sharedInstance]; NSMutableDictionary *headerElements = nil; headerElements = [NSMutableDictionary dictionary]; NSMutableDictionary *bodyElements = nil; bodyElements = [NSMutableDictionary dictionary]; if(getTransactionByKeyword != nil) [bodyElements setObject:getTransactionByKeyword forKey:@"getTransactionByKeyword"]; NSString *operationXMLString = [envelope serializedFormUsingHeaderElements:headerElements bodyElements:bodyElements]; [binding sendHTTPCallUsingBody:operationXMLString soapAction:@"" forOperation:self]; } - (void)connectionDidFinishLoading:(NSURLConnection *)connection { if (responseData != nil && delegate != nil) { xmlDocPtr doc; xmlNodePtr cur; if (binding.logXMLInOut) { NSLog(@"ResponseBody:\n%@", [[[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding] autorelease]); } doc = xmlParseMemory([responseData bytes], [responseData length]); if (doc == NULL) { NSDictionary *userInfo = [NSDictionary dictionaryWithObject:@"Errors while parsing returned XML" forKey:NSLocalizedDescriptionKey]; response.error = [NSError errorWithDomain:@"IHEConceptsBindingResponseXML" code:1 userInfo:userInfo]; [delegate operation:self completedWithResponse:response]; } else { cur = xmlDocGetRootElement(doc); cur = cur->children; for( ; cur != NULL ; cur = cur->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(cur->name, (const xmlChar *) "Body")) { NSMutableArray *responseBodyParts = [NSMutableArray array]; xmlNodePtr bodyNode; for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) { if(cur->type == XML_ELEMENT_NODE) { if(xmlStrEqual(bodyNode->name, (const xmlChar *) "getTransactionByKeywordResponse")) { IHEConceptsService_getTransactionByKeywordResponse *bodyObject = [IHEConceptsService_getTransactionByKeywordResponse deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } else if (xmlStrEqual(bodyNode->ns->prefix, (const xmlChar *) "soap") && xmlStrEqual(bodyNode->name, (const xmlChar *) "Fault")) { SOAPFault *bodyObject = [SOAPFault deserializeNode:bodyNode]; //NSAssert1(bodyObject != nil, @"Errors while parsing body %s", bodyNode->name); if (bodyObject != nil) [responseBodyParts addObject:bodyObject]; } } } response.bodyParts = responseBodyParts; } } } xmlFreeDoc(doc); } xmlCleanupParser(); [delegate operation:self completedWithResponse:response]; } } @end static IHEConceptsBinding_envelope *IHEConceptsBindingSharedEnvelopeInstance = nil; @implementation IHEConceptsBinding_envelope + (IHEConceptsBinding_envelope *)sharedInstance { if(IHEConceptsBindingSharedEnvelopeInstance == nil) { IHEConceptsBindingSharedEnvelopeInstance = [IHEConceptsBinding_envelope new]; } return IHEConceptsBindingSharedEnvelopeInstance; } - (NSString *)serializedFormUsingHeaderElements:(NSDictionary *)headerElements bodyElements:(NSDictionary *)bodyElements { xmlDocPtr doc; doc = xmlNewDoc((const xmlChar*)XML_DEFAULT_VERSION); if (doc == NULL) { NSLog(@"Error creating the xml document tree"); return @""; } xmlNodePtr root = xmlNewDocNode(doc, NULL, (const xmlChar*)"Envelope", NULL); xmlDocSetRootElement(doc, root); xmlNsPtr soapEnvelopeNs = xmlNewNs(root, (const xmlChar*)"http://schemas.xmlsoap.org/soap/envelope/", (const xmlChar*)"soap"); xmlSetNs(root, soapEnvelopeNs); xmlNsPtr xslNs = xmlNewNs(root, (const xmlChar*)"http://www.w3.org/1999/XSL/Transform", (const xmlChar*)"xsl"); xmlNewNs(root, (const xmlChar*)"http://www.w3.org/2001/XMLSchema-instance", (const xmlChar*)"xsi"); xmlNewNsProp(root, xslNs, (const xmlChar*)"version", (const xmlChar*)"1.0"); xmlNewNs(root, (const xmlChar*)"http://www.w3.org/2001/XMLSchema", (const xmlChar*)"xs"); xmlNewNs(root, (const xmlChar*)"http://ws.tf.gazelle.ihe.net/", (const xmlChar*)"ws"); xmlNewNs(root, (const xmlChar*)"http://ws.tf.gazelle.ihe.net/", (const xmlChar*)"IHEConceptsService"); if((headerElements != nil) && ([headerElements count] > 0)) { xmlNodePtr headerNode = xmlNewDocNode(doc, soapEnvelopeNs, (const xmlChar*)"Header", NULL); xmlAddChild(root, headerNode); for(NSString *key in [headerElements allKeys]) { id header = [headerElements objectForKey:key]; xmlAddChild(headerNode, [header xmlNodeForDoc:doc elementName:key]); } } if((bodyElements != nil) && ([bodyElements count] > 0)) { xmlNodePtr bodyNode = xmlNewDocNode(doc, soapEnvelopeNs, (const xmlChar*)"Body", NULL); xmlAddChild(root, bodyNode); for(NSString *key in [bodyElements allKeys]) { id body = [bodyElements objectForKey:key]; xmlAddChild(bodyNode, [body xmlNodeForDoc:doc elementName:key]); } } xmlChar *buf; int size; xmlDocDumpFormatMemory(doc, &buf, &size, 1); NSString *serializedForm = [NSString stringWithCString:(const char*)buf encoding:NSUTF8StringEncoding]; xmlFree(buf); xmlFreeDoc(doc); return serializedForm; } @end @implementation IHEConceptsBindingResponse @synthesize headers; @synthesize bodyParts; @synthesize error; - (id)init { if((self = [super init])) { headers = nil; bodyParts = nil; error = nil; } return self; } -(void)dealloc { self.headers = nil; self.bodyParts = nil; self.error = nil; [super dealloc]; } @end